DELETE api/GatePass/Delete?id={id}&date={date}&vUserID={vUserID}&SBUID={SBUID}&isGatePassGP={isGatePassGP}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| date | date |
Required |
|
| vUserID | integer |
Required |
|
| SBUID | integer |
Default value is 0 |
|
| isGatePassGP | boolean |
Default value is False |
Body Parameters
Collection of GatePassBody| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNo | integer |
None. |
|
| GatePassId | integer |
None. |
|
| CommodityId | integer |
None. |
|
| BagTypeId | integer |
None. |
|
| BagsClassID | integer |
None. |
|
| SalesId | integer |
None. |
|
| BagWeight | decimal number |
None. |
|
| NoOfBags | integer |
None. |
|
| TotalWeight | decimal number |
None. |
|
| CommodityName | string |
None. |
|
| BagsType | string |
None. |
|
| BagsClass | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SerialNo": 1,
"GatePassId": 2,
"CommodityId": 3,
"BagTypeId": 4,
"BagsClassID": 5,
"SalesId": 6,
"BagWeight": 7.0,
"NoOfBags": 8,
"TotalWeight": 9.0,
"CommodityName": "sample string 10",
"BagsType": "sample string 11",
"BagsClass": "sample string 12"
},
{
"SerialNo": 1,
"GatePassId": 2,
"CommodityId": 3,
"BagTypeId": 4,
"BagsClassID": 5,
"SalesId": 6,
"BagWeight": 7.0,
"NoOfBags": 8,
"TotalWeight": 9.0,
"CommodityName": "sample string 10",
"BagsType": "sample string 11",
"BagsClass": "sample string 12"
}
]
application/xml, text/xml
Sample:
<ArrayOfGatePassBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects">
<GatePassBody>
<BagTypeId>4</BagTypeId>
<BagWeight>7</BagWeight>
<BagsClass>sample string 12</BagsClass>
<BagsClassID>5</BagsClassID>
<BagsType>sample string 11</BagsType>
<CommodityId>3</CommodityId>
<CommodityName>sample string 10</CommodityName>
<GatePassId>2</GatePassId>
<NoOfBags>8</NoOfBags>
<SalesId>6</SalesId>
<SerialNo>1</SerialNo>
<TotalWeight>9</TotalWeight>
</GatePassBody>
<GatePassBody>
<BagTypeId>4</BagTypeId>
<BagWeight>7</BagWeight>
<BagsClass>sample string 12</BagsClass>
<BagsClassID>5</BagsClassID>
<BagsType>sample string 11</BagsType>
<CommodityId>3</CommodityId>
<CommodityName>sample string 10</CommodityName>
<GatePassId>2</GatePassId>
<NoOfBags>8</NoOfBags>
<SalesId>6</SalesId>
<SerialNo>1</SerialNo>
<TotalWeight>9</TotalWeight>
</GatePassBody>
</ArrayOfGatePassBody>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |