POST
/
accounting
/
currencies
/
all
curl --request POST \
  --url https://api.rootfi.dev/accounting/currencies/all \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "take": 10,
  "skip": 0,
  "orderBy": {
    "name": "South African Rand"
  },
  "filter": {
    "is_base_currency": {
      "eq": false
    }
  }
}'
{
  "data": {
    "data": [
      {
        "code": "ZAR",
        "exchange_rate": 0,
        "is_base_currency": false,
        "name": "South African Rand",
        "platform_id": "1310326000000000076",
        "raw_data": {},
        "rootfi_company_id": 1217,
        "rootfi_created_at": "2023-09-21T06:02:09.108Z",
        "rootfi_id": 15734,
        "rootfi_integration_type": "ZOHO_BOOKS",
        "rootfi_organisation_id": 514,
        "rootfi_updated_at": "2023-10-21T13:10:20.170Z",
        "symbol": "R",
        "updated_at": "2023-01-17T00:00:00.000Z"
      }
    ],
    "total_count": 1
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b\"",
  "request_timestamp": "2023-10-27T05:05:28.522Z",
  "response_timestamp": "2023-10-27T05:05:28.522Z"
}

Authorizations

api_key
string
headerrequired

Body

application/json
filter
object
orderBy
object
skip
integer | null
take
integer | null

Response

200 - application/json
data
object
required
request_id
string
required

The unique ID of the request

request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server