Learn how to retrieve a full list of available currencies via the Expansive API
Understanding which currencies are available to you is important. When creating records such as sites it's important that the currency is set correctly so your billing information for any work orders happening there is accurate.
Resource
/v2/currencies
Method
GET
Headers
Key | Value |
Authorization | Bearer <TOKEN> (find out more) |
Content-Type | application/vnd.api+json |
Expected Response
200 OK
{
"jsonapi": {
"version": "1.0"
},
"data": [
{
"type": "currencies",
"id": "1",
"attributes": {
"code": "AFN",
"created_at": "2022-02-24T17:13:36.000000Z",
"name": "Afghani",
"updated_at": "2022-02-24T17:13:36.000000Z"
},
"relationships": {
"Sites": {
"links": {
"related": "http://localhost:8080/api/v2/currencies/1/sites",
"self": "http://localhost:8080/api/v2/currencies/1/relationships/sites"
}
}
},
"links": {
"self": "http://localhost:8080/api/v2/currencies/1"
}
},
...
]
}