Web Service Documentation / Categories / Property Services / Edit Property Baseline and Target

Edit Property Baseline and Target

Updated on February 10, 2014

Description

This web service updates the energy and water baseline dates and performance target settings for a specific property based on the information provided in the XML request. The corresponding property must already be shared with you. The service returns a link to the corresponding web service to retrieve the information.

Version

23.0

HTTP Method

PUT

Resource URL

/property/(propertyId)/baselineAndTarget

Header

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

Authorization Required

Yes

Parameters

Parameter Name Description
propertyId Id to property

XML Schemas

Request/Response Schema Name
Request baselineAndTarget.xsd
Response response.xsd

Example Request

The following example updates the energy and water baseline dates and performance target settings for a property that has an id of 1765.

PUT  /property/1765/baselineAndTarget

<?xml version="1.0" encoding="UTF-8"?> <baselineAndTarget> <baseline> <energyBaselineDate>2009-10</energyBaselineDate> <waterBaselineDate>System Determined</waterBaselineDate> </baseline> <target> <targetMetric>Target ENERGY STAR Score</targetMetric> <targetValue>80</targetValue> </target> </baselineAndTarget>

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>1765</id>
    <links>
        <link id="1765" hint="Ada Elementary" linkDescription="This is the GET url for this baseline and performance target settings." link="/property/1765/baselineAndTarget" httpMethod="GET"/>
    </links>
</response>
LIVE