During the current lapse in appropriations, EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. Many services may not be available during this time.
Web Service Documentation / Categories / Reporting Services / Add Data Response
Updated on October 10, 2023
25.0
POST
/reports/customers/(customerId)/dataResponses
| Field Name | Value | Comments |
|---|---|---|
| Authorization | Basic credentials |
Yes
| Parameter Name | Description |
|---|---|
| customerId | Id of the customer |
| Request/Response | Schema Name |
|---|---|
| Request | dataResponse.xsd |
| Response | response.xsd |
The following example creates a data response for a specific data request that has an id of 34343 that belongs to a customer with an id of 675434.
POST /reports/customers/675434/dataResponse<?xml version="1.0" encoding="UTF-8"?> <dataResponse> <dataRequestId>34343</dataRequestId> <properties> <id>3454</id> <id>144976</id> <id>1565655</id> </properties> </dataResponse>
The following example shows the results when you call this web service.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<link id="9876" httpMethod="GET" link="/reports/customers/675434/dataResponses/9876" linkDescription="This is the GET url for this DataResponse." hint="Energy Report 2023-DataRequest"/>
</response>
