LIST - List consent record history

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

This endpoint is used to list all consent record history existing for an individual in an organisation defined in the consent building block. The response is paginated.

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;consentRecordHistory&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;organisationId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAgreementId&quot;:&quot;\u003cstring\u003e&quot;,&quot;log&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&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;}}