Set Device Setting Control

Set device setting control by querying PUT to /gkserver/mdvrsetting with a Ventra API account using username, deviceid and password which is in uppercase and SHA-256. When querying the PUT 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
${param1} string value1
${param2} string value2
${paramN} string valueN
Example

Set control setting of device by querying PUT to URL /gkserver/mdvrsetting with username and password

URL https://www.ventracloud.com/gkserver/mdvrsetting PUT /gkserver/mdvrsetting Content-Type: application/json; charset=utf-8

{
    "username":"APIdemo",
    "password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6",
    "deviceid": "ST000737",
    "preosd_plate": " Ventra-9527"
}



Response

The response is an array with hasError true|false and message success|failure.

{ "hasError": false, "message": "success" }
Example

Set device setting control by simply POST to URL /gkevent/eventquery with username and password

POST /gkevent/eventquery Content-Type: application/json; charset=utf-8

{
    "username":"APIdemo",
    "password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6",
    "deviceid": "ST000737",
    "g_sensor_x": "100",
    "g_sensor_y": "100"
}
Response

The response is an array with hasError true|false and message success|failure.

{ "hasError": false, "message": "success" }
  • Contact Us

    Contact Us


  • SHA-256 Converter

    SHA-256 Converter