Data Requests

Get Consent Requests Of Data Request

Retrieves the consent requests of a specific data request. Accessible to the provider who owns the data request.

get/api/agreement/v1/data-requests/{id}/consent-requests

Path parameters

idstring uuid required

Query parameters

lastModifiedFromstring date-time
Example:2022-03-10T12:15:50

Only consent requests that were modified after this timestamp are returned.

pageinteger
sizeinteger

Response

OK

totalItemsinteger required

Total number of items across all pages.

totalPagesinteger required

Total number of pages available.

currentPageinteger required

Current page number (0-based ).

pageSizeinteger required

Number of items per page.

Example response

{
  "items": [
    {
      "dataProducerUid": "CHE123456789",
      "dataProducerBur": "A123456",
      "grantedDataPeriodFrom": "2022-03-10",
      "grantedDataPeriodTo": "2022-03-10",
      "lastModifiedDateTime": "2025-06-16T11:04:51.823889"
    }
  ],
  "totalItems": 42,
  "totalPages": 5,
  "currentPage": 1,
  "pageSize": 10
}

Changes

Changed in 11 of the 56 revisions of this API.2155

    • added the new LEGALLY_PERMITTED enum value to the items/items/stateCode response property for the response status 200

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the type response property for the response status 500

      response-property-enum-value-added

    • removed the DATA_PROVIDER_ERROR enum value from the type response property for the response status 404

      response-property-enum-value-removed

    • removed the DATA_PROVIDER_ERROR enum value from the type response property for the response status 500

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new DATA_PROVIDER_ERROR enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the new OTP_EXPIRED enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new OTP_EXPIRED enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the new OTP_INVALID enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new OTP_INVALID enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the new OTP_LOCKED enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new OTP_LOCKED enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the new OTP_RESEND_COOLDOWN enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new OTP_RESEND_COOLDOWN enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the optional property items/items/lastModifiedDateTime to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog