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=46c0db26-80ed-4ee1-9437-94aa72ac27d6

Response

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

{
  "PkTransferId": "20c18410-74fb-41e0-b5a3-c14719fca5ad",
  "FromLocationId": "35e2cfb1-1034-4b9b-94c8-ad3593df41cd",
  "ToLocationId": "409bd4d3-98fd-47bc-97d8-4c3f588357e1",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-11-28T09:45:58.9934708+00:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "3cfc9918-82ee-489a-a54e-c348641ce34f",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "1370be1f-a521-4c74-8949-219e830940e7",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "2959b73c-5525-44d9-8c3a-5d08e0900439",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
          "NoteRead": true,
          "PkBinId": "d4a08588-61ec-410f-9933-266537ed9836"
        },
        {
          "PkTransferBinNoteId": "2959b73c-5525-44d9-8c3a-5d08e0900439",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
          "NoteRead": true,
          "PkBinId": "d4a08588-61ec-410f-9933-266537ed9836"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "827fedf8-95a1-46f7-97c6-f5a8e38b19b7",
          "FkStockItemId": "6271a6ed-7f67-47b4-990a-49b53805503d",
          "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": "19a5aa5f-3421-4a36-821c-391bbd2fea85",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            },
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            }
          ]
        },
        {
          "PkTransferItemId": "827fedf8-95a1-46f7-97c6-f5a8e38b19b7",
          "FkStockItemId": "6271a6ed-7f67-47b4-990a-49b53805503d",
          "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": "19a5aa5f-3421-4a36-821c-391bbd2fea85",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            },
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "1370be1f-a521-4c74-8949-219e830940e7",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "2959b73c-5525-44d9-8c3a-5d08e0900439",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
          "NoteRead": true,
          "PkBinId": "d4a08588-61ec-410f-9933-266537ed9836"
        },
        {
          "PkTransferBinNoteId": "2959b73c-5525-44d9-8c3a-5d08e0900439",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
          "NoteRead": true,
          "PkBinId": "d4a08588-61ec-410f-9933-266537ed9836"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "827fedf8-95a1-46f7-97c6-f5a8e38b19b7",
          "FkStockItemId": "6271a6ed-7f67-47b4-990a-49b53805503d",
          "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": "19a5aa5f-3421-4a36-821c-391bbd2fea85",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            },
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            }
          ]
        },
        {
          "PkTransferItemId": "827fedf8-95a1-46f7-97c6-f5a8e38b19b7",
          "FkStockItemId": "6271a6ed-7f67-47b4-990a-49b53805503d",
          "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": "19a5aa5f-3421-4a36-821c-391bbd2fea85",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            },
            {
              "PkTransferItemNoteId": "1ff9d6ed-bc87-4d66-913d-e0e7cf39d786",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
              "NoteRead": true,
              "FkBinId": "e31aae6d-45ae-4e2d-9c8e-34570eb7f65f",
              "PkTransferItemId": "e633a080-3311-4c8e-901f-5027f2eaa6fa"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "459a0a95-1e94-4fdc-8cea-867ea879b4ba",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "459a0a95-1e94-4fdc-8cea-867ea879b4ba",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-11-28T09:45:58.9934708+00:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "a25f3150-7ab4-4347-af51-d8c0a48515f8",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-11-28T09:45:58.9934708+00:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "a25f3150-7ab4-4347-af51-d8c0a48515f8",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-11-28T09:45:58.9934708+00:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "058263eb-34a1-44f8-8d6a-016d553aeee2",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "058263eb-34a1-44f8-8d6a-016d553aeee2",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}