curl --request GET \
--url https://api.rootfi.dev/sync \
--header 'api_key: <api-key>'
{
"data": {
"data": [
{
"rootfi_id": 123456,
"rootfi_company_id": 123456,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2021-09-28T15:00:00.000Z",
"rootfi_created_at": "2021-09-28T15:00:00.000Z",
"start_time": "2021-09-28T15:00:00.000Z",
"end_time": "2021-09-28T15:00:00.000Z",
"sync_from": null,
"integration_type": "ZOHO_BOOKS",
"full_sync": true,
"sync_type": "AUTO_SYNC",
"config_mode": "READ",
"success_count": 20,
"failed_count": 0,
"running_count": 0,
"created_count": 0,
"data_models": [
{
"sync_id": "H1HJT1UYdj0qncJ",
"data_model": "ACCOUNTS",
"total_count": 1,
"success_count": 1,
"failed_count": 0,
"running_count": 0,
"pending_count": 0,
"start_time": "2023-12-01T08:17:29+00:00",
"end_time": "2023-12-01T08:17:43.047+00:00",
"status": "SUCCESS"
}
]
}
],
"total_count": 1,
"sync_status": "IDLE",
"connection_status": "HEALTHY"
},
"request_timestamp": "2021-09-28T15:00:00.000Z",
"response_timestamp": "2021-09-28T15:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}Retrieve all Syncs from the database based on the query parameters provided (limit, offset,Job type, company ID).
curl --request GET \
--url https://api.rootfi.dev/sync \
--header 'api_key: <api-key>'
{
"data": {
"data": [
{
"rootfi_id": 123456,
"rootfi_company_id": 123456,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2021-09-28T15:00:00.000Z",
"rootfi_created_at": "2021-09-28T15:00:00.000Z",
"start_time": "2021-09-28T15:00:00.000Z",
"end_time": "2021-09-28T15:00:00.000Z",
"sync_from": null,
"integration_type": "ZOHO_BOOKS",
"full_sync": true,
"sync_type": "AUTO_SYNC",
"config_mode": "READ",
"success_count": 20,
"failed_count": 0,
"running_count": 0,
"created_count": 0,
"data_models": [
{
"sync_id": "H1HJT1UYdj0qncJ",
"data_model": "ACCOUNTS",
"total_count": 1,
"success_count": 1,
"failed_count": 0,
"running_count": 0,
"pending_count": 0,
"start_time": "2023-12-01T08:17:29+00:00",
"end_time": "2023-12-01T08:17:43.047+00:00",
"status": "SUCCESS"
}
]
}
],
"total_count": 1,
"sync_status": "IDLE",
"connection_status": "HEALTHY"
},
"request_timestamp": "2021-09-28T15:00:00.000Z",
"response_timestamp": "2021-09-28T15:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}curl --request GET \
--url https://api.rootfi.dev/sync \
--header 'api_key: <api-key>'
The number of objects you want to retrieve
The index from where you want to start retrieving objects
The ID of the company to retrieve.
The type of job to retrieve.
PULL, PUSH The data returned from the request
Show child attributes
Show child attributes
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 sync started
The time the sync ended
The time the sync started
The time the sync ended
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 time the sync started
The time the sync ended
The time the sync started
The time the sync ended
The time the sync started
The time the sync ended
The time the sync started
The time the sync ended
Show child attributes
The ID of the sync
The data model
ACCOUNTS, BALANCE_SHEET, BANK_ACCOUNTS, BANK_TRANSACTIONS, BILL_CREDIT_NOTES, BILL_PAYMENTS, BILLS, CASH_FLOW_STATEMENT, COMPANY_INFO, CONTACTS, CURRENCIES, EXPENSES, INCOME_STATEMENT, INVOICE_CREDIT_NOTES, INVOICE_PAYMENTS, INVOICES, ITEMS, JOURNAL_ENTRIES, PURCHASE_ORDERS, SALES_ORDERS, TAX_RATES, TRACKING_CATEGORIES The total number of records
The number of successful records
The number of failed records
The number of running records
The number of pending records
The time the sync started
The time the sync ended
The status of the sync
SUCCESS, FAILED, CREATED, RUNNING The total number of records
The status of the sync
The status of the connection
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