Device List
Device List
URL
securitysystems/securitydevicelist
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 | MHjFnmjJSBHrqJ87SiJWstc0XAr7PwN2 | Key obtained from authentiaction. |
| devicetype | String | M | GAT | Device Type has to be specified | ||
| deviceloc | String | M | IN | Device Location For GATE ( IN , OUT ) For Number Capture ( NCAPIN , NCAPOUT ) For Image Capture ( ICAPIN ,ICAPOUT ) |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| lstdevicelistresponseList | Array | M | Devices List | |||
| devicename | String | M | GATE IN | |||
| devicetype | String | M | GAT | Device Type | ||
| deviceloc | String | M | IN | Device Location | ||
| deviceactive | String | M | T | Device Active Status | ||
| id | Integer | M | 1 | Unique Id |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"devicetype": "GAT",
"deviceloc": "IN"
}
Sample Success Response
{
"lstdevicelistresponseList": [
{
"devicename": "GATE IN",
"devicetype": "GAT",
"deviceloc": "IN",
"deviceactive": "T",
"id": "1"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}