Cancel Outpass
API for Cancel Outpass
URL
securitysystems/outpasscancel
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 | w47xnRkB4vBhZGDspmzq8Y0EJ8k1jKWh | Key obtained from authentiaction. |
| slno | Integer | M | 23072500001 | Serial Number | ||
| fyear | Integer | M | 23 | Financial Year | ||
| gateslno | Integer | M | 23072500005 | Serial Number of Gate In | ||
| vname | String | M | KA01AD4972 | Vehicle Name[Reg No] | ||
| vcode | Integer | M | 6545 | Unique Code For Vehicle | ||
| vtype | String | M | X | Vehicle Type | ||
| reason | String | M | reason | Reason Name | ||
| reasonid | Integer | M | 3 | Reason Id | ||
| remark | String | M | remarks | Comments If Any | ||
| eventid | Integer | M | 4 | Event Id | ||
| usercode | Integer | M | 3 | User Code | ||
| canc | String | M | F | Cancel | ||
| OutpassDate | String | M | yyyy-MM-dd HH:mm:ss | Out Pass Date | ||
| QrCode | String | M | #230725_X_4_0_OPASS_23072500002 | Qr Code | ||
| PassType | String | M | CashGatepass | Pass Types(None,CreditGatepass,CashGatepass,Manual,Permanent) |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| slno | Integer | M | 23072500001 | Serial Number | ||
| canc | String | M | F | Cancel |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"slno": "23072500001",
"fyear": "23",
"gateslno": "23072500005",
"vname": "KA01AD4972",
"vcode": "6545",
"vtype": "X",
"reason": "reason",
"reasonid": "3",
"remark": "remarks",
"eventid": "4",
"usercode": "3",
"canc": "F",
"OutpassDate": "yyyy-MM-dd HH:mm:ss",
"QrCode": "#230725_X_4_0_OPASS_23072500002",
"PassType": "CashGatepass"
}
Sample Success Response
{
"slno": "23072500001",
"canc": "F",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}