Device Configuration Locate
Fetch configuration of devices data
URL
securitysystems/deviceconfigurationlocate
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 | XVTlnhytALDNKiwGWZvEKjZ8M6THc2kX | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| lstdevconfigs | Array | M | List of device configurations | |||
| locationid | Integer | M | 1 | Identification number of location | ||
| locationname | String | M | LOCATION | Name of the location | ||
| configtypes | String | M | 1 | Type of configuration 1 GateIn 2 GateOut 3 WeighBridge | ||
| saveddata | String | M | {"key":"J3clbZKCL0GGhCn1KBD/4Q==","locationid":1,"locationname":"dgfhdgfh","configtypes":2,"configprocess":1,"configinitiated":1,"anprname":"ANPR CAM 01","imagecameralist":["fghdfgh"],"gatename":"GATE 01","eventtype":"A","qrcode":"","active":"T","weighbridgename":""} | Details of configuration as json string |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"lstdevconfigs": [
{
"locationid": "1",
"locationname": "LOCATION",
"configtypes": "1",
"saveddata": "{"key":"J3clbZKCL0GGhCn1KBD/4Q==","locationid":1,"locationname":"dgfhdgfh","configtypes":2,"configprocess":1,"configinitiated":1,"anprname":"ANPR CAM 01","imagecameralist":["fghdfgh"],"gatename":"GATE 01","eventtype":"A","qrcode":"","active":"T","weighbridgename":""}"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 401,
"msg": "Invalid authentication credentials."
}
{
"e": 499,
"msg": "Invalid Session"
}