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": "f3747c66-2bda-4ff9-a083-44d2dcd6df71",
"Package_IDs": [
"f1772822-c438-4618-85ef-d77281e6ec08",
"b00d31a4-3ec1-43df-af00-518d3b83b038"
]
}
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>f1772822-c438-4618-85ef-d77281e6ec08</d2p1:guid>
<d2p1:guid>b00d31a4-3ec1-43df-af00-518d3b83b038</d2p1:guid>
</Package_IDs>
<Release_ID>f3747c66-2bda-4ff9-a083-44d2dcd6df71</Release_ID>
</AddToCargoReleaseInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Release_ID":"f3747c66-2bda-4ff9-a083-44d2dcd6df71","Package_IDs":["f1772822-c438-4618-85ef-d77281e6ec08","b00d31a4-3ec1-43df-af00-518d3b83b038"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.