POST api/GatePass/PostGatePass
Request Information
URI Parameters
None.
Body Parameters
Collection of S_GatePass| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| GPNo | string |
String length: inclusive between 0 and 15 |
|
| InvoiceNo | string |
String length: inclusive between 0 and 20 |
|
| TransporterId | string |
String length: inclusive between 0 and 15 |
|
| SecurityCheckFlag | string |
None. |
|
| BranchCode | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"GPNo": "sample string 2",
"InvoiceNo": "sample string 3",
"TransporterId": "sample string 4",
"SecurityCheckFlag": "sample string 5",
"BranchCode": 6,
"CreatedBy": 7,
"CreatedOn": "2025-12-17T18:52:11.0910098+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-17T18:52:11.0910098+00:00"
},
{
"Id": 1,
"GPNo": "sample string 2",
"InvoiceNo": "sample string 3",
"TransporterId": "sample string 4",
"SecurityCheckFlag": "sample string 5",
"BranchCode": 6,
"CreatedBy": 7,
"CreatedOn": "2025-12-17T18:52:11.0910098+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-17T18:52:11.0910098+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfS_GatePass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
<S_GatePass>
<BranchCode>6</BranchCode>
<CreatedBy>7</CreatedBy>
<CreatedOn>2025-12-17T18:52:11.0910098+00:00</CreatedOn>
<GPNo>sample string 2</GPNo>
<Id>1</Id>
<InvoiceNo>sample string 3</InvoiceNo>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-12-17T18:52:11.0910098+00:00</ModifiedOn>
<SecurityCheckFlag>sample string 5</SecurityCheckFlag>
<TransporterId>sample string 4</TransporterId>
</S_GatePass>
<S_GatePass>
<BranchCode>6</BranchCode>
<CreatedBy>7</CreatedBy>
<CreatedOn>2025-12-17T18:52:11.0910098+00:00</CreatedOn>
<GPNo>sample string 2</GPNo>
<Id>1</Id>
<InvoiceNo>sample string 3</InvoiceNo>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-12-17T18:52:11.0910098+00:00</ModifiedOn>
<SecurityCheckFlag>sample string 5</SecurityCheckFlag>
<TransporterId>sample string 4</TransporterId>
</S_GatePass>
</ArrayOfS_GatePass>
application/x-www-form-urlencoded
Sample:
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. |