Back

Search

Search

Methods

Inventory

Orders

Picking /GeneratePickingWave

Response: GeneratePickingWaveResponse



Generate a new pickwave

Parameters

NameTypeDescription
requestPickingWaveGenerate

HTTP Endpoint

Server /Picking / GeneratePickingWave

Permissions

GlobalPermissions.OrderBook.OpenOrders.PickingWaves.GeneratePickingWavesNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Picking/GeneratePickingWave 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={
  "LocationId": "95dad11b-87d0-4f88-a39e-ca85718f7b72",
  "UserId": 1,
  "Orders": [
    {
      "OrderId": 1,
      "Items": [
        {
          "OrderItemRowId": "d35a5e0d-a195-4855-ab83-c386f4075e54"
        },
        {
          "OrderItemRowId": "d35a5e0d-a195-4855-ab83-c386f4075e54"
        }
      ]
    },
    {
      "OrderId": 1,
      "Items": [
        {
          "OrderItemRowId": "d35a5e0d-a195-4855-ab83-c386f4075e54"
        },
        {
          "OrderItemRowId": "d35a5e0d-a195-4855-ab83-c386f4075e54"
        }
      ]
    }
  ],
  "GroupType": "Items"
}

Response

This is an example response. Results may vary depending on your data.

{
  "ValidationResults": [
    {
      "OrderId": 1,
      "OrderId_Guid": "37afcd3a-2d20-474f-b9e9-6a97a9dcc16d",
      "Errors": [
        {
          "Error": "sample string 1",
          "ErrorType": "Unknown",
          "OrderItemRowId": "0c6f62f5-e5e4-457c-b77b-4f948dd79bed"
        },
        {
        }
      ],
      "HasErrors": true
    },
    {
    }
  ],
  "PickingWaves": [
    {
      "PickingWaveId": 1,
      "LocationId": "5780ee75-33f4-4405-83b1-087c98b94cb2",
      "UserId": 1,
      "EmailAddress": "sample string 3",
      "CreatedDate": "2020-05-20T15:02:00.7741594+01:00",
      "OrderCount": 5,
      "ItemCount": 6,
      "ItemsPicked": 7,
      "OrdersPicked": 8,
      "State": "Unallocated",
      "AccumulatedInProgressSeconds": 9,
      "StartTime": "2020-05-20T15:02:00.7741594+01:00",
      "EndTime": "2020-05-20T15:02:00.7741594+01:00",
      "GroupType": "Items",
      "Orders": [
        {
          "PickingWaveOrdersRowId": 1,
          "PickingWaveId": 2,
          "OrderId": 3,
          "PickState": "Unpicked",
          "SortOrder": 4,
          "ItemCount": 5,
          "PickedItemsCount": 6,
          "Items": [
            {
              "SortOrder": 1,
              "ToPickQuantity": 2,
              "TOTId": 1,
              "TrayTag": "sample string 3",
              "PickingTag": "sample string 4",
              "PickingWaveItemsRowId": 5,
              "PickingWaveId": 6,
              "PickedQuantity": 7,
              "ItemState": "Normal",
              "BatchInventoryId": 1,
              "OrderId": 8,
              "OrderItemRowId": "24f8a348-1ef2-456a-9276-377c47ae85f9",
              "StockItemId": "8395524e-42a7-44f8-9998-a6bc1bbe6392"
            },
            {
            }
          ],
          "Composition": [
            {
              "StockItemId": "7f4c465d-7602-4e74-8680-42bfb37d2244",
              "OrderItemRowId": "5e24890f-a3d4-4405-99cc-876daa355831",
              "Quantity": 3,
              "Children": [
                {
                },
                {
                }
              ]
            },
            {
            }
          ],
          "OrderId_Guid": "b90db0ae-0aa6-443f-bff9-1c2da503c600",
          "IsProcessed": true,
          "IsCancelled": true,
          "IsOnHold": true,
          "IsLocked": true,
          "IsPaid": true
        },
        {
        }
      ],
      "Options": {
        "ItemScanType": "Any",
        "TrayScanRequired": true,
        "TotScanRequired": true,
        "BinRackScanRequired": true
      }
    },
    {
    }
  ],
  "Skus": [
    {
      "SKU": "sample string 1",
      "StockItemId": "3e35f8a7-59ee-42f6-a66f-d633f28d62e6",
      "ItemTitle": "sample string 3",
      "Barcode": "sample string 4",
      "PrimaryImageURL": "sample string 5",
      "Identifiers": [
        {
          "StockItemId": "049ab015-aa80-426d-84da-d33f370a0820",
          "Type": "EAN",
          "Value": "sample string 2"
        },
        {
        }
      ]
    },
    {
    }
  ],
  "Bins": [
    {
      "BinRackId": 1,
      "StandardType": 1,
      "BatchId": 1,
      "BatchInventoryId": 1,
      "PrioritySequence": 1,
      "BatchStatus": "sample string 1",
      "BinRack": "sample string 1",
      "CurrentFullPercentage": 2.0,
      "Quantity": 3,
      "InTransit": 1,
      "PickedQuantity": 1,
      "InventoryTrackingType": 1,
      "StockItemId": "37443aba-5b43-497d-9b8c-7b8dc5ac1ec6",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2020-05-20T15:02:00.7741594+01:00",
      "SellBy": "2020-05-20T15:02:00.7741594+01:00",
      "BinrackTypeName": "sample string 6",
      "LocationId": "f745acb2-5d6e-45a6-a0e9-007a5495284f"
    },
    {
    }
  ]
}