Get specific job details. This method will return list of order ids in a job.
Name | Type | Description |
---|---|---|
request | GetJobByNameRequest | Request class |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/OrderWorkflow/GetJobByName
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
request={
"JobName": "sample string 1",
"LocationId": "69af5f33-2fb3-457a-97c2-4596c00e52b5"
}
This is an example of the response JSON. Results will vary depending on your data.
{
"Job": {
"JobId": 1,
"GroupId": 2,
"Name": "sample string 3",
"Status": "PENDING",
"OrderCount": 4,
"AttachmentCount": 5,
"IsError": true,
"IsAllPrinted": true,
"CreatedDate": "2023-01-10T13:49:46.9583304Z",
"ExecutedByUser": "sample string 9",
"ExecutionDate": "2023-01-10T13:49:46.9583304Z",
"JobAttachmentList": [
{
"AttachmentId": 1,
"JobId": 2,
"Type": 0,
"URL": "sample string 3",
"PrintedDate": "2023-01-10T13:49:46.9583304+00:00",
"User": "sample string 4"
}
],
"OrderList": [
{
"OrderId": "6e8fb32d-8d57-452e-a9b9-2bfcb3411230",
"nOrderId": 2,
"CustomerName": "sample string 3",
"EmailAddress": "sample string 4"
}
]
},
"JobErrors": [
{
"JobErrorId": 1,
"Action": "sample string 2",
"OrderId": "d5d17e93-82b8-4d29-a61d-d1daa5908398",
"ErrorType": 3,
"ErrorText": "sample string 4"
}
]
}