Fetch Gate Management Data
Gate management data fetching for register
URL
securitysystems/gatemgmt_getdata
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 | Xu2r4ZzwqdbE7smQCWmiOV7rVGJLa9E1 | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| lstGateMgmtData | Array | M | List of Gate Management Data | |||
| VehicleName | String | M | KL 01 AA 1234 | Registration number of a vehicle | ||
| VehicleCode | Integer | M | 123 | Unique identification for a vehicle | ||
| VehicleType | String | M | X | Type of Vehicle X External Vehicle O Own Vehicle | ||
| VehicleIn | String | M | 2023-07-21 16:20:31.000 | Date and time of Vehicle entered in the firm through In Gate | ||
| VehicleOut | String | M | 2023-07-24 11:40:00.000 | Date and time of vehicle exited from the firm | ||
| Slno | String | M | 23072400005 | Serial Number of the entry of vehicle | ||
| Purpose | String | M | 1 | Purpose of vehicle entering the vehicle 1 SALES 2 OWNER 3 GUEST 4 STAFF | ||
| Remarks | String | M | REMARKS | Written comment if any | ||
| VehicleInImage | String | M | fe8fc51f97444c5292b23d65ba01dafe | Images details of vehicle entered as string | ||
| VehicleOutImage | String | M | ff320cb6ae42404b87e10f5a7ab19461 | Image details of vehicle exited as string | ||
| Passtype | Integer | M | 0 | Pass Type |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"lstGateMgmtData": [
{
"VehicleName": "KL 01 AA 1234",
"VehicleCode": "123",
"VehicleType": "X",
"VehicleIn": "2023-07-21 16:20:31.000",
"VehicleOut": "2023-07-24 11:40:00.000",
"Slno": "23072400005",
"Purpose": "1",
"Remarks": "REMARKS",
"VehicleInImage": "fe8fc51f97444c5292b23d65ba01dafe",
"VehicleOutImage": "ff320cb6ae42404b87e10f5a7ab19461",
"Passtype": "0"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 401,
"msg": "Invalid authentication credentials."
}
{
"e": 499,
"msg": "Invalid Session"
}