POST api/Consolidation/Cargo/Save

Request Information

URI Parameters

None.

Body Parameters

ConsolidationPackageInputModel
NameDescriptionTypeAdditional information
Consolidation_ID

globally unique identifier

None.

PackageType_ID

integer

None.

Length

string

None.

Width

string

None.

Height

string

None.

Weight

string

None.

NumberOfPieces

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Consolidation_ID": "aaedf4cc-76a2-4f11-a365-df4c281520b6",
  "PackageType_ID": 2,
  "Length": "sample string 3",
  "Width": "sample string 4",
  "Height": "sample string 5",
  "Weight": "sample string 6",
  "NumberOfPieces": 7
}

application/xml, text/xml

Sample:
<ConsolidationPackageInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <Consolidation_ID>aaedf4cc-76a2-4f11-a365-df4c281520b6</Consolidation_ID>
  <Height>sample string 5</Height>
  <Length>sample string 3</Length>
  <NumberOfPieces>7</NumberOfPieces>
  <PackageType_ID>2</PackageType_ID>
  <Weight>sample string 6</Weight>
  <Width>sample string 4</Width>
</ConsolidationPackageInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Consolidation_ID":"aaedf4cc-76a2-4f11-a365-df4c281520b6","PackageType_ID":2,"Length":"sample string 3","Width":"sample string 4","Height":"sample string 5","Weight":"sample string 6","NumberOfPieces":7}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.