Dynamic Detection Display Lan Interface V1.4; Interface Specification; Set Device Password - Black Box BDS-8W Configuration Manual

Hide thumbs Also See for BDS-8W:
Table of Contents

Advertisement

CHAPTER 2: DYNAMIC DETECTION DISPLAY LAN INT. V1.4

2. DYNAMIC DETECTION DISPLAY LAN INTERFACE V1.4

2.1 INTERFACE SPECIFICATION

Š Interface root address: http://device ip address: 8080/
Š
Š Interface form: provide external services through HTTP requests
Š
Š Interface security: The device password (pass) needs to be set first when calling.
Š
Š The interface for the first time, and the device password (pass) needs to be passed in as the interface security verification key for any
Š
subsequent calls to the interface.
Interface returns
Interface general return instructions:
public class ResultInfo <T> {
private Int result; // Indicates whether the interface is tuned up, 1: succeeds, 0: fails, usually as long as the device server can respond, the
value is 1
private Boolean success; // Whether the operation is successful, the success is true, the failure is false private T data; // The business
data returned by the interface, the type can be numeric, string or collection, etc
Interface list

2.2 SET DEVICE PASSWORD

Request method: POST request
Request address: http://device IP:8080/setPassWord
FIELD
oldPass ID
newPass
Request description: For new devices or devices after resetting (restoring initialization), you need to set the initial password before calling
other interfaces. OldPass and newPass can be passed the same value. When changing the password, paste in the new and old password
separately.
Example:
{
"data": "passWord:q", // The device password, also called the interface calling password, please enter it properly. If you forget your
password, you need to reset the device, and the device will erase all data.
"result": 1,// Interface tuning
"success": true// Device password set successfully
}
6
DATE
DATE
REQUEST
String
Y
String
Y
1.877.877.2269
DESCRIPTION
Old password
New password
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bds-8thaBds-8fha

Table of Contents