Currencies
Get Currencies
General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
- Accounts
- Bank Accounts
- Bank Transactions
- Bills
- Bill Payments
- Bill Credit Notes
- Contacts
- Company Info
- Currencies
- Documents
- Expenses
- Invoice Credit Notes
- Invoices
- Invoice Payments
- Items
- Journal Entries
- Purchase Orders
- Sales Orders
- Goods Receipt Notes
- Projects
- Tax Rates
- Tracking Categories
- Balance Sheet
- Cash Flow Statements
- Income Statements
Currencies
Get Currencies
Retrieve currencies from the database based on the ID
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": [
{
"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
}
}
}'
Authorizations
Body
application/json
Response
200 - application/json
The response is of type object
.
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\""
}