[GET] Task Status
Task Status
Query Parameters
Name
Type
Description
Example Request
curl --location 'https://cloud.smartdocumentor.net/api/v1.0/external/sdtask/status?taskId=44'
--header 'Authorization: Bearer {your access token here}'var client = new HttpClient();
var accessToken = "your access token here";
var request = new HttpRequestMessage(HttpMethod.Get, "https://cloud.smartdocumentor.net/api/v1.0/external/sdtask/status?taskId=12345");
request.Headers.Add("Authorization", $"Bearer {accessToken}");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());import requests
url = "https://cloud.smartdocumentor.net/api/v1.0/external/sdtask/status?taskId=12345"
access_token = "your access token here"
payload = {}
headers = {
'Authorization': f'Bearer {access_token}'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)Responses
{
"taskId": 44,
"workspaceId": 1,
"batchId": 1,
"taskNumber": 1,
"externalId": null,
"displayName": "Task display name",
"description": "Task description",
"createdOn": "2022-03-16T16:59:55Z",
"taskStatus": 4,
"integrationStatus": 4,
"taskStatusText": "InReview",
"integrationStatusText": "Failed",
"totalPages": 10,
"restartCount": 2,
"preProcessingStartedOn": "2022-03-16T16:59:55Z"
}Response Body GetTaskStatusResponse
GetTaskStatusResponseName
Type
Description
Last updated