General
Server Side SDKs
Core API
- Companies
- Invite Links
- Sync
- Passthrough
- Real Time
- Webhooks
Unified API
- Accounting
- Payments
- Ecommerce
- CRM
Sync
Get Job
Retrieve a single sync job from the database.
GET
/
core
/
syncs
/
jobs
/
{job_id}
curl --request GET \
--url https://api.rootfi.dev/v3/core/syncs/jobs/{job_id} \
--header 'api_key: <api-key>'
{
"data": {
"rootfi_id": 1,
"rootfi_created_at": "2021-08-31T18:00:00Z",
"rootfi_updated_at": "2021-08-31T18:00:00Z",
"rootfi_company_id": 1,
"start_time": "2021-08-31T18:00:00Z",
"end_time": "2021-08-31T18:00:00Z",
"integration_type": "XERO",
"status": "SUCCESS",
"data_model": "ACCOUNTS",
"config_mode": "READ",
"sync_id": "VmaVgKMaiygMzTK1",
"parent_job_id": "VmaVgKMaiygMzTK1",
"retry_count": 0,
"priority": 0,
"variables": {},
"error": {},
"config_id": "VmaVgKMaiygMzTK1",
"job_type": "PUSH",
"response_length": 0,
"response_size": 0,
"rate_limit_sleep_time": 0
}
}
Authorizations
Path Parameters
The ID of the job to retrieve
Response
200
application/json
The data of the job endpoint
curl --request GET \
--url https://api.rootfi.dev/v3/core/syncs/jobs/{job_id} \
--header 'api_key: <api-key>'
{
"data": {
"rootfi_id": 1,
"rootfi_created_at": "2021-08-31T18:00:00Z",
"rootfi_updated_at": "2021-08-31T18:00:00Z",
"rootfi_company_id": 1,
"start_time": "2021-08-31T18:00:00Z",
"end_time": "2021-08-31T18:00:00Z",
"integration_type": "XERO",
"status": "SUCCESS",
"data_model": "ACCOUNTS",
"config_mode": "READ",
"sync_id": "VmaVgKMaiygMzTK1",
"parent_job_id": "VmaVgKMaiygMzTK1",
"retry_count": 0,
"priority": 0,
"variables": {},
"error": {},
"config_id": "VmaVgKMaiygMzTK1",
"job_type": "PUSH",
"response_length": 0,
"response_size": 0,
"rate_limit_sleep_time": 0
}
}