Get Device Setting Control
Get device setting control by querying POST to /gkserver/mdvrsetting with
a Ventra API
account using username, deviceid and password which is in
uppercase and SHA-256. When
querying the POST method to /gkserver/mdvrsetting, the system will return all device
setting
control. With Content-Type: application/json; charset=utf-8
Parameters
| Name of Parameter | Type | Description |
|---|---|---|
| username | string | Required username |
| password | string | Required SHA-256 of your password
which is uppercase |
| deviceid | string | Required deviceid |
Example
Get device setting control by querying POST to URL /gkserver/mdvrsetting
with username and password
URL https://www.ventracloud.com/gkserver/mdvrsetting
POST /gkserver/mdvrsetting
Content-Type: application/json; charset=utf-8
{
"username":"APIdemo",
"password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6",
"deviceid": "ST000737"
}
Response
The response is an array of device setting control with details.
{
"g_sensor_en": 1,
"g_sensor_x": 205,
"g_sensor_y": 205,
"g_sensor_z": 486,
"preosd_plate": "Ventra-9527",
"sys_tz": 28800,
"sys_dst": "0,0,0",
"sys_spdparam": null,
"sys_accoffsec": 15,
"sys_eisp": "0,70,90",
"sys_edsp": "0,60,80",
"sys_turn": "0,0,0",
"sys_gguard": 9,
"net_hbsec": 0,
"net_server": "www.ventracloud.com:13579",
"net_wfssid": "VENTRA",
"net_wfpwd": "12345678",
"net_2ndserver": "www.ventracloud.com:13579",
"net_2ndhb": 30,
"net_2nden": 0,
"cam_rec": "1111",
"cam_mirror": "0123",
"enc_sres": "720P",
"enc_sfps": 7,
"enc_sbit": 96
}
