def

func:energyStarOnsiteRenewableDetailWrite

energyStarOnsiteRenewableDetailWrite(conn, meterId, detail)

Write onsite green power renewable details. See https://portfoliomanager.energystar.gov/webservices/home/api/meter/onsite/post for details on this API request.

  • meterId: The meter id of the meter to write details for
  • detail: A Dict containing the details to write. The structure of this Dict must adhere to the onsiteRenewableDetail.xsd schema specified by the API in the link above. It is your responsibility to construct a details that meets the semantic constraints of the api - this func does constraint checking.
detail: {currentAsOf: 2024-12-06, energyUsedOnsite: {recOwnership: "Owned"}, energyExportedToGrid: {recOwnership: "Owned"}}
energyStarOnsiteRenewableDetailWrite(conn, meterId, detail)

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function