Back

Search

Search

Methods

Inventory

Orders

WarehouseTransfer /GetDiscrepancyItems

Response: List<WarehouseTransferItem>



Use this call to get a list of items whose quantities do not match those that were originally expected. E.g. Received < Sent when Delivered or Sent < Requested when Accepted. Only call this method once after the transfer is Accepted and once when it has been Delivered.

Parameters

NameTypeDescription
pkTransferIdGuidThe id of the transfer.

HTTP Endpoint

Server /WarehouseTransfer / GetDiscrepancyItems

Permissions

GlobalPermissions.Inventory.WarehouseTransferNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/WarehouseTransfer/GetDiscrepancyItems 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

pkTransferId=e928474b-83e5-42c1-a500-cae569bca590

Response

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

[
  {
    "PkTransferItemId": "da38377c-c852-4e4a-b8f8-5d736b3c673c",
    "FkStockItemId": "757f6c93-b0ca-4045-9596-b0746c10ff74",
    "SKU": "sample string 3",
    "Barcode": "sample string 4",
    "ItemTitle": "sample string 5",
    "RequestedQuantity": 6,
    "SentQuantity": 7,
    "ReceivedQuantity": 1,
    "InFromLocationQuantity": 8,
    "DueFromLocationQuantity": 9,
    "InToLocationQuantity": 10,
    "ItemNoteCount": 11,
    "BinRackNumber": "sample string 12",
    "PkBinId": "8909ddb6-ef92-4837-8f58-fc931521bdcc",
    "ItemNotes": [
      {
        "PkTransferItemNoteId": "d51999e3-e6e5-4f56-8407-44f299d79ff1",
        "NoteUser": "sample string 2",
        "Note": "sample string 3",
        "NoteDateTime": "2019-10-09T15:11:41.3421265+01:00",
        "NoteRead": true,
        "FkBinId": "5ffd1abb-3017-4a79-a54e-cd6d010564b6",
        "PkTransferItemId": "b2d124b6-cac9-432e-9a8f-7faf6f9c4387"
      },
      {
        "PkTransferItemNoteId": "d51999e3-e6e5-4f56-8407-44f299d79ff1",
        "NoteUser": "sample string 2",
        "Note": "sample string 3",
        "NoteDateTime": "2019-10-09T15:11:41.3421265+01:00",
        "NoteRead": true,
        "FkBinId": "5ffd1abb-3017-4a79-a54e-cd6d010564b6",
        "PkTransferItemId": "b2d124b6-cac9-432e-9a8f-7faf6f9c4387"
      }
    ]
  },
  {
    "PkTransferItemId": "da38377c-c852-4e4a-b8f8-5d736b3c673c",
    "FkStockItemId": "757f6c93-b0ca-4045-9596-b0746c10ff74",
    "SKU": "sample string 3",
    "Barcode": "sample string 4",
    "ItemTitle": "sample string 5",
    "RequestedQuantity": 6,
    "SentQuantity": 7,
    "ReceivedQuantity": 1,
    "InFromLocationQuantity": 8,
    "DueFromLocationQuantity": 9,
    "InToLocationQuantity": 10,
    "ItemNoteCount": 11,
    "BinRackNumber": "sample string 12",
    "PkBinId": "8909ddb6-ef92-4837-8f58-fc931521bdcc",
    "ItemNotes": [
      {
        "PkTransferItemNoteId": "d51999e3-e6e5-4f56-8407-44f299d79ff1",
        "NoteUser": "sample string 2",
        "Note": "sample string 3",
        "NoteDateTime": "2019-10-09T15:11:41.3421265+01:00",
        "NoteRead": true,
        "FkBinId": "5ffd1abb-3017-4a79-a54e-cd6d010564b6",
        "PkTransferItemId": "b2d124b6-cac9-432e-9a8f-7faf6f9c4387"
      },
      {
        "PkTransferItemNoteId": "d51999e3-e6e5-4f56-8407-44f299d79ff1",
        "NoteUser": "sample string 2",
        "Note": "sample string 3",
        "NoteDateTime": "2019-10-09T15:11:41.3421265+01:00",
        "NoteRead": true,
        "FkBinId": "5ffd1abb-3017-4a79-a54e-cd6d010564b6",
        "PkTransferItemId": "b2d124b6-cac9-432e-9a8f-7faf6f9c4387"
      }
    ]
  }
]