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=c5af6e07-78d3-48bb-8366-3ab4ff9b40b1

Response

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

{
  "PkTransferId": "2cbda159-0506-4c3d-a41e-f8d59261a8ad",
  "FromLocationId": "156dc54e-32d1-480c-8c89-8747cd70de17",
  "ToLocationId": "65b08b4a-65db-4382-b046-8930509edbff",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-08-21T13:34:04.5052157+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "3e2298c9-1cd3-4d3a-b940-0f1a9402b69e",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "ee677f76-a0dc-4c59-9a70-4bebac55fa64",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "4cc504fc-f81b-4f49-bf74-c008be32cb16",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
          "NoteRead": true,
          "PkBinId": "9a0c3fe3-4eb4-4a03-8028-0e3e5474e628"
        },
        {
          "PkTransferBinNoteId": "4cc504fc-f81b-4f49-bf74-c008be32cb16",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
          "NoteRead": true,
          "PkBinId": "9a0c3fe3-4eb4-4a03-8028-0e3e5474e628"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "42918c9e-43a0-4519-8c69-e8411b22e088",
          "FkStockItemId": "ecbb50a2-485a-4a79-9082-c9f907290b64",
          "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": "9f8a8015-04f1-491b-a32f-13e85d1e23c0",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            },
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            }
          ]
        },
        {
          "PkTransferItemId": "42918c9e-43a0-4519-8c69-e8411b22e088",
          "FkStockItemId": "ecbb50a2-485a-4a79-9082-c9f907290b64",
          "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": "9f8a8015-04f1-491b-a32f-13e85d1e23c0",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            },
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "ee677f76-a0dc-4c59-9a70-4bebac55fa64",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "4cc504fc-f81b-4f49-bf74-c008be32cb16",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
          "NoteRead": true,
          "PkBinId": "9a0c3fe3-4eb4-4a03-8028-0e3e5474e628"
        },
        {
          "PkTransferBinNoteId": "4cc504fc-f81b-4f49-bf74-c008be32cb16",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
          "NoteRead": true,
          "PkBinId": "9a0c3fe3-4eb4-4a03-8028-0e3e5474e628"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "42918c9e-43a0-4519-8c69-e8411b22e088",
          "FkStockItemId": "ecbb50a2-485a-4a79-9082-c9f907290b64",
          "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": "9f8a8015-04f1-491b-a32f-13e85d1e23c0",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            },
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            }
          ]
        },
        {
          "PkTransferItemId": "42918c9e-43a0-4519-8c69-e8411b22e088",
          "FkStockItemId": "ecbb50a2-485a-4a79-9082-c9f907290b64",
          "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": "9f8a8015-04f1-491b-a32f-13e85d1e23c0",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            },
            {
              "PkTransferItemNoteId": "af5d4e31-8974-4550-93e7-baa6850b4d40",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
              "NoteRead": true,
              "FkBinId": "481fe81a-0830-48f3-ab9f-703e6726bd7f",
              "PkTransferItemId": "22a94788-4d5e-4592-acbc-71b806581638"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "b3536acb-5ced-4127-824d-f80483fdebfc",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "b3536acb-5ced-4127-824d-f80483fdebfc",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-08-21T13:34:04.5062164+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "359cd378-a217-417a-9e66-a9614f9b2add",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-08-21T13:34:04.5062164+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "359cd378-a217-417a-9e66-a9614f9b2add",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-08-21T13:34:04.5062164+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "a9a75714-3177-46f9-8364-19ae5118b9b8",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "a9a75714-3177-46f9-8364-19ae5118b9b8",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}