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
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 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-ConsentBB-IndividualId | string | (Required) Individual Id | |
Accept | string |
RESPONSES
status: OK
{"consentRecordHistory":{"id":"\u003cstring\u003e","organisationId":"\u003cstring\u003e","dataAgreementId":"\u003cstring\u003e","log":"\u003cstring\u003e","timestamp":"\u003cstring\u003e"},"pagination":{"currentPage":"\u003cinteger\u003e","totalItems":"\u003cinteger\u003e","totalPages":"\u003cinteger\u003e","limit":"\u003cinteger\u003e","hasPrevious":"\u003cboolean\u003e","hasNext":"\u003cboolean\u003e"}}