LIST - List all consent records for individual

GET {{baseUrl}}/service/individual/record/consent-record?offset=<integer>&limit=10

This endpoint is used to list all consent records for an individual belonging to an organiation 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
X-ConsentBB-IndividualIdstring(Required) Individual Id
Acceptstring

RESPONSES

status: OK

{&quot;consentRecords&quot;:[{&quot;dataAgreementId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAgreementRevisionId&quot;:&quot;\u003cstring\u003e&quot;,&quot;individualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;signatureId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;dataAgreementId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAgreementRevisionId&quot;:&quot;\u003cstring\u003e&quot;,&quot;individualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;signatureId&quot;:&quot;\u003cstring\u003e&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;}}