module PortfolioManager::REST::Property

Property services @see portfoliomanager.energystar.gov/webservices/home/api/property

Public Instance Methods

property(property_id) click to toggle source

This web service retrieves information for a specific property. The property must already be shared with you. This service can also be used for to retrieve information on a building.

@see portfoliomanager.energystar.gov/webservices/home/api/property/property/get

# File lib/portfolio_manager/rest/property.rb, line 27
def property(property_id)
  perform_get_request("/property/#{property_id}")
end
property_list(account_id) click to toggle source

This web service returns a list of properties for a specific customer that are shared with you.

@see portfoliomanager.energystar.gov/webservices/home/api/property/propertyList/get @param [String, Integer] account_id

# File lib/portfolio_manager/rest/property.rb, line 17
def property_list(account_id)
  perform_get_request("/account/#{account_id}/property/list")
end