POST api/PickupAndDelivery/Cargo/CreateMultiple

Request Information

URI Parameters

None.

Body Parameters

MuliplePackageInputModel
NameDescriptionTypeAdditional information
Parent_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:
{
  "Parent_ID": "98fe2d50-0261-479b-9282-f6996f080740",
  "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:
<MuliplePackageInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <Height>sample string 5</Height>
  <Length>sample string 3</Length>
  <NumberOfPieces>7</NumberOfPieces>
  <PackageType_ID>2</PackageType_ID>
  <Parent_ID>98fe2d50-0261-479b-9282-f6996f080740</Parent_ID>
  <Weight>sample string 6</Weight>
  <Width>sample string 4</Width>
</MuliplePackageInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Parent_ID":"98fe2d50-0261-479b-9282-f6996f080740","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.