POST api/customers/{customerId}/contracts/{contractNo}/meters/{meterId}/settings/building
Save settings for a customer's building. Can set or update Name, HeatingArea, BuildingYear, and/or Residents.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
Customer ID |
integer |
Required |
| contractNo |
Contract number |
integer |
Required |
| meterId |
Meter ID |
string |
Required |
Body Parameters
The properties to update.
Building| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| BuildingYear | integer |
None. |
|
| HeatingArea | integer |
None. |
|
| Residents | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"BuildingYear": 1,
"HeatingArea": 1,
"Residents": 1
}
text/html
Sample:
{"Name":"sample string 1","BuildingYear":1,"HeatingArea":1,"Residents":1}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.