POST api/JobPosts/GetCurrencyExchangeRateAPI
Request Information
URI Parameters
None.
Body Parameters
CurrencyClass| Name | Description | Type | Additional information |
|---|---|---|---|
| fromCurrency | string |
None. |
|
| toCurrency | string |
None. |
|
| amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"fromCurrency": "sample string 1",
"toCurrency": "sample string 2",
"amount": 3.0
}
application/xml, text/xml
Sample:
<CurrencyClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models"> <amount>3</amount> <fromCurrency>sample string 1</fromCurrency> <toCurrency>sample string 2</toCurrency> </CurrencyClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
decimal numberResponse Formats
application/json, text/json
Sample:
1.0
application/xml, text/xml
Sample:
<decimal xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</decimal>