POST api/Device/DelDeviceAsync
删除蓝牙设备
Request Information
URI Parameters
None.
Body Parameters
DelDeviceReq| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
用户ID |
string |
None. |
| DelRelation |
关系组 |
Collection of DelRelation |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"DelRelation": [
{
"DeviceID": "sample string 1",
"GatewayIDs": [
"sample string 1",
"sample string 2"
]
},
{
"DeviceID": "sample string 1",
"GatewayIDs": [
"sample string 1",
"sample string 2"
]
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Error | string |
None. |
|
| Result | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Error": "sample string 2",
"Result": "sample string 3",
"Success": true
}