Utility Listing Methods
The following methods accept different inputs and return the same utility information output as a XML document. This document is in the form of an array of string indexed arrays values (a 2 dimentional hash table).
doGetUtilityListByState: This accepts either a state’s full name or it’s 2 letter abbreviation as a string.
doGetUtilityListByZip: This accepts a 5 digit zip code as an integer.
The XML returned contains the following values:
name: the name of the utility
util_id: the internal TAP utility id
state: the state in which the utility is headquartered
country: the country in which the utility operates
url: a link to the utility’s home page within TAP
eia_code: a unique code given to each utility in the United States by the E.I.A.
The key value returned for each utility is util_id, which can then used to run the Tariff Listing Methods.