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": [ { "rootfi_id": 15734, "rootfi_company_id": 1217, "rootfi_organisation_id": 514, "rootfi_integration_type": "ZOHO_BOOKS", "rootfi_updated_at": "2023-10-21T13:10:20.170Z", "rootfi_created_at": "2023-09-21T06:02:09.108Z", "platform_id": "1310326000000000076", "name": "South African Rand", "code": "ZAR", "symbol": "R", "is_base_currency": false, "exchange_rate": 0, "updated_at": "2023-01-17T00:00:00.000Z", "raw_data": {} } ], "total_count": 1 }, "request_timestamp": "2023-10-27T05:05:28.522Z", "response_timestamp": "2023-10-27T05:05:28.522Z", "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b\"" }
Retrieve currencies from the database based on the ID
Show child attributes
The time at which the request was received by the server
The time at which the response was sent by the server
The unique ID of the request