Consent Request Aggregations
Get Consent Request Aggregations
Changed onRetrieves summary aggregated consent requests for the current data producer, grouped by data request.
get/api/agreement/v1/consent-request-aggregations
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Einwilliger, agridata.ch.Agridata_Support)
Query parameters
dataProducerUidstring required
Filter to retrieve consent requests for a specific producer UID.
Response
OK
Example response
[
{
"requestDate": "2022-03-10",
"showStateAsMigrated": true,
"showStateAsMigratedFromMaf": true,
"showStateAsMigratedFromTvd": true,
"lastStateChangeDate": "2022-03-10T12:15:50",
"dataRequest": {
"dataConsumerDisplayName": {
"de": "Bio Suisse",
"fr": "Bio Suisse",
"it": "Bio Suisse"
},
"dataConsumerLogoBase64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"dataConsumerCity": "Basel",
"title": {
"de": "Anfrage zu Bodentypen und Bodenqualitätsdaten",
"fr": "Demande sur les types de sols et les données de qualité du sol",
"it": "Richiesta sui tipi di suolo e sui dati sulla qualità del suolo"
}
}
}
]Changes
- warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status
- warning
- warning
added the new
WITHDRAWNenum value to the///response property for the response status
- warning