There has been a lapse in Environmental Protection Agency appropriations. EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. If you submit a question, application, or request to EPA, it may not be processed during this period.
Web Service Documentation / Categories / Reporting Services / Edit Report
Updated on February 12, 2023
25.0
PUT
/reports/(reportId)
| Field Name | Value | Comments |
|---|---|---|
| Authorization | Basic credentials | |
| Content-Type | application/xml |
Yes
| Parameter Name | Description |
|---|---|
| reportId | Id of the report |
| Request/Response | Schema Name |
|---|---|
| Request | report.xsd |
| Response | response.xsd |
The following example updates a report.
PUT /reports/2345<?xml version="1.0" encoding="UTF-8"?> <report> <timeframe> <currentPeriod> <meterType>ENERGY</meterType> </currentPeriod> </timeframe> <properties> <id>3454</id> <id>144976</id> <id>1565655</id> </properties> </report>
The following example shows the results when you call this web service.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<links>
<link id="2345" httpMethod="GET" link="/reports/2345" linkDescription="This is the GET url for this Report." hint="My Energy Report 2022"/>
</links>
</response>
