PUT /api/v202110/place/energyStar/submissionType

Updates ENERGY STAR submission type (manual or automatic) for a list of places

UpdateEnergyStarSubmissionTypeV202110 Permissions: BuildingsAndOrganizations (Edit)
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 application/json
{  "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 application/json
{  "selected": 1,  "updated": 1
}