Currencies

method: getCurrencies

This API operation returns the currencies used in AdultWork.com.

URL / Endpoint

GET /v1/lists/getCurrencies

Request

PropertyTypeDescription
This operation does not accept any parameters.
MajorOnly   If set to true only the major currencies will be returned.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.

Headers

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.

Authentication

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.

Samples

GET method

https://api-sandbox.adultwork.com/v1/lists/getCurrencies
  ?apiKey={your-api-key}

Response

PropertyTypeDescription
Currencies aws:Currencies Array of Currencies.

Response Sample

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>