[GET] Get Batch

Use this request to get information about a specific Batch, including the number of Tasks assigned to it.

Batch

GET/api/v1.0/external/sdbatch?batchId=1

Query Parameters

Name
Type
Description

batchId

integer

The ID that identifies the batch to retrieve data on. This ID is always unique and never changes after it has been created.

Example Request

curl --location 'https://cloud.smartdocumentor.net/api/v1.0/external/sdbatch?batchId=1' \
--header 'Authorization: Bearer null' \
--header 'Content-Type: application/json' \
--data ''

Responses

{
  "batchId": 1,
  "workspaceId": 1,
  "displayName": "YourBatchName",
  "description": "AnOptionalDescriptionForYourBatch",
  "createdOn": "2023-08-08T08:55:29.7831583Z",
  "totalTasks": 0,
  "totalTasksInHistory": 0
}

Response Body GetBatchResponse

See GetBatchResponse.

totalTasks returns the count of Tasks associated with this batch. This counter will increase as tasks are added to the Batch.

Last updated