curl --request GET \
--url https://api.rootfi.dev/company/all \
--header 'api_key: <api-key>'
{
"data": {
"pending_companies": 123,
"active_companies": 12345,
"data": [
{
"rootfi_id": 1234,
"rootfi_created_at": "2021-06-01T00:00:00.000Z",
"rootfi_updated_at": "2021-06-01T00:00:00.000Z",
"rootfi_company_id": 1234,
"integration_type": "ZOHO_BOOKS",
"status": "HEALTHY",
"last_synced": "2021-06-01T00:00:00.000Z",
"rate_limit_sleep_time": null,
"rootfi_organisation_id": 12,
"rate_limits": {
"max_rate_limit": 5000,
"resets_in_date": "2021-06-01T00:00:00.000Z",
"remaining_rate_limit": 4200
},
"tally_last_active_at": null,
"zoho_sub_calls_enabled": true,
"name": "RootFi Test Company",
"sync_enabled": true,
"metadata": null,
"invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
"integrations": [
"ZOHO_BOOKS"
],
"last_synced_at": "2021-06-01T00:00:00.000Z",
"jobs": []
}
]
},
"request_timestamp": "2021-06-01T00:00:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}Retrieve all companies from the database based on the query parameters provided (limit, offset).
curl --request GET \
--url https://api.rootfi.dev/company/all \
--header 'api_key: <api-key>'
{
"data": {
"pending_companies": 123,
"active_companies": 12345,
"data": [
{
"rootfi_id": 1234,
"rootfi_created_at": "2021-06-01T00:00:00.000Z",
"rootfi_updated_at": "2021-06-01T00:00:00.000Z",
"rootfi_company_id": 1234,
"integration_type": "ZOHO_BOOKS",
"status": "HEALTHY",
"last_synced": "2021-06-01T00:00:00.000Z",
"rate_limit_sleep_time": null,
"rootfi_organisation_id": 12,
"rate_limits": {
"max_rate_limit": 5000,
"resets_in_date": "2021-06-01T00:00:00.000Z",
"remaining_rate_limit": 4200
},
"tally_last_active_at": null,
"zoho_sub_calls_enabled": true,
"name": "RootFi Test Company",
"sync_enabled": true,
"metadata": null,
"invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
"integrations": [
"ZOHO_BOOKS"
],
"last_synced_at": "2021-06-01T00:00:00.000Z",
"jobs": []
}
]
},
"request_timestamp": "2021-06-01T00:00:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}curl --request GET \
--url https://api.rootfi.dev/company/all \
--header 'api_key: <api-key>'
The number of objects you want to retrieve
The index from where you want to start retrieving objects
The response of the get all companies endpoint.
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
The response of the company endpoint
Show child attributes
The Number pending companies
The Number active companies
Show child attributes
The integration type of the company
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 status of the company
HEALTHY, DISCONNECTED, EXPIRED, PENDING The last time the company was synced
The rate limits of the company
Whether the sub calls are enabled for ZOHO BOOKS or not.
Name of the company
Whether the company is currently syncing with the platform
ID of the invite link in the platform database
Integrations list the company is allowed to connect to
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 last time the company was synced
The jobs of the company
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
The time the company will be rate limited
The last time the company was active in tally
Metadata