Web Service Documentation / Categories / Property Services / Edit Energy Performance Project

Edit Energy Performance Project

Updated on July 17, 2013

Description

This web service updates an energy performance project based on the information provided in the XML request. The corresponding property must already be shared with you. The service returns the unique identifier to the updated energy performance project and a link to the corresponding web service to retrieve it.

Version

23.0

HTTP Method

PUT

Resource URL

/energyPerformanceProject/(energyPerformanceProjectId)

Header

Field Name Value Comments
Authorization Basic credentials
Content-Type application/xml

Authorization Required

Yes

Parameters

Parameter Name Description
energyPerformanceProjectId Id to the energy performance project

XML Schemas

Request/Response Schema Name
Request None
Response response.xsd

Example Request

The following example updates a specific energy performance project that has an id of 765.

PUT  /energyPerformanceProject/765

<?xml version="1.0" encoding="UTF-8"?> <energyPerformanceProject> <category>Recommissioning (Stage 1)</category> <investmentCost>650000</investmentCost> <projectDescription>Recommissioning of Ventalation in building</projectDescription> <evaluationPeriod> <preImplementationDate>2011-08-01</preImplementationDate> <postImplementationDate>2012-08-31</postImplementationDate> </evaluationPeriod> <projectName>Duct Work (Phase 2)</projectName> <implementationDate>2011-08-01</implementationDate> <estimatedSavingsCost>750000</estimatedSavingsCost> </energyPerformanceProject>

Example Response

The following example indicates that the energy performance project was successfully updated.

<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
    <id>765</id>
    <links>
        <link httpMethod="GET" link="/energyPerformanceProject/765" id="765" hint="Duct Work (Phase 2)" linkDescription="This is the GET url for this Energy Performance Project."/>
    </links>
</response>
TEST