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": "ba92e5e0-2c0e-47e1-b3c4-6bb93b870cd1",
"Package_IDs": [
"8f3a817b-87da-4c05-8b9d-ae3786031872",
"6638c678-1bed-4425-ad54-9b2580b21c76"
]
}
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>8f3a817b-87da-4c05-8b9d-ae3786031872</d2p1:guid>
<d2p1:guid>6638c678-1bed-4425-ad54-9b2580b21c76</d2p1:guid>
</Package_IDs>
<Release_ID>ba92e5e0-2c0e-47e1-b3c4-6bb93b870cd1</Release_ID>
</AddToCargoReleaseInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Release_ID":"ba92e5e0-2c0e-47e1-b3c4-6bb93b870cd1","Package_IDs":["8f3a817b-87da-4c05-8b9d-ae3786031872","6638c678-1bed-4425-ad54-9b2580b21c76"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.