Special Instructions

Test Site

https://openapi.iot02.com

Support Postman format import:

https://openapi.iot02.com/swagger/V1/swagger.json

Or load "Juying Cloud Platform Open Interface (RestfulAPI).postman_collection.json"

Canonical format description

Request description
Request address https://{host}/api/v1/
Head section
Name Type Length Constraints Description
Authorization string   M Refer to 1.2 Authentication
Response message parameter description
Name Type Length Constraints Description
success boolean   M true: for success false: for failure
code int   M 200: for success
message string   M Message description
data json   M Data returned by the interface
Response JSON data format
 

Description of device status information

AI AO DI DO are four standard registers.

AI mainly stores sensor data, such as analog information such as air temperature and air humidity.

AO mainly stores the externally output analog information or parameters, such as the configured 4-20mA output.

DI is the optocoupler input state.

DO is the output state of the relay.

For the parameter description of each type of status register, please refer to the parameter description of AI AO DI DO in chapter 1.4.1.

Special Instructions

Test Site

https://openapi.iot02.com

Support Postman format import:

https://openapi.iot02.com/swagger/V1/swagger.json

Or load "Juying Cloud Platform Open Interface (RestfulAPI).postman_collection.json"

Canonical format description

Request description
Request address https://{host}/api/v1/
Head section
Name Type Length Constraints Description
Authorization string   M Refer to 1.2 Authentication
Response message parameter description
Name Type Length Constraints Description
success boolean   M true: for success false: for failure
code int   M 200: for success
message string   M Message description
data json   M Data returned by the interface
Response JSON data format
 

Description of device status information

AI AO DI DO are four standard registers.

AI mainly stores sensor data, such as analog information such as air temperature and air humidity.

AO mainly stores the externally output analog information or parameters, such as the configured 4-20mA output.

DI is the optocoupler input state.

DO is the output state of the relay.

For the parameter description of each type of status register, please refer to the parameter description of AI AO DI DO in chapter 1.4.1.