POST api/CargoRelease/Cargo/AddToCargoRelease

Request Information

URI Parameters

None.

Body Parameters

AddToCargoReleaseInputModel
NameDescriptionTypeAdditional information
Release_ID

globally unique identifier

None.

Package_IDs

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Release_ID": "6f4006e6-fa55-4674-8146-f191d689118c",
  "Package_IDs": [
    "ac79990e-96c5-4418-805d-259162252d69",
    "4e8c6578-c612-4359-9332-19688f530160"
  ]
}

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>ac79990e-96c5-4418-805d-259162252d69</d2p1:guid>
    <d2p1:guid>4e8c6578-c612-4359-9332-19688f530160</d2p1:guid>
  </Package_IDs>
  <Release_ID>6f4006e6-fa55-4674-8146-f191d689118c</Release_ID>
</AddToCargoReleaseInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Release_ID":"6f4006e6-fa55-4674-8146-f191d689118c","Package_IDs":["ac79990e-96c5-4418-805d-259162252d69","4e8c6578-c612-4359-9332-19688f530160"]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.