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.WarehouseTransfer.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=1639b117-7558-4291-a826-c1e3d6de6a22

Response

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

{
  "PkTransferId": "1180c668-ef58-4d00-825e-89eed9cd3392",
  "FromLocationId": "f568418c-7c28-46c6-9797-dd3290a7f9da",
  "ToLocationId": "6825c90c-d227-4279-99d1-0f094824d288",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2018-02-19T16:57:07.1990964+00:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "284e4189-69b6-4295-be8b-efef08dac067",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "0b42f8bc-de2a-4c70-92bc-6362f5c58c77",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "785f6565-87f2-4dcd-beb3-856b3b53d8a3",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
          "NoteRead": true,
          "PkBinId": "52882797-8d61-4517-9f72-1a41ef23cc36"
        },
        {
          "PkTransferBinNoteId": "785f6565-87f2-4dcd-beb3-856b3b53d8a3",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
          "NoteRead": true,
          "PkBinId": "52882797-8d61-4517-9f72-1a41ef23cc36"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "dc09bd54-5fde-4d44-979d-f189f657fb6e",
          "FkStockItemId": "f21bb64a-5c10-41d7-9ff5-766b6247199c",
          "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": "a71e06ae-d2d8-48f2-9032-7f066b24e3e4",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            },
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            }
          ]
        },
        {
          "PkTransferItemId": "dc09bd54-5fde-4d44-979d-f189f657fb6e",
          "FkStockItemId": "f21bb64a-5c10-41d7-9ff5-766b6247199c",
          "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": "a71e06ae-d2d8-48f2-9032-7f066b24e3e4",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            },
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "0b42f8bc-de2a-4c70-92bc-6362f5c58c77",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "785f6565-87f2-4dcd-beb3-856b3b53d8a3",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
          "NoteRead": true,
          "PkBinId": "52882797-8d61-4517-9f72-1a41ef23cc36"
        },
        {
          "PkTransferBinNoteId": "785f6565-87f2-4dcd-beb3-856b3b53d8a3",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
          "NoteRead": true,
          "PkBinId": "52882797-8d61-4517-9f72-1a41ef23cc36"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "dc09bd54-5fde-4d44-979d-f189f657fb6e",
          "FkStockItemId": "f21bb64a-5c10-41d7-9ff5-766b6247199c",
          "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": "a71e06ae-d2d8-48f2-9032-7f066b24e3e4",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            },
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            }
          ]
        },
        {
          "PkTransferItemId": "dc09bd54-5fde-4d44-979d-f189f657fb6e",
          "FkStockItemId": "f21bb64a-5c10-41d7-9ff5-766b6247199c",
          "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": "a71e06ae-d2d8-48f2-9032-7f066b24e3e4",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            },
            {
              "PkTransferItemNoteId": "6037f866-7c81-496c-872a-cd3426b79c1d",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
              "NoteRead": true,
              "FkBinId": "bd84ce76-3a9f-4db3-83a9-c4498d87a91e",
              "PkTransferItemId": "c622e70c-df46-49dc-bea0-9b053a9a7b7c"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "8ddb91ed-d91d-4ce1-8657-ca7426b4e368",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "8ddb91ed-d91d-4ce1-8657-ca7426b4e368",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-02-19T16:57:07.1990964+00:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "ffd8472b-9d48-4dc6-824c-3e6d72db9363",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-02-19T16:57:07.1990964+00:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "ffd8472b-9d48-4dc6-824c-3e6d72db9363",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-02-19T16:57:07.1990964+00:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "fd489048-9753-46fa-9582-c3993b3f0888",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "fd489048-9753-46fa-9582-c3993b3f0888",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}