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
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\""
}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
}
}
}'
Show child attributes
asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc Show child attributes
Show child attributes
Show child attributes
The accounting platforms ID for the currency
The name of the currency
The currency code
The symbol that represents the currency. Not applicable for many currencies
Whether the currency is the base currency for the company
The exchange rate for the currency
The last ISO 8601 timestamp that the data was updated at
The raw data of the currency
The unique ID we assign for that data's information
The RootFi designated id for the company
The RootFi designated id for the organisation
The accounting platform from which the data is being retrieved
ZOHO_BOOKS, QUICKBOOKS_SANDBOX, QUICKBOOKS, XERO, TALLY, SAGE_CLOUD_ACCOUNTING, MS_DYNAMICS_365, SAGE_ZA_CLOUD_ACCOUNTING, MYOB_BUSINESS, WAVE, ODOO_ACCOUNTING, NETSUITE, WAFEQ, MEKARI_JURNAL, BUSY, ROOTFI_SANDBOX, QOYOD The latest date at which RootFi updated this data
The date at which RootFi first synced this data
Total Count of response object
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