POST api/Relocate/ItemContent

Relocate item content from its current item to a another item

Request Information

URI Parameters

None.

Body Parameters

RelocateItemContentParameters
NameDescriptionTypeAdditional information
SystemUserId

globally unique identifier

None.

ClientId

globally unique identifier

None.

DestinationLocationId

Must be supplied when DestinatinoItemId is not supplied

globally unique identifier

None.

DestinationItemId

globally unique identifier

None.

DepartureItemId

globally unique identifier

None.

ProductId

globally unique identifier

None.

PackagingId

globally unique identifier

None.

Quantity

decimal number

None.

NetWeight

decimal number

None.

BatchNumber

string

None.

SerialNumber

string

None.

BatchId

globally unique identifier

None.

BestBefore

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SystemUserId": "dae1b121-e887-4f1a-bac0-ea67eccc27d1",
  "ClientId": "a7b07ccc-2ee9-4c1a-9204-3fde116368f9",
  "DestinationLocationId": "dddf9703-8a65-4611-87f4-2c6d764a8be8",
  "DestinationItemId": "aa9d0d29-80d8-4fb6-a65d-5bc7c51457c1",
  "DepartureItemId": "70018c2e-e79c-4c7f-8bd7-91f75ccb9a53",
  "ProductId": "1296c8ab-3f74-4710-873a-3e7c05ba0ad4",
  "PackagingId": "af0c2b8f-aa60-4ac2-81c8-7ffaa95a274f",
  "Quantity": 8.0,
  "NetWeight": 9.0,
  "BatchNumber": "sample string 10",
  "SerialNumber": "sample string 11",
  "BatchId": "be2e61ce-09f8-4ad3-b327-5577d938ef57",
  "BestBefore": "2026-06-25T11:37:05.0687847+02:00"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RelocateItemContentParameters'.

Response Information

Resource Description

Guid of the destination item

globally unique identifier

Response Formats

application/json, text/json

Sample:
"45a08e9a-736c-455a-9810-704139b4783f"