POST api/Enquiry/ExchangeRate

Request Information

URI Parameters

None.

Body Parameters

ExchangeRequest
NameDescriptionTypeAdditional information
SourceCurrency

string

None.

DestinationCurrency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceCurrency": "sample string 1",
  "DestinationCurrency": "sample string 2"
}

application/xml, text/xml

Sample:
<ExchangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <DestinationCurrency>sample string 2</DestinationCurrency>
  <SourceCurrency>sample string 1</SourceCurrency>
</ExchangeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ExchangeResponse
NameDescriptionTypeAdditional information
CurrentRate

decimal number

None.

SourceCurrency

string

None.

DestinationCurrency

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CurrentRate": 1.1,
  "SourceCurrency": "sample string 2",
  "DestinationCurrency": "sample string 3",
  "ResponseCode": "sample string 4"
}

application/xml, text/xml

Sample:
<ExchangeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <CurrentRate>1.1</CurrentRate>
  <DestinationCurrency>sample string 3</DestinationCurrency>
  <ResponseCode>sample string 4</ResponseCode>
  <SourceCurrency>sample string 2</SourceCurrency>
</ExchangeResponse>