Skip to main content

Electricity Usage

Read the metering data for the Consumer's service points.

Implementation notes​

  • Path: principalId is the Consumer's identifier from the prime request, and agreementId the agreement the Consumer consented to. The agreement must belong to that Principal and to your Software Product, or the call returns 403.
  • The agreement must be ACTIVE. A primed, expired or revoked agreement returns 403; check it with Get Agreement Detail.
  • Open Gateway calls the Data Holder for every request, with the agreement's tokens, and refreshes them when they expire. It does not store or cache the data (see Data currency).
  • x-v and x-min-v choose the Consumer Data Standards version of the endpoint, as for a call to the Data Holder. When the Consumer is present, send x-fapi-auth-date, x-fapi-customer-ip-address and x-cds-client-headers as the standards require; Open Gateway passes them to the Data Holder.
  • Paths and payloads follow the Consumer Data Standards, under /principal/{principalId}/agreement/{agreementId}/cds-au/.

Get Usage For Electricity Service Point​

GET /principal/{principalId}/agreement/{agreementId}/cds-au/energy/electricity/servicepoints/{servicePointId}/usage

Scope: biza-au:og:cds-au:energy:electricity.usage:read

From the Open Gateway API 4.0.1. See the full reference.

Loading...

Get Bulk Service Point Usage​

GET /principal/{principalId}/agreement/{agreementId}/cds-au/energy/electricity/servicepoints/usage

Scope: biza-au:og:cds-au:energy:electricity.usage:read

From the Open Gateway API 4.0.1. See the full reference.

Loading...

Get Usage For Specific Service Points​

POST /principal/{principalId}/agreement/{agreementId}/cds-au/energy/electricity/servicepoints/usage

Scope: biza-au:og:cds-au:energy:electricity.usage:read

Send the service point IDs in the request body.

From the Open Gateway API 4.0.1. See the full reference.

Loading...