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=a0e2dc00-660e-4378-8651-948c3922bf7c

Response

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

{
  "PkTransferId": "dc3e61da-fe25-4c6f-ac45-487ac6da24c0",
  "FromLocationId": "e8fae7fe-b9ee-45dd-89a9-46e8c839906f",
  "ToLocationId": "1a0002e9-4714-4a0b-a6e5-f8089be75c9d",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-06-12T09:27:50.6586754+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "ca928d00-d5f2-4c08-9951-bd1a24cbe4b0",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "2c0c7e9d-7918-4536-8516-50a56c2d5f86",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "9565d291-0792-430a-b726-07aef6fde158",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
          "NoteRead": true,
          "PkBinId": "818915e9-57e6-4aa3-b30f-a4ebea8e2807"
        },
        {
          "PkTransferBinNoteId": "9565d291-0792-430a-b726-07aef6fde158",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
          "NoteRead": true,
          "PkBinId": "818915e9-57e6-4aa3-b30f-a4ebea8e2807"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "90cfd87d-204a-4e1f-8989-8eea0064d8ba",
          "FkStockItemId": "88c40541-ac64-419e-95b6-08e097547b9d",
          "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": "618d18ce-d026-4033-b471-3c29f35a4036",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            },
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            }
          ]
        },
        {
          "PkTransferItemId": "90cfd87d-204a-4e1f-8989-8eea0064d8ba",
          "FkStockItemId": "88c40541-ac64-419e-95b6-08e097547b9d",
          "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": "618d18ce-d026-4033-b471-3c29f35a4036",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            },
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "2c0c7e9d-7918-4536-8516-50a56c2d5f86",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "9565d291-0792-430a-b726-07aef6fde158",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
          "NoteRead": true,
          "PkBinId": "818915e9-57e6-4aa3-b30f-a4ebea8e2807"
        },
        {
          "PkTransferBinNoteId": "9565d291-0792-430a-b726-07aef6fde158",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
          "NoteRead": true,
          "PkBinId": "818915e9-57e6-4aa3-b30f-a4ebea8e2807"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "90cfd87d-204a-4e1f-8989-8eea0064d8ba",
          "FkStockItemId": "88c40541-ac64-419e-95b6-08e097547b9d",
          "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": "618d18ce-d026-4033-b471-3c29f35a4036",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            },
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            }
          ]
        },
        {
          "PkTransferItemId": "90cfd87d-204a-4e1f-8989-8eea0064d8ba",
          "FkStockItemId": "88c40541-ac64-419e-95b6-08e097547b9d",
          "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": "618d18ce-d026-4033-b471-3c29f35a4036",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            },
            {
              "PkTransferItemNoteId": "1297c5a7-c7fc-4e39-8477-cd212c82ec8f",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
              "NoteRead": true,
              "FkBinId": "7d380a7a-142d-4ade-b556-8b4aaf84a948",
              "PkTransferItemId": "039e5d06-4bfc-40e2-85b2-c5c40daf4946"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "5faf41d9-20bd-4fbe-911d-9065df1a6e26",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "5faf41d9-20bd-4fbe-911d-9065df1a6e26",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-06-12T09:27:50.6586754+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "d47c3682-8b73-4f5e-a71b-f7958b4270ec",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-06-12T09:27:50.6586754+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "d47c3682-8b73-4f5e-a71b-f7958b4270ec",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-06-12T09:27:50.6586754+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "9fcbc484-1321-422d-9df8-84c873a82a81",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "9fcbc484-1321-422d-9df8-84c873a82a81",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}