POST api/CargoList/AddPackagesToBatch
Request Information
URI Parameters
None.
Body Parameters
AddPackagesToBatchInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageIds | Collection of globally unique identifier |
None. |
|
| BatchId | integer |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackageIds": [
"62177c4c-29f7-4492-a6e2-b908608b7fa3",
"0be69c0b-1b42-4e5e-89d1-29788c523389"
],
"BatchId": 1,
"UserId": 2
}
application/xml, text/xml
Sample:
<AddPackagesToBatchInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.InputOutputModels">
<BatchId>1</BatchId>
<PackageIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>62177c4c-29f7-4492-a6e2-b908608b7fa3</d2p1:guid>
<d2p1:guid>0be69c0b-1b42-4e5e-89d1-29788c523389</d2p1:guid>
</PackageIds>
<UserId>2</UserId>
</AddPackagesToBatchInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"PackageIds":["62177c4c-29f7-4492-a6e2-b908608b7fa3","0be69c0b-1b42-4e5e-89d1-29788c523389"],"BatchId":1,"UserId":2}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.