POST api/v1/currency/get-cross-border-rate
Request Information
URI Parameters
None.
Body Parameters
GetCrossBorderRateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceCountryId | string |
None. |
|
| DestinationCountryId | string |
None. |
|
| SourceCurrency | string |
None. |
|
| DestinationCurrency | string |
None. |
|
| Amount | decimal number |
None. |
|
| RequestId | string |
Required Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9._|/-]+$)) |
|
| CountryId | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SourceCountryId": "sample string 1",
"DestinationCountryId": "sample string 2",
"SourceCurrency": "sample string 3",
"DestinationCurrency": "sample string 4",
"Amount": 5.0,
"RequestId": "sample string 6",
"CountryId": "sample string 7"
}
application/xml, text/xml
Sample:
<GetCrossBorderRateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.FIBridge.CoreObject.DataTransferObjects"> <CountryId>sample string 7</CountryId> <RequestId>sample string 6</RequestId> <Amount>5</Amount> <DestinationCountryId>sample string 2</DestinationCountryId> <DestinationCurrency>sample string 4</DestinationCurrency> <SourceCountryId>sample string 1</SourceCountryId> <SourceCurrency>sample string 3</SourceCurrency> </GetCrossBorderRateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.