GET v1/areas?roomSerial={roomSerial}&roomId={roomId}
获取区域信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roomSerial | string |
None. |
|
roomId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of AreaDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
RoomId | integer |
None. |
|
Name | string |
None. |
|
BelongTo | integer |
None. |
|
Tendency | integer |
None. |
|
Serial | string |
None. |
|
Categories | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "roomId": 2, "name": "sample string 3", "belongTo": 4, "tendency": 5, "serial": "sample string 6", "categories": [ 1, 2 ] }, { "id": 1, "roomId": 2, "name": "sample string 3", "belongTo": 4, "tendency": 5, "serial": "sample string 6", "categories": [ 1, 2 ] } ]