Get Batch
The Get Batch API is called to get the status of a batch upload.
Method URL | GET http://<zapi_url>:<zapi_port>/api/v2/batch/<batch_id> |
HTTP Method | GET |
Content Type | application/json |
Required Headers | Authorization (set to ZAPI token) |
Example Response Payload
{ "batch_id": "b1cc71aef9989ead80012ac", "state": "Done", "lines": 22000, "bundles": 3, "bundles_completed": 3, "created": "2022-10-12T07:20:50", "upload_time_secs": 250, "processing_time_secs": 45, "processing_method": "delay", "completion_time" : "2022-10-12T0755:17", "retention_hours" : 8, "expiration_time": "2022-10-12T15:55:17", "reason":"" }