Gatepass Details
Gatepass Details of the Vehicle for a date
URL
costcentremanagement/gatepassdet
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | fY5xy94Xpvu5WK5BP6tVJoPxPmAhgwc3 | Key obtained from authentiaction. |
| cccode | Integer | M | 34484 | Vehicle Code from costcentre cccode | ||
| tdate | String | M | 2022-10-10 | Gatepass Date |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| gatepassdata | Array | M | Details of Gatepass | |||
| gatepassno | Integer | M | 12601 | Gatepass No | ||
| firmname | String | M | Firm Name | Firm Name | ||
| itemname | String | M | SAND,METAL | Items in Gatepass in csv | ||
| customer | String | M | Customer | Name of Customer | ||
| customerphoneno | String | M | 1234567890 | Phone No of Customer | ||
| salesbillno | String | M | BU/1 | If Billed,Sales No else blank | ||
| place | Integer | M | 1 | Place ID | ||
| firmid | Integer | M | 1 | Firm ID | ||
| gatepasssyncid | Integer | M | 437176 | Gate pass syncid | ||
| canc | String | M | F | If cancelled then T else F |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"cccode": "34484",
"tdate": "2022-10-10"
}
Sample Success Response
{
"gatepassdata": [
{
"gatepassno": "12601",
"firmname": "Firm Name",
"itemname": "SAND,METAL",
"customer": "Customer",
"customerphoneno": "1234567890",
"salesbillno": "BU/1",
"place": "1",
"firmid": "1",
"gatepasssyncid": "437176",
"canc": "F"
}
],
"e": 200,
"msg": "Success"
}