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=06454d5b-edef-4200-a767-6bc911e264c6

Response

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

{
  "PkTransferId": "c320baea-7b40-4db7-9151-03e27be01ea1",
  "FromLocationId": "1314c6aa-873b-48e9-ac65-dfe64fd2c9b6",
  "ToLocationId": "987b1ab8-cbeb-4b75-a2f9-be092cd457a8",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2018-10-03T11:12:34.3023703+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "4bc688bb-7fac-4b3b-9d71-c8a5ce2ec32c",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "a7fdee42-dec9-49f1-a576-2c7f0a9054f5",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "2216e596-d869-4506-a59c-fcd3be41a222",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
          "NoteRead": true,
          "PkBinId": "e7358c4a-dfd7-4072-99e7-0cfe63c5f2b2"
        },
        {
          "PkTransferBinNoteId": "2216e596-d869-4506-a59c-fcd3be41a222",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
          "NoteRead": true,
          "PkBinId": "e7358c4a-dfd7-4072-99e7-0cfe63c5f2b2"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "4c59488c-1d1a-46b5-959b-b439b8edcc34",
          "FkStockItemId": "abd5de53-3c3b-4b3d-8329-ef2b5c6ac653",
          "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": "7003d335-cde3-4509-9a28-9c88d982fa81",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            },
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            }
          ]
        },
        {
          "PkTransferItemId": "4c59488c-1d1a-46b5-959b-b439b8edcc34",
          "FkStockItemId": "abd5de53-3c3b-4b3d-8329-ef2b5c6ac653",
          "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": "7003d335-cde3-4509-9a28-9c88d982fa81",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            },
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "a7fdee42-dec9-49f1-a576-2c7f0a9054f5",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "2216e596-d869-4506-a59c-fcd3be41a222",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
          "NoteRead": true,
          "PkBinId": "e7358c4a-dfd7-4072-99e7-0cfe63c5f2b2"
        },
        {
          "PkTransferBinNoteId": "2216e596-d869-4506-a59c-fcd3be41a222",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
          "NoteRead": true,
          "PkBinId": "e7358c4a-dfd7-4072-99e7-0cfe63c5f2b2"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "4c59488c-1d1a-46b5-959b-b439b8edcc34",
          "FkStockItemId": "abd5de53-3c3b-4b3d-8329-ef2b5c6ac653",
          "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": "7003d335-cde3-4509-9a28-9c88d982fa81",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            },
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            }
          ]
        },
        {
          "PkTransferItemId": "4c59488c-1d1a-46b5-959b-b439b8edcc34",
          "FkStockItemId": "abd5de53-3c3b-4b3d-8329-ef2b5c6ac653",
          "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": "7003d335-cde3-4509-9a28-9c88d982fa81",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            },
            {
              "PkTransferItemNoteId": "1073ba89-fca0-48eb-ba6b-fc11f6136e1a",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
              "NoteRead": true,
              "FkBinId": "7a167f31-43e5-4636-a044-71cfa78051d3",
              "PkTransferItemId": "378750db-b825-48b5-adff-71b6ddc5c5cd"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "186d7671-ec77-499b-a1cd-d3cecac4a54c",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "186d7671-ec77-499b-a1cd-d3cecac4a54c",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-10-03T11:12:34.3023703+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "b4a71b5d-6946-464b-93e3-d0b6d66ba231",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-10-03T11:12:34.3023703+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "b4a71b5d-6946-464b-93e3-d0b6d66ba231",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-10-03T11:12:34.3023703+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "fe407b08-1ea6-4976-b513-c813d477a9a2",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "fe407b08-1ea6-4976-b513-c813d477a9a2",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}