Web Service Documentation / Categories / Meter Services / Associate Meter to a Property

Associate Meter to a Property

Updated on August 3, 2015

Description

This web service associates a single meter to a property. You must have any of the following sharing permissions:

- full access on the property and read only access on the meter
- read only access on the property and full access on the meter
- full access for both the property and meter

Any other meters currently associated to the property are unaffected. Any property representation currently assigned to the property (if any) is unaffected.

Version

22.0

HTTP Method

POST

Resource URL

/association/property/(propertyId)/meter/(meterId)

Header

Field Name Value Comments
Authorization Basic credentials

Authorization Required

Yes

Parameters

Parameter Name Description
meterId Id to the meter
propertyId Id to the property

XML Schemas

Request/Response Schema Name
Request None
Response response.xsd

Example Request

The following example associates a meter with an id of 321 to the property that has an id of 100.

POST  /association/property/100/meter/321

Example Response

The following example indicates that the association was performed successfully.

<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
    <links>
        <link httpMethod="GET" link="/association/property/100/meter" linkDescription="This is the GET url for this property meter association list."/>
    </links>
</response>
LIVE