POST api/Pallets/AddItemToPallet

Request Information

URI Parameters

None.

Body Parameters

AddItemToPalletViewModel
NameDescriptionTypeAdditional information
ItemId

integer

Required

PalletId

integer

Required

Quantity

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "ItemId": 1,
  "PalletId": 2,
  "Quantity": 3
}

application/xml, text/xml

Sample:
<AddItemToPalletViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Pallets">
  <ItemId>1</ItemId>
  <PalletId>2</PalletId>
  <Quantity>3</Quantity>
</AddItemToPalletViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.