Back

Search

Search

Methods

Inventory

Orders

WarehouseTransfer /CreateTransferFromDescrepancies

Response: WarehouseTransfer



Use this call to create a new transfer request from discrepancies

Parameters

NameTypeDescription
pkTransferIdGuidpkTransferId

HTTP Endpoint

Server /WarehouseTransfer / CreateTransferFromDescrepancies

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/CreateTransferFromDescrepancies 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=8c42699f-aa8f-4f94-9eea-fcaeaddb6c1e

Response

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

{
  "PkTransferId": "84121829-541d-4a07-8f00-80dfd032c202",
  "FromLocationId": "0ce26c7e-e2f4-464f-b9d8-466c95c589db",
  "ToLocationId": "d74fb152-08be-48a0-8124-8c46f2eadeab",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-10-09T15:11:41.1931911+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "873e2380-f243-47c6-937b-3d47fdc48f4b",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "10c042df-1471-40b7-8336-f23e4ec5b4f8",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "975b781e-33f8-4f09-acbd-11785534052d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
          "NoteRead": true,
          "PkBinId": "fffd048a-6b2e-465a-9e07-11a4be5f0cf6"
        },
        {
          "PkTransferBinNoteId": "975b781e-33f8-4f09-acbd-11785534052d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
          "NoteRead": true,
          "PkBinId": "fffd048a-6b2e-465a-9e07-11a4be5f0cf6"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "c2ad161e-d96f-41df-a459-dc5dcf168270",
          "FkStockItemId": "d177e3bd-d348-4211-9ebc-31fdf7cc874b",
          "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": "bfca6858-4717-4707-a5b9-ad496bc0596e",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            },
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            }
          ]
        },
        {
          "PkTransferItemId": "c2ad161e-d96f-41df-a459-dc5dcf168270",
          "FkStockItemId": "d177e3bd-d348-4211-9ebc-31fdf7cc874b",
          "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": "bfca6858-4717-4707-a5b9-ad496bc0596e",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            },
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "10c042df-1471-40b7-8336-f23e4ec5b4f8",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "975b781e-33f8-4f09-acbd-11785534052d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
          "NoteRead": true,
          "PkBinId": "fffd048a-6b2e-465a-9e07-11a4be5f0cf6"
        },
        {
          "PkTransferBinNoteId": "975b781e-33f8-4f09-acbd-11785534052d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
          "NoteRead": true,
          "PkBinId": "fffd048a-6b2e-465a-9e07-11a4be5f0cf6"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "c2ad161e-d96f-41df-a459-dc5dcf168270",
          "FkStockItemId": "d177e3bd-d348-4211-9ebc-31fdf7cc874b",
          "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": "bfca6858-4717-4707-a5b9-ad496bc0596e",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            },
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            }
          ]
        },
        {
          "PkTransferItemId": "c2ad161e-d96f-41df-a459-dc5dcf168270",
          "FkStockItemId": "d177e3bd-d348-4211-9ebc-31fdf7cc874b",
          "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": "bfca6858-4717-4707-a5b9-ad496bc0596e",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            },
            {
              "PkTransferItemNoteId": "89f72a6d-0429-42eb-aec9-168b7f320f40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
              "NoteRead": true,
              "FkBinId": "6d6f2e47-0491-4fc0-a7ee-1fc3dc00b8bf",
              "PkTransferItemId": "e2b2fa1b-e3cc-4937-b963-82e485150025"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "453dd9c1-0dd3-4821-88e2-d9f5998b82c4",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "453dd9c1-0dd3-4821-88e2-d9f5998b82c4",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-10-09T15:11:41.1931911+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "ae033547-17ea-4442-89d5-7c85e64be01b",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-10-09T15:11:41.1931911+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "ae033547-17ea-4442-89d5-7c85e64be01b",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-10-09T15:11:41.1931911+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "5559d618-efdd-4371-8dea-7ef6bca166b1",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "5559d618-efdd-4371-8dea-7ef6bca166b1",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}