Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

OrderWorkflow /GetJob

Allows 150 calls per minute

Response: GetJobResponse



Get specific job details. This method will return list of order ids in a job.

Parameters

NameTypeDescription
requestGetJobRequestRequest class

Permissions

GlobalPermissions.OrderBook.Workflow.ViewWorkflowNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/OrderWorkflow/GetJob

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "JobId": 1
}

Response

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": "2021-07-29T09:24:14.4627461Z",
    "ExecutedByUser": "sample string 9",
    "ExecutionDate": "2021-07-29T09:24:14.4627461Z",
    "JobAttachmentList": [
      {
        "AttachmentId": 1,
        "JobId": 2,
        "Type": 0,
        "URL": "sample string 3",
        "PrintedDate": "2021-07-29T09:24:14.4627461+01:00",
        "User": "sample string 4"
      }
    ],
    "OrderList": [
      {
        "OrderId": "33444661-61b8-44fa-b3bf-60eb7e87a1da",
        "nOrderId": 2,
        "CustomerName": "sample string 3",
        "EmailAddress": "sample string 4"
      }
    ]
  },
  "JobErrors": [
    {
      "JobErrorId": 1,
      "Action": "sample string 2",
      "OrderId": "3af55387-8600-4d97-bcaa-f47f75cfaccf",
      "ErrorType": 3,
      "ErrorText": "sample string 4"
    }
  ]
}