get https://{host}/platform/batch/v1/jobs//tasks/
Returns detailed information about a specific task within a job.
A task is a subprocess that is run within the course of processing a BATCH job.
This operation returns metadata about a specific task. Client applications can use this operation to poll the status of tasks or return detailed information about failed BATCH jobs.
Subtasks
Depending on the task, the response object may return information about subtasks processed within the task. For example, an EXPOSURE_BATCH_EDIT may consists of multiple subtasks.
{
"status": "FINISHED",
"name": "bulkInsertAccountData",
"type": "EXPOSURE_BATCH_EDIT",
"progress": 100,
"details": {
"resources": [],
"summary": "EXPOSURE_BATCH_EDIT is successful"
},
"subTasks": [
{
"guid": "6c7f6dc8-95e2-41c0-9f49-779d6aa35676",
"status": "Succeeded",
"name": "EXPOSURE_BATCH_EDIT",
"percentComplete": 100,
"subTaskId": "1",
"output": {
"summary": "",
"errors": [],
"log": {
"Exposures": "{\"portfolios\":[],\"accounts\":[{\"label\":\"demo_acct_1\",\"accountId\":2156285,\"accountNumber\":\"Acct_LocBatch_01_Num\",\"locations\":[{\"label\":\"Location_Insert_Label_01\",\"locationId\":3071258}],\"policies\":[{\"label\":\"Policy_LocationBatch_01_Label\",\"policyId\":2156285,\"policyNumber\":\"PolicyNum01\",\"policyConditions\":[{\"label\":null,\"policyConditionId\":10777305}]}],\"stepPolicies\":[{\"label\":\"stepPolLabel\",\"stepPolicyId\":43,\"stepPolicyNumber\":\"stepPol03\"}]}],\"locations\":[],\"policies\":[],\"stepPolicies\":[],\"treaties\":[],\"referDownloadLink\":false}",
"Portfolios": "Inserted: 0, Updated: 0, Deleted: 0",
"Accounts": "Inserted: 1, Updated: 0, Deleted: 0",
"Locations": "Inserted: 1, Updated: 0, Deleted: 0",
"Policies": "Inserted: 1, Updated: 0, Deleted: 0",
"Step Policies": "Inserted: 1, Updated: 0, Deleted: 0",
"Treaties": "Inserted: 0, Updated: 0, Deleted: 0",
"Exposure Id": "10171",
"downloadLink": "Not Available",
"platformDownloadLink": "Not Available"
}
}
}
]
}
/platform/batch/v1/jobs/{jobId}/tasks/{taskId}, BATCH, getbatchjobtask, subTaskId, subtask, taskId
