POST api/{apiVersion}/Exchange/Request
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiVersion | string |
None. |
Body Parameters
ExchangeRequestName | Description | Type | Additional information |
---|---|---|---|
FromAmount | decimal number |
None. |
|
FromCurrency | string |
None. |
|
ToAmount | decimal number |
None. |
|
ToCurrency | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FromAmount": 1.0, "FromCurrency": "sample string 2", "ToAmount": 3.0, "ToCurrency": "sample string 4" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseOfExchangeResponseName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Message | string |
None. |
|
Response | ExchangeResponse |
None. |
|
IsShowMessage | boolean |
None. |
|
IsShowRateAndReview | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "Message": "sample string 2", "Response": { "Amount": 1.0, "OriginalParity": 2.0, "MarginParity": 3.0, "ExchangeAmount": 4.0, "ExchangeCurrency": "sample string 5" }, "IsShowMessage": true, "IsShowRateAndReview": true }