Contract Revisions

Get Contract Revision Pdf

Returns the pdf of the contract revision

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

Path parameters

idstring uuid required

Query parameters

actingRole'CONSUMER' | 'PROVIDER' | 'ADMIN'

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

Changed in 6 of the 57 revisions of this API.126

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • removed the DATA_PROVIDER_ERROR enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the DATA_PROVIDER_ERROR enum value from the response property for the response status

      response-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

  • 7cee7b14bf6f21See the full diff
    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new optional query request parameter actingRole

      new-optional-request-parameter

    • added the new OTP_EXPIRED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_EXPIRED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_LOCKED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_LOCKED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_RESEND_COOLDOWN enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_RESEND_COOLDOWN enum value to the response property for the response status

      response-property-enum-value-added

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

      api-security-scope-added

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

      api-security-scope-added

    • endpoint added

      endpoint-added