LIST - Fetch all consent records
GET {{baseUrl}}/audit/consent-records?offset=<integer>&limit=10&lawfulBasis=<string>&id=<string>
This endpoint is used to fetch all consent records with pagination for individuals in an organisation defined in the consent building block.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offset | string | Requested index for start of resources to be provided in response requested by client | |
limit | number | Number of items returned per page. Requested number of resources to be provided in response requested by client | |
lawfulBasis | string | Unique ID of an object | |
id | string | ID contains indivitual id, data agreement id or consent record id |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"consentRecords":[{"value":"\u003cError: Could not resolve allOf schema"},{"value":"\u003cError: Could not resolve allOf schema"}],"pagination":{"currentPage":"\u003cinteger\u003e","totalItems":"\u003cinteger\u003e","totalPages":"\u003cinteger\u003e","limit":"\u003cinteger\u003e","hasPrevious":"\u003cboolean\u003e","hasNext":"\u003cboolean\u003e"}}