This API operation returns the currencies used in AdultWork.com.
GET
/v1/lists/getCurrencies
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. | ||
MajorOnly |
If set to true only the major currencies will be returned. |
This endpoint is using the HTTP GET method.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.
https://api-sandbox.adultwork.com/v1/lists/getCurrencies
?apiKey={your-api-key}
Property | Type | Description |
---|---|---|
Currencies |
aws:Currencies | Array of Currencies. |
The following example returns the first two currencies.
[
{
"CurrencyID": 2,
"CurrencyISO": "ALL",
"CurrencyName": "Albanian Lek",
"FractionalUnit": "Qintar",
"FUNumberToBasic": 100
},
{
"CurrencyID": 3,
"CurrencyISO": "DZD",
"CurrencyName": "Algerian Dinar",
"FractionalUnit": "Centime",
"FUNumberToBasic": 100
},
...
]
<ArrayOfCurrency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Localization">
<Currency>
<CurrencyID>2</CurrencyID>
<CurrencyISO>ALL</CurrencyISO>
<CurrencyName>Albanian Lek</CurrencyName>
<FUNumberToBasic>100</FUNumberToBasic>
<FractionalUnit>Qintar</FractionalUnit>
</Currency>
<Currency>
<CurrencyID>3</CurrencyID>
<CurrencyISO>DZD</CurrencyISO>
<CurrencyName>Algerian Dinar</CurrencyName>
<FUNumberToBasic>100</FUNumberToBasic>
<FractionalUnit>Centime</FractionalUnit>
</Currency>
...
</ArrayOfCurrency>