Get specific job details. This method will return list of order ids in a job.
Name | Type | Description |
---|---|---|
request | GetJobRequest | Request class |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/OrderWorkflow/GetJob
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={
"JobId": 1
}
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.966303Z",
"ExecutedByUser": "sample string 9",
"ExecutionDate": "2023-01-10T13:49:46.966303Z",
"JobAttachmentList": [
{
"AttachmentId": 1,
"JobId": 2,
"Type": 0,
"URL": "sample string 3",
"PrintedDate": "2023-01-10T13:49:46.966303+00:00",
"User": "sample string 4"
}
],
"OrderList": [
{
"OrderId": "cad7dced-ac74-4202-9f64-c90c2a592947",
"nOrderId": 2,
"CustomerName": "sample string 3",
"EmailAddress": "sample string 4"
}
]
},
"JobErrors": [
{
"JobErrorId": 1,
"Action": "sample string 2",
"OrderId": "7d2940d8-1730-4911-8a13-3feae2c8ad58",
"ErrorType": 3,
"ErrorText": "sample string 4"
}
]
}