POST api/CargoList/CreateBatchFromPackages
Request Information
URI Parameters
None.
Body Parameters
CreateBatchFromPackageInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageIds | Collection of globally unique identifier |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackageIds": [
"d45ea6e6-351d-4b86-92a6-5cc3e2735e13",
"6cc667f8-21c7-41b2-a76f-55fa5e50e784"
],
"UserId": 1
}
application/xml, text/xml
Sample:
<CreateBatchFromPackageInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.InputOutputModels">
<PackageIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d45ea6e6-351d-4b86-92a6-5cc3e2735e13</d2p1:guid>
<d2p1:guid>6cc667f8-21c7-41b2-a76f-55fa5e50e784</d2p1:guid>
</PackageIds>
<UserId>1</UserId>
</CreateBatchFromPackageInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"PackageIds":["d45ea6e6-351d-4b86-92a6-5cc3e2735e13","6cc667f8-21c7-41b2-a76f-55fa5e50e784"],"UserId":1}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.