GET api/ExchangeRate/GetExchangeRate?companyId={companyId}¤cyGp={currencyGp}&serie={serie}&date={date}&amount={amount}
GET api/[controller]/[companyId]/[currencyGp]/[series]/[date]/[amount]
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
|
| currencyGp | string |
Required |
|
| serie | integer |
Required |
|
| date | date |
Required |
|
| amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ExchangeRate| Name | Description | Type | Additional information |
|---|---|---|---|
| FunctionalAmount | decimal number |
None. |
|
| Rate | decimal number |
None. |
|
| ErrorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"FunctionalAmount": 1.0,
"Rate": 2.0,
"ErrorCode": 3
},
{
"FunctionalAmount": 1.0,
"Rate": 2.0,
"ErrorCode": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfExchangeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Jovaco.WebServices.Web.Models">
<ExchangeRate>
<ErrorCode>3</ErrorCode>
<FunctionalAmount>1</FunctionalAmount>
<Rate>2</Rate>
</ExchangeRate>
<ExchangeRate>
<ErrorCode>3</ErrorCode>
<FunctionalAmount>1</FunctionalAmount>
<Rate>2</Rate>
</ExchangeRate>
</ArrayOfExchangeRate>