Set and Get Device Name and Description Information
# Set and Get Device Name and Description Information
# Set Device Name and Description Information
Path:
/api/terminal
Method: PUT
Content-type: application/json; charset=utf-8
API Description: This can be used to set the name and description information of the device.
Request
Name | Type | Example | Description |
---|---|---|---|
name | String | new terminal name | Device name |
leddescription | String | describing the led | Device description |
Example
{
"name": "Terminal1234",
"leddescription": ""
}
# Get Device Name and Description Information
Path:
/api/terminal.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to get the name and description information of the device.
Response
Name | Type | Example | Description |
---|---|---|---|
name | String | new terminal name | Device name |
leddescription | String | describing the led | Device description |
Example
{
"name": "Terminal1234",
"leddescription": ""
}