announcement

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 / Connection/Share Services / Unshare Meter

Unshare Meter

Updated on July 17, 2013

Description

This web service removes an existing share between you and a specific meter. An optional note indicating the reason can be included too. This optional note is provided in the XML request.

Version

25.0

HTTP Method

POST

Resource URL

/unshare/meter/(meterId)

Header

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

Authorization Required

Yes

Parameters

Parameter Name Description
meterId Id to the meter

XML Schemas

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

Example Request

The following example unshares a meter that has an id of 846.

POST  /unshare/meter/846

<?xml version="1.0" encoding="UTF-8"?> <terminateSharingResponse> <note>Meter no longer exists.</note> </terminateSharingResponse>

Example Response

The following example shows that the unshare was successful.

<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok"/>
TEST