English
English
简体中文
Contact Us
Register
Log In

Add Room

Last Updated on : 2022-04-29 05:35:06download

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.