Updates ENERGY STAR submission type (manual or automatic) for a list of places
Use this endpoint to configure whether places submit data to ENERGY STAR automatically or require manual submission.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Request Body
PlaceSubmissionTypeRequest
| Property | Description | Type |
|---|---|---|
| placeIds | The list of places whose submission types will be updated Cannot be Empty Required (defined) | integer[] |
| submissionType | The submission type to apply One of ‘Automatic’, ‘Manual’ Required (defined) | string |
Example Request Body
{ "placeIds": [
1
], "submissionType": "string"
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
UpdateResult
| Property | Description | Type |
|---|---|---|
| selected | The total number of items that were targeted by the bulk operation Required (defined) | integer (int32) |
| updated | The number of items that were actually modified (excludes items that already matched the target state) Required (defined) | integer (int32) |
Example Response
{ "selected": 1, "updated": 1
}