Get GateManagement Outpass Data
API for Get Gate Management Outpass Data
URL
securitysystems/gatemgmt_getoutpass
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 | LVwB6NqgBTg7GwldZ8wCH52xpDOUNiZB | Key obtained from authentiaction. |
| SerialNumber | Integer | M | 1 | Serial Number |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| Gatemgmtlist | Array | M | List Of GateMgmt | |||
| Slno | Integer | M | 23072500001 | Serial Number | ||
| GateInSlno | Integer | M | 23072500003 | Serial Number of Gate In | ||
| GateInDate | String | M | 2023-07-25 11:02:59 | Gate In Date | ||
| Cancelled | Boolean | M | False | Cancel | ||
| Qrcode | String | M | #230725_X_4_0_OPASS_23072500002 | Qr Code | ||
| Remarks | String | M | Remarks | Remarks(Comments if any) | ||
| Ucode | Integer | M | 1 | User Code | ||
| Eventid | Integer | M | 18 | Event Id | ||
| CamdetectedVehicle | String | M | KA01AB9605 | Camera Detected Vehicle Name | ||
| CamdetectedTime | String | M | 2023-07-25 16:13:45 | Camera Detected Time | ||
| Vehiclestatus | String | M | T | For Getting Pending Vehicle List (Need to update Status accordingly F - Gate In, T - Gate Out, G - Gatepass,O - Outpass) | ||
| Camimagelist | String | M | fe8fc51f974465ba01dafe,ff320cb6a4b8710f5a7ab19461 | Camera Image List | ||
| gpno | Integer | M | 2307120001 | Serial Number of Invoice_int | ||
| Locationdetails | Object | M | Object of DeviceConfigurationClass | |||
| Vehicledetails | Object | M | Object of Vehicle | |||
| outpassdetails | Object | M | Object of OutPassClass | |||
| weighmentdetails | Array | M | List Of Weighment Transaction | |||
| vcode | Integer | M | 324 | Unique Code for Vehicle | ||
| isExternal | Boolean | M | isExternal | |||
| TareWeight | Decimal | M | 0.00 | Tare Weight | ||
| GrossWeight | Decimal | M | 0.00 | Gross Weight | ||
| TareTime | String | M | 2023-07-25 11:02:59 | Tare Time | ||
| GrossTime | String | M | 2023-07-25 15:42:41 | Gross Time | ||
| ImageIds | String | M | fe8fc51fa01dafe,ff320cb6ae42404 | Image IDs | ||
| Product | Integer | M | 5 | Product Code | ||
| source | String | M | source | Source |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"SerialNumber": "1"
}
Sample Success Response
{
"Gatemgmtlist": [
{
"Slno": "23072500001",
"GateInSlno": "23072500003",
"GateInDate": "2023-07-25 11:02:59",
"Cancelled": "False",
"Qrcode": "#230725_X_4_0_OPASS_23072500002",
"Remarks": "Remarks",
"Ucode": "1",
"Eventid": "18",
"CamdetectedVehicle": "KA01AB9605",
"CamdetectedTime": "2023-07-25 16:13:45",
"Vehiclestatus": "T",
"Camimagelist": "fe8fc51f974465ba01dafe,ff320cb6a4b8710f5a7ab19461",
"gpno": "2307120001",
"Locationdetails": {
"locationid": "1",
"locationname": "locationname",
"configtypes": "None,GateIn,GateOut,WeighBridge",
"configprocess": "None,Automatic,Manual",
"configinitiated": "None,ANPR,Manual,QRCode",
"anprname": "anprname",
"imagecameralist": "fe8fc51f974401dafe,ff320cb6ae42ab19461",
"gatename": "gatename",
"eventtype": "E",
"qrcode": "#230725_X_4_0_OPASS_23072500002",
"autogateinwaitsec": "1000",
"active": "T",
"weighbridgename": "weighbridgename"
},
"Vehicledetails": {
"vcode": "4231",
"vtype": "X",
"vehiclename": "KA01AD4972",
"rgno": "KL17D2939",
"ccode": "2",
"capacity": "0.00",
"ecapacity": "0.00",
"height": "0.00",
"length": "0.00",
"width": "0.00",
"constant": "0.00",
"mtype": "M,I",
"freeze": "F",
"xvtype": "Sales,Staff,Guest,Owner",
"tareweight": "0.0"
},
"outpassdetails": {
"slno": "23072500003",
"gateslno": "23072500007",
"vname": "KA01AB3712",
"vcode": "324",
"vtype": "X",
"reason": "reason",
"reasonid": "45",
"remark": "remark",
"eventid": "B23",
"usercode": "1",
"canc": "F",
"fyear": "23",
"QrCode": "#230725_X_4_0_OPASS_23072500002",
"PassType": "None,CreditGatepass,CashGatepass,Manual,Permanent",
"OutpassDate": "yyyy-MM-dd HH:mm:ss"
},
"weighmentdetails": [
{
"vcode": "324",
"isExternal": "",
"TareWeight": "0.00",
"GrossWeight": "0.00",
"TareTime": "2023-07-25 11:02:59",
"GrossTime": "2023-07-25 15:42:41",
"ImageIds": "fe8fc51fa01dafe,ff320cb6ae42404",
"Product": "5",
"source": "source"
}
]
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}