LIST - List all active data agreements

GET {{baseUrl}}/service/data-agreements?revisionId=<string>&offset=<integer>&limit=10

This endpoint is used to list all active data agreements by the organisation in consent building block. The results are returned with pagination.

Request Params

KeyDatatypeRequiredDescription
revisionIdstringAn object with id revisionId
offsetstringRequested index for start of resources to be provided in response requested by client
limitnumberNumber of items returned per page. Requested number of resources to be provided in response requested by client

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;dataAgreements&quot;:[{&quot;purpose&quot;:&quot;\u003cstring\u003e&quot;,&quot;purposeDescription&quot;:&quot;\u003cstring\u003e&quot;,&quot;controllerUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;controllerName&quot;:&quot;\u003cstring\u003e&quot;,&quot;policy&quot;:{&quot;thirdPartyDataSharing&quot;:&quot;\u003cbool\u003e&quot;},&quot;lifecycle&quot;:&quot;\u003cstring\u003e&quot;,&quot;controllerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAttributes&quot;:[{&quot;value&quot;:&quot;\u003cError: Could not resolve allOf schema&quot;},{&quot;value&quot;:&quot;\u003cError: Could not resolve allOf schema&quot;}],&quot;dpiaSummaryUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;signature&quot;:{}},{&quot;purpose&quot;:&quot;\u003cstring\u003e&quot;,&quot;purposeDescription&quot;:&quot;\u003cstring\u003e&quot;,&quot;controllerUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;controllerName&quot;:&quot;\u003cstring\u003e&quot;,&quot;policy&quot;:{&quot;thirdPartyDataSharing&quot;:&quot;\u003cbool\u003e&quot;},&quot;lifecycle&quot;:&quot;\u003cstring\u003e&quot;,&quot;controllerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAttributes&quot;:[{&quot;value&quot;:&quot;\u003cError: Could not resolve allOf schema&quot;},{&quot;value&quot;:&quot;\u003cError: Could not resolve allOf schema&quot;}],&quot;dpiaSummaryUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;signature&quot;:{}}],&quot;pagination&quot;:{&quot;currentPage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalItems&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cinteger\u003e&quot;,&quot;limit&quot;:&quot;\u003cinteger\u003e&quot;,&quot;hasPrevious&quot;:&quot;\u003cboolean\u003e&quot;,&quot;hasNext&quot;:&quot;\u003cboolean\u003e&quot;}}