Get Data Requests
Changed onRetrieves a list of data requests. Admin users receive all data requests, while consumers receive only the data requests they own.
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Datenbezueger, agridata.ch.Agridata_Admin, agridata.ch.Agridata_Datenanbieter)
Query parameters
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
[
{
"dataSourceSystem": {
"code": "AGIS",
"dataProvider": {
"code": "BLW",
"uid": "CHE123456789"
}
},
"humanFriendlyId": "GL56",
"submissionDate": "2025-06-16T11:04:51.823889",
"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"
},
"description": {
"de": "Ziel der Anfrage ist es, Informationen über Bodentypen und deren Qualität zu erhalten, um fundierte Entscheidungen zur Fruchtfolge, Düngung und nachhaltigen Bewirtschaftung treffen zu können.",
"fr": "L'objectif de la demande est d'obtenir des informations sur les types de sols et leur qualité afin de prendre des décisions éclairées concernant la rotation des cultures, la fertilisation et la gestion durable.",
"it": "L'obiettivo della richiesta è ottenere informazioni sui tipi di suolo e sulla loro qualità per prendere decisioni informate sulla rotazione delle colture, la fertilizzazione e la gestione sostenibile."
},
"purpose": {
"de": "Bewertung der Bodenqualität",
"fr": "Évaluation de la qualité du sol",
"it": "Valutazione della qualità del suolo"
},
"terminationPeriodUntil": "2022-03-10",
"dataConsumerLegalName": "Bio Suisse, Vereinigung Schweizer Biolandbau-Organisationen",
"dataConsumerDisplayName": {
"de": "Bio Suisse",
"fr": "Bio Suisse",
"it": "Bio Suisse"
},
"dataConsumerUid": "CHE101708094",
"dataConsumerCity": "Basel",
"dataConsumerZip": "4052",
"dataConsumerStreet": "Peter Merian-Str. 34",
"dataConsumerCountry": "CH",
"contactPhoneNumber": "+41 79 123 45 67",
"contactEmailAddress": "example@labelorganisation.ch",
"dataConsumerLogoBase64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"validRedirectUriRegex": "^https:\\/\\/www\\.dummy-label-organisation\\/.*$",
"advantages": [
{
"de": "Vermeiden von Mehreingaben",
"fr": "Éviter les saisies multiples",
"it": "Evitare inserimenti multipli"
}
],
"burPresent": true
}
]Changes
- warning
added the new
TERMINATEDenum value to the/response property for the response status - warning
added the new
TERMINATION_PENDINGenum value to the/response property for the response status - info
added the optional property
/to the response with the status
- warning
- 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