Add Room

Last Updated on : 2023-06-01 06:20:11download

Add a room under the family.

API address

POST: /v1.0/homes/{home_id}/room

Request parameter

Parameter name Type IN Required Description
home_id String uri true Family ID

Description of body

Parameter name Type IN Required Description
name String true Room Name

Return parameter

Parameter name Type Description
result Long

Request example

POST: /v1.0/homes/312321/room
{
  "name": "kitchen3"
}

Return example

3241231

Error code

For more information, see error code.