LIST - Fetch all data agreements

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

This endpoint is used to fetch all data agreements defined in the consent building block.

Request Params

KeyDatatypeRequiredDescription
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;}}