POST api/CargoList/PostDeleteCargo
Request Information
URI Parameters
None.
Body Parameters
DeleteCargoInputModelName | Description | Type | Additional information |
---|---|---|---|
PackagesToDelete | Collection of PackageDeleteModel |
None. |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PackagesToDelete": [ { "SystemId": "c50faae5-81d1-4f84-b5fb-8e7e0e7a762c", "BatchId": 1 }, { "SystemId": "c50faae5-81d1-4f84-b5fb-8e7e0e7a762c", "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>c50faae5-81d1-4f84-b5fb-8e7e0e7a762c</SystemId> </PackageDeleteModel> <PackageDeleteModel> <BatchId>1</BatchId> <SystemId>c50faae5-81d1-4f84-b5fb-8e7e0e7a762c</SystemId> </PackageDeleteModel> </PackagesToDelete> <UserId>1</UserId> </DeleteCargoInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"PackagesToDelete":[{"SystemId":"c50faae5-81d1-4f84-b5fb-8e7e0e7a762c","BatchId":1},{"SystemId":"c50faae5-81d1-4f84-b5fb-8e7e0e7a762c","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.