Get Contract Revision
Changed onRetrieves a specific contract revision by its ID. Accessible by the consumer or provider that owns the associated datarequest.
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Admin, agridata.ch.Agridata_Datenbezueger, agridata.ch.Agridata_Datenanbieter)
Path parameters
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
{
"dataConsumerName": "Bio Suisse, Vereinigung Schweizer Biolandbau-Organisationen",
"dataConsumerCity": "Basel",
"dataProviderName": "BLW",
"dataProviderCity": "Bern",
"dataRequestContext": {
"dataConsumerLogoBase64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
},
"consumerSignatures": [
{
"name": "John Doe",
"timestamp": "2022-03-10T12:15:50"
}
],
"providerSignatures": [
{
"name": "John Doe",
"timestamp": "2022-03-10T12:15:50"
}
]
}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
UID_CLAIM_MISSINGenum value to theresponse property for the response status - warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status
- warning