Web Service Documentation / Categories / Meter Services / Get ID Hierarchy for Waste Data

Get ID Hierarchy for Waste Data

Updated on February 22, 2021

Description

This web service returns the accountId, propertyId, and meterId that correspond to a specific waste data record. The accountId returned is the Property Data Administrator (PDA). The corresponding meter must already be shared with you or you must have pending share access.

Version

23.0

HTTP Method

GET

Resource URL

/idHierarchy/wasteData/(wasteDataId)

Header

Field Name Value Comments
Authorization Basic credentials

Authorization Required

Yes

Parameters

Parameter Name Description
wasteDataId Id of the waste data record to retrieve the hierarchy

XML Schemas

Request/Response Schema Name
Request None
Response hierarchy.xsd

Example Request

The following example retrieves the hierarchy for a waste data record that has an id of 789.

GET  /idHierarchy/wasteData/789

Example Response

The following example returns the accountId, propertyId, and meterId for a waste data record that has an id of 789.

<?xml version="1.0" encoding="UTF-8"?>
<hierarchy>
     <accountId>987</accountId>
     <username>johndoe</username>
     <propertyId>345</propertyId>
     <propertyUseId>246</propertyUseId>
     <meterId>456</meterId>
     <wasteDataId>789</wasteDataId>
</hierarchy>
LIVE