Contract Revisions

Get Contract Revision Pdf

Changed on

Returns the pdf of the contract revision. Data producers can only access the current contract revision of a data request for which they have a consent request aggregation.

get/api/agreement/v1/contract-revisions/{id}/pdf

Request

  • The document declares no server URL.
  • Auth
    OpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Admin, agridata.ch.Agridata_Datenanbieter, agridata.ch.Agridata_Datenbezueger, agridata.ch.Agridata_Einwilliger, agridata.ch.Agridata_Support)

Path parameters

idstring uuid required

Query parameters

actingRole'CONSUMER' | 'PROVIDER' | 'PRODUCER' | 'ADMIN' | 'SUPPORT'

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

Changes

    • warning

      added the new EXPORT_CAPACITY_EXHAUSTED enum value to the response property for the response status

    • warning

      added the new EXPORT_CAPACITY_EXHAUSTED enum value to the response property for the response status

    • warning

      added the new EXPORT_LIMIT_EXCEEDED enum value to the response property for the response status

    • warning

      added the new EXPORT_LIMIT_EXCEEDED enum value to the response property for the response status

    • info

      the security scope agridata.ch.Agridata_Einwilliger was added to the endpoint's security scheme SecurityScheme

    • info

      the security scope agridata.ch.Agridata_Support was added to the endpoint's security scheme SecurityScheme

    • info

      added the new enum value PRODUCER to the query request parameter actingRole

    • info

      added the new enum value SUPPORT to the query request parameter actingRole

    • warning

      added the new UID_CLAIM_MISSING enum value to the response property for the response status

    • warning

      added the new UID_CLAIM_MISSING enum value to the response property for the response status