Web Service Documentation / Categories / Meter Services / Get ID Hierarchy for Waste Data
Updated on February 22, 2021
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.
23.0
GET
/idHierarchy/wasteData/(wasteDataId)
Field Name | Value | Comments |
---|---|---|
Authorization | Basic credentials |
Yes
Parameter Name | Description |
---|---|
wasteDataId | Id of the waste data record to retrieve the hierarchy |
Request/Response | Schema Name |
---|---|
Request | None |
Response | hierarchy.xsd |
The following example retrieves the hierarchy for a waste data record that has an id of 789.
GET /idHierarchy/wasteData/789
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>