Add Room

Last Updated on : 2024-09-10 01:49:21

Add a room under the family.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueFamily ID

Description of body

Parameter nameTypeINRequiredDescription
nameString trueRoom Name

Return parameter

Parameter nameTypeDescription
resultLong

Request example

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

Return example

3241231

Error code

For more information, see error code.