Get Outpass
API for Locate the Outpass
URL
securitysystems/outpasslocate
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 | PpVDSPCoANpcifypFnCkijN13BtQpQOw | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| lstOutPass | Array | M | List of Outpass | |||
| slno | Integer | M | 23072500005 | Serial Number | ||
| gateslno | Integer | M | 23072500003 | Serial Number of the Gate In | ||
| vname | String | M | KA01AB3712 | Vehicle Name(reg no.) | ||
| vcode | Integer | M | 46 | Unique code for vehicle | ||
| vtype | String | M | X | Vehicle Type X for External and G for Guest Vehicle | ||
| reason | String | M | reason | Reason Name | ||
| reasonid | Integer | M | 12 | Reason Id | ||
| remark | String | M | remarks | Enter the Remarks | ||
| eventid | String | M | B31 | Event Id for the Event Logging | ||
| usercode | Integer | M | 1 | User Code | ||
| canc | String | M | F | Cancel | ||
| fyear | Integer | M | 23 | Financial Year | ||
| QrCode | String | M | #230725_X_4_0_OPASS_23072500002 | QR Code | ||
| PassType | String | M | None,Manual,Permanent,Credit Gatepass | Pass Type(Enum) |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"lstOutPass": [
{
"slno": "23072500005",
"gateslno": "23072500003",
"vname": "KA01AB3712",
"vcode": "46",
"vtype": "X",
"reason": "reason",
"reasonid": "12",
"remark": "remarks",
"eventid": "B31",
"usercode": "1",
"canc": "F",
"fyear": "23",
"QrCode": "#230725_X_4_0_OPASS_23072500002",
"PassType": "None,Manual,Permanent,Credit Gatepass"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}