Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

OrderWorkflow /GetJobByName

Allows 150 calls per minute

Response: GetJobResponse



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

Parameters

NameTypeDescription
requestGetJobByNameRequestRequest 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/GetJobByName

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={
  "JobName": "sample string 1",
  "LocationId": "636e4ba2-e9c2-46b0-9379-2492df0caec4"
}

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": "2022-03-09T13:04:03.9477817Z",
    "ExecutedByUser": "sample string 9",
    "ExecutionDate": "2022-03-09T13:04:03.9477817Z",
    "JobAttachmentList": [
      {
        "AttachmentId": 1,
        "JobId": 2,
        "Type": 0,
        "URL": "sample string 3",
        "PrintedDate": "2022-03-09T13:04:03.9477817+00:00",
        "User": "sample string 4"
      }
    ],
    "OrderList": [
      {
        "OrderId": "57a175c3-3a0f-49d3-9356-2f09f8199dce",
        "nOrderId": 2,
        "CustomerName": "sample string 3",
        "EmailAddress": "sample string 4"
      }
    ]
  },
  "JobErrors": [
    {
      "JobErrorId": 1,
      "Action": "sample string 2",
      "OrderId": "e645772a-53e7-47de-b787-7c29ea2b2c9f",
      "ErrorType": 3,
      "ErrorText": "sample string 4"
    }
  ]
}