Code | Description |
---|---|
401 | Unauthorized - The "token" parameter MUST be provided for each service call. |
422 | Unprocessable Entity - The specified parameters MUST be valid for each service call. |
OK
Param name | Description |
---|---|
id required |
The ID of the building. Validations:
|
name required |
The name of the building. Validations:
|
owner required |
The user that owns the building. Validations:
|
owner[id] required |
The ID of the user that owns the building. Validations:
|
owner[email] required |
The email address of the user that owns the building. Validations:
|
owner[first_name] required |
The first name of the user that owns the building. Validations:
|
owner[last_name] required |
The last name of the user that owns the building. Validations:
|
owner[organization] optional |
The organization to which the user that owns the building is assigned. Validations:
|
owner[organization][id] required |
The ID of the organization to which the user that owns the building is assigned. Validations:
|
owner[organization][name] required |
The name of the organization to which the user that owns the building is assigned. Validations:
|
owner[site_admin] required |
Set to “true” if the user that owns the building is a site administrator. Validations:
|
owner[type] required |
The type of the user. Always: “User” Validations:
|
status required |
The status of the building. Validations:
|
created_at required |
The timestamp for when the building was created. Validations:
|
updated_at required |
The timestamp for when the building was last modified. Validations:
|
html_url required |
The URL for the building in the Asset Score tool. Validations:
|