Returns a selection of currency codes.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | expenselines.json | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=currencycodes | |
Active | No | Active status | active=yes |
Valid values for active are 'yes', 'Y', '1' and 'true' for positive, 'no', 'N', '0' and 'false' for negative.
Example request:
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.9&company=1&action=currencycodes
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 4,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"currencyUuid": "C69AD1001258446E8ED1F77C661B5B95",
"currencyTimestampModified": 1562830834,
"currencyRecordVersionNumber": 106,
"currencyCurrencyName": "Dirhams",
"currencyCode": "1/AED",
"currencySymbol": "AED",
"currencyExchangeRate": 12.74,
"currencyPurchase": 12.74
}
]
}