Supported Formats

json

Errors

Code Description
401 Unauthorized - ensure token is being passed with each service call.
401 Access Denied -- Not owner of building and/or the building has not been shared with this user.
404 Unsupported operation
500 Unspecified error on server.
400 Building is not in edit mode. Place building in edit mode first before editing
400 The attribute <attribute> is not a valid attribute, please check and try again
400 The attribute <attribute> which ends with ! can not be changed with the verify method.
400 The attribute <attribute> can not be changed with the verify method. To change this attribute you must delete the building and start again.
400 Can't update <attribute> because building has no <attribute>.

Examples

(json) {
    "token":"1234TokenGoesHere",
    "building": {
      "block_id":"4950",
      "floor:floor_type":"true"
    }
  }

Params

Param name Description
token
required

Identifies the user

Validations:

  • Must be a String

building
required

describes the building

Validations:

  • Must be a Hash

building[block_id]
required

Identifies the block to use

Validations:

  • Must be a String

building[attribute]
required

The attribute to update, i.e floor:floor_type

Validations:

  • Must be a String