[GET] Get Batch
Batch
Query Parameters
Name
Type
Description
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 ''var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://cloud.smartdocumentor.net/api/v1.0/external/sdbatch?batchId=1");
request.Headers.Add("Authorization", "Bearer null");
var content = new StringContent("", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());import requests
import json
url = "https://cloud.smartdocumentor.net/api/v1.0/external/sdbatch?batchId=1"
payload = ""
headers = {
'Authorization': 'Bearer null',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)Responses
{
"batchId": 1,
"workspaceId": 1,
"displayName": "YourBatchName",
"description": "AnOptionalDescriptionForYourBatch",
"createdOn": "2023-08-08T08:55:29.7831583Z",
"totalTasks": 0,
"totalTasksInHistory": 0
}Last updated