Data Requests
Get Consent Requests Of Data Request And Kt Id Pv 2
Retrieves all consent requests associated with a specific data request and kt-id-p. Accessible to the consumer who owns the data request and for admin users.
get/api/agreement/v2/data-requests/{id}/kt-id-p/{kt-id-p}/consent-requests
Path parameters
idstring uuid required
The UUID of the data request
kt-id-pstring required
The kt-id-p identifier of the producer
Query parameters
actingRole'CONSUMER' | 'ADMIN'
Selects the role in which the authenticated user acts for this request. Optional: if the authenticated user holds exactly one of the allowed roles, the value is auto-resolved. Returns 400 if the value is unknown, not allowed for this endpoint, or omitted while the user holds multiple matching roles. Returns 403 if the user does not hold the role specified in the parameter.
Response
OK
Example response
[
{
"dataProducerUid": "CHE123456789",
"name": "Testorganisation AG"
}
]