POST api/CargoList/PostDeleteCargo
Request Information
URI Parameters
None.
Body Parameters
DeleteCargoInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PackagesToDelete | Collection of PackageDeleteModel |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackagesToDelete": [
{
"SystemId": "e8157a0c-a1bc-4e50-b67c-a738d5bea832",
"BatchId": 1
},
{
"SystemId": "e8157a0c-a1bc-4e50-b67c-a738d5bea832",
"BatchId": 1
}
],
"UserId": 1
}
application/xml, text/xml
Sample:
<DeleteCargoInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.InputOutputModels">
<PackagesToDelete>
<PackageDeleteModel>
<BatchId>1</BatchId>
<SystemId>e8157a0c-a1bc-4e50-b67c-a738d5bea832</SystemId>
</PackageDeleteModel>
<PackageDeleteModel>
<BatchId>1</BatchId>
<SystemId>e8157a0c-a1bc-4e50-b67c-a738d5bea832</SystemId>
</PackageDeleteModel>
</PackagesToDelete>
<UserId>1</UserId>
</DeleteCargoInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"PackagesToDelete":[{"SystemId":"e8157a0c-a1bc-4e50-b67c-a738d5bea832","BatchId":1},{"SystemId":"e8157a0c-a1bc-4e50-b67c-a738d5bea832","BatchId":1}],"UserId":1}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.