Add Room

Last Updated on : 2023-06-20 15:35:48download

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.