Get Data Requests
Retrieves a list of data requests. Admin users receive all data requests, while consumers receive only the data requests they own.
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"
},
"dataConsumerLegalName": "Bio Suisse, Vereinigung Schweizer Biolandbau-Organisationen",
"dataConsumerDisplayName": "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"
}
]
}
]Changes
Changed in 22 of the 56 revisions of this API.82621
- ○
added the required property
items/advantagesto the response with the200statusresponse-required-property-added
- ○
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
- ○
removed the
DATA_PROVIDER_ERRORenum value from thetyperesponse property for the response status404response-property-enum-value-removed
- ○
removed the
DATA_PROVIDER_ERRORenum value from thetyperesponse property for the response status500response-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_ERRORenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ○
added the new optional
queryrequest parameteractingRolenew-optional-request-parameter
- ●
- ●
added the new
OTP_EXPIREDenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_EXPIREDenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
OTP_INVALIDenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_INVALIDenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
OTP_LOCKEDenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_LOCKEDenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
OTP_RESEND_COOLDOWNenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_RESEND_COOLDOWNenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
- ○
added the optional property
items/consumerSignatureTypeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/providerSignatureTypeto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
TO_BE_ACTIVATEDenum value to theitems/stateCoderesponse property for the response status200response-property-enum-value-added
- ●
added the new
TO_BE_RELEASED_BY_PROVIDERenum value to theitems/stateCoderesponse property for the response status200response-property-enum-value-added
- ○
added the optional property
items/dataSourceSystem/dataProvider/uidto the response with the200statusresponse-optional-property-added
- ●
- ▲
the response property
items/dataSourceSystem/dataProvider/idbecame optional for the status200response-property-became-optional
- ▲
the response property
items/dataSourceSystem/idbecame optional for the status200response-property-became-optional
- ▲
- ●
added the new
TO_BE_RELEASED_BY_CONSUMERenum value to theitems/stateCoderesponse property for the response status200response-property-enum-value-added
- ●
added the new
TO_BE_SIGNED_BY_CONSUMERenum value to theitems/stateCoderesponse property for the response status200response-property-enum-value-added
- ●
added the new
TO_BE_SIGNED_BY_PROVIDERenum value to theitems/stateCoderesponse property for the response status200response-property-enum-value-added
- ○
removed the
TO_BE_SIGNEDenum value from theitems/stateCoderesponse property for the response status200response-property-enum-value-removed
- ●
- ○
added the optional property
items/currentContractRevisionIdto the response with the200statusresponse-optional-property-added
- ○