Fetch Background Job
GET
/v1/ext/background-job/{backgroundJobId}
_data
field returns meta information around the job itself.The
_meta
field has extra information likeNOT_STARTED - This completionStatus indicates that the background job entry is yet to be processed
SUCCESS - This completionStatus indicates that the background job entry has been processed successfully
ERROR - This completionStatus indicates that the background job entry has been processed but resulted in an error result
Background Job Examples
PATCH /v1/ext/procedure/lead/process
the api will internally schedule a background job to process the entries provided to the bulk api. The response of the api will look something like this:
{
"_data": {
"id": "19632427-908f-4bf3-a6f5-69b9a0bbfc63",
"createdAt": 1617966536211,
"updatedAt": 1617966536211,
"completionStatus": "IN_PROGRESS",
"statusMessage": null,
"startedAt": 1617966536210,
"completedAt": 0,
"team": "d3e64510-b75a-43a0-8ae5-dde78dac56c0",
"type": "3ae1c371-9a3b-4c06-8090-42fea6c4df36"
}
}
19632427-908f-4bf3-a6f5-69b9a0bbfc63
in the response represnts the id of a background jobRequest
Path Params
backgroundJobId
string
required
Example:
006af7f9-d5fb-4d1a-8b31-ac6f3a3a1dfc
Request samples
Responses
Modified at 2024-11-11 11:10:41