POST api/CargoRelease/Cargo/AddToCargoRelease
Request Information
URI Parameters
None.
Body Parameters
AddToCargoReleaseInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Release_ID | globally unique identifier |
None. |
|
| Package_IDs | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Release_ID": "1cfdf68e-abe8-4fde-bb54-dced03021dda",
"Package_IDs": [
"a24af318-430f-433c-884d-4a2ffa3e8bc4",
"77deaad0-89a3-4095-ad81-49210fa5276a"
]
}
application/xml, text/xml
Sample:
<AddToCargoReleaseInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<Package_IDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>a24af318-430f-433c-884d-4a2ffa3e8bc4</d2p1:guid>
<d2p1:guid>77deaad0-89a3-4095-ad81-49210fa5276a</d2p1:guid>
</Package_IDs>
<Release_ID>1cfdf68e-abe8-4fde-bb54-dced03021dda</Release_ID>
</AddToCargoReleaseInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Release_ID":"1cfdf68e-abe8-4fde-bb54-dced03021dda","Package_IDs":["a24af318-430f-433c-884d-4a2ffa3e8bc4","77deaad0-89a3-4095-ad81-49210fa5276a"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.