POST api/Enquiry/MultipleExchangeRate
Request Information
URI Parameters
None.
Body Parameters
GetChangeRates| Name | Description | Type | Additional information |
|---|---|---|---|
| Currencies | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Currencies": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<GetChangeRates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
<Currencies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Currencies>
</GetChangeRates>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ExchangeRates| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | string |
None. |
|
| Rates | Collection of ExchangeRateResp |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": "sample string 1",
"Rates": [
{
"CurrencyName": "sample string 1",
"Buy": 2.0,
"Sell": 3.0
},
{
"CurrencyName": "sample string 1",
"Buy": 2.0,
"Sell": 3.0
}
]
}
application/xml, text/xml
Sample:
<ExchangeRates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
<Rates>
<ExchangeRateResp>
<Buy>2</Buy>
<CurrencyName>sample string 1</CurrencyName>
<Sell>3</Sell>
</ExchangeRateResp>
<ExchangeRateResp>
<Buy>2</Buy>
<CurrencyName>sample string 1</CurrencyName>
<Sell>3</Sell>
</ExchangeRateResp>
</Rates>
<ResponseCode>sample string 1</ResponseCode>
</ExchangeRates>