GET api/Currencies
Gets all currencies.
Request Information
URI Parameters
None.
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
Collection of CurrencyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Name | string |
Required Max length: 50 |
|
| Rate |
decimal(18,10) |
decimal number |
Required |
| RoundingAmount |
The default rounding amount for the currency, decimal(9,2) |
decimal number |
Required |
| CurrencyCode |
Currency code ISO 4217 |
string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Rate": 3.0,
"RoundingAmount": 4.0,
"CurrencyCode": "sample string 5"
},
{
"Id": 1,
"Name": "sample string 2",
"Rate": 3.0,
"RoundingAmount": 4.0,
"CurrencyCode": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfCurrencyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
<CurrencyResponse>
<CurrencyCode>sample string 5</CurrencyCode>
<Id>1</Id>
<Name>sample string 2</Name>
<Rate>3</Rate>
<RoundingAmount>4</RoundingAmount>
</CurrencyResponse>
<CurrencyResponse>
<CurrencyCode>sample string 5</CurrencyCode>
<Id>1</Id>
<Name>sample string 2</Name>
<Rate>3</Rate>
<RoundingAmount>4</RoundingAmount>
</CurrencyResponse>
</ArrayOfCurrencyResponse>