POST api/CargoRelease/Cargo/Save
Request Information
URI Parameters
None.
Body Parameters
CargoReleasePackageInputModelName | Description | Type | Additional information |
---|---|---|---|
Release_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:
{ "Release_ID": "af4b01c3-5bdf-4ec5-ba87-5a3eec41bd07", "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:
<CargoReleasePackageInputModel 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> <Release_ID>af4b01c3-5bdf-4ec5-ba87-5a3eec41bd07</Release_ID> <Weight>sample string 6</Weight> <Width>sample string 4</Width> </CargoReleasePackageInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Release_ID":"af4b01c3-5bdf-4ec5-ba87-5a3eec41bd07","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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.