Get Contract Revision
Retrieves a specific contract revision by its ID. Accessible by the consumer or provider that owns the associated datarequest.
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
Changed in 10 of the 56 revisions of this API.1212
- ○
added the optional property
sealStateto the response with the200statusresponse-optional-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
- ●
- ○
the security scope
agridata.ch.Agridata_Adminwas added to the endpoint's security schemeSecuritySchemeapi-security-scope-added
- ○
added the optional property
consumerSignatureTypeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
providerSignatureTypeto the response with the200statusresponse-optional-property-added
- ○
- ○
the security scope
agridata.ch.Agridata_Datenanbieterwas added to the endpoint's security schemeSecuritySchemeapi-security-scope-added
- ○
added the optional property
providerSignaturesto the response with the200statusresponse-optional-property-added
- ○
- ○
added the required property
dataProviderCityto the response with the200statusresponse-required-property-added
- ○
- ○
added the optional property
consumerSignaturesto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○