Skip to main content

Fetch all consent records

GET 

/audit/consent-records

This endpoint is used to fetch all consent records with pagination for individuals in an organisation defined in the consent building block.

Request

Query Parameters

    offset integerrequired

    Requested index for start of resources to be provided in response requested by client

    limit integerrequired

    Default value: 10

    Number of items returned per page. Requested number of resources to be provided in response requested by client

    lawfulBasis string

    Possible values: [consent, legal_obligation, contract, vital_interest, public_task, legitimate_interest]

    Unique ID of an object

    id string

    ID contains indivitual id, data agreement id or consent record id

    sector string

    sector of the object

Responses

Response Headers
    Schema
      consentRecords object[]
      pagination object
      currentPage integer

      Current page number

      totalItems integer

      Total number of items available

      totalPages integer

      Total number of pages based on limit

      limit integer

      Number of items per page

      hasPrevious boolean

      Indicates if there's a previous page

      hasNext boolean

      Indicates if there's a next page

    Loading...