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.
POST https://eu-ext.linnworks.net//api/OrderWorkflow/GetJobByName HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
request={
"JobName": "sample string 1",
"LocationId": "c2e8b28a-37ca-4b85-b1ce-065b621cb6cb"
}
This is an example response. Results may 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": "2019-11-28T09:45:59.7077568Z",
"ExecutedByUser": "sample string 9",
"ExecutionDate": "2019-11-28T09:45:59.7077568Z",
"JobAttachmentList": [
{
"AttachmentId": 1,
"JobId": 2,
"Type": 0,
"URL": "sample string 3",
"PrintedDate": "2019-11-28T09:45:59.7077568+00:00",
"User": "sample string 4"
},
{
"AttachmentId": 1,
"JobId": 2,
"Type": 0,
"URL": "sample string 3",
"PrintedDate": "2019-11-28T09:45:59.7077568+00:00",
"User": "sample string 4"
}
],
"OrderList": [
{
"OrderId": "5117fb50-26d1-4403-86ac-a82d0ad83358",
"nOrderId": 2,
"CustomerName": "sample string 3",
"EmailAddress": "sample string 4"
},
{
"OrderId": "5117fb50-26d1-4403-86ac-a82d0ad83358",
"nOrderId": 2,
"CustomerName": "sample string 3",
"EmailAddress": "sample string 4"
}
]
},
"JobErrors": [
{
"JobErrorId": 1,
"Action": "sample string 2",
"OrderId": "058d0382-e61d-4039-b251-9f6c2c38a8c0",
"ErrorType": 3,
"ErrorText": "sample string 4"
},
{
"JobErrorId": 1,
"Action": "sample string 2",
"OrderId": "058d0382-e61d-4039-b251-9f6c2c38a8c0",
"ErrorType": 3,
"ErrorText": "sample string 4"
}
]
}