Skip to main content

Get Agreement Detail

Read one agreement: its status, consents, configuration and Data Holder.

GET /principal/{principalId}/agreement/{agreementId}

Scope: biza-au:og:agreement:read

Implementation notes​

  • Check status before you query data: only an ACTIVE agreement allows access to CDR data. collectionConsent.scopes lists the data the Consumer agreed to share.
  • The agreement must belong to principalId, or the call returns 403.
  • Call it after the consent redirect, rather than relying on the redirect alone.
  • Send x-v: 2, or x-v: 1 for the earlier payload.

Reference​

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

Loading...