POST api/Conversion
Documentation for 'GetConversion'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2", "Amount": 1.0, "ConvertFrom": "sample string 2", "ConvertTo": "sample string 3" }
application/xml, text/xml
Sample:
<ConversionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkyPartnerLiteAPI.Controllers"> <Amount>1</Amount> <ConvertFrom>sample string 2</ConvertFrom> <ConvertTo>sample string 3</ConvertTo> <Password>sample string 2</Password> <Username>sample string 1</Username> </ConversionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "ConvertedAmount": 2.0, "ConversionRate": 3.0, "Message": "sample string 4" }
application/xml, text/xml
Sample:
<ConversionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkyPartnerLiteAPI.Controllers"> <Code>sample string 1</Code> <ConversionRate>3</ConversionRate> <ConvertedAmount>2</ConvertedAmount> <Message>sample string 4</Message> </ConversionResponse>