1、 function description
Send data to the device through the API interface, and you can also get the data replied by the device, such as: parameter reading, configuration delivery, etc.
Request example:
URL: http://39.108.194.249:8080/808gps/open/setting/StandardApiAction_deviceSetting.action
2、 operating instructions
2.1 request parameter description:
| Parameter name | Type | Must | Description |
|---|---|---|---|
| type | number | yes | 10001: video parameter acquisition 10002: video parameter configuration 10003: electronic fence parameter acquisition 10004: electronic fence parameter configuration |
| jsession | string | Yes | Session number |
| DevIDNO | string | Yes | Device# |
Example url: http:// 39.108.194.249:8080/808gps/open/setting/? Type = 10000 & jsession = xxxx & DevIDNO = 10005
2.2 return parameter description:
Example of correct return:{"cmsserver":"1","result":"0","request":"Device return data"}
request: The parameters returned for the device, not necessarily.
2.3 error code:
Result 3 Parameter error
result 21 Device does not exist
result 22 Device is not online
result 23 Device does not respond
Exception occurred in result 1
Result 7 Parameter error