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": "915a6ed0-7e4a-4513-93b0-0108cbe76432",
"Package_IDs": [
"5b43b594-fcf5-497d-a7ed-d4907f782d27",
"362f5ebd-4041-435d-9b13-68549fd0f6fd"
]
}
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>5b43b594-fcf5-497d-a7ed-d4907f782d27</d2p1:guid>
<d2p1:guid>362f5ebd-4041-435d-9b13-68549fd0f6fd</d2p1:guid>
</Package_IDs>
<Release_ID>915a6ed0-7e4a-4513-93b0-0108cbe76432</Release_ID>
</AddToCargoReleaseInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Release_ID":"915a6ed0-7e4a-4513-93b0-0108cbe76432","Package_IDs":["5b43b594-fcf5-497d-a7ed-d4907f782d27","362f5ebd-4041-435d-9b13-68549fd0f6fd"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.