Consent Requests

Create Consent Requests

Creates consent requests for given uids, provided the user actually has access to those uids.

post/api/agreement/v1/consent-requests

Request body

dataRequestIdstring uuid required
uidstring required

Response

OK

idstring uuid required
dataProducerUidstring required

UID of the data producer

dataProducerBurstring

BUR of the data producer

isCreatedboolean

Example response

[
  {
    "dataProducerUid": "CHE123456789",
    "dataProducerBur": "A12345678"
  }
]

Changes

Changed in 8 of the 56 revisions of this API.164

    • added the optional property items/dataProducerBur to the response with the 200 status

      response-optional-property-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-removed

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

      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

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

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

      response-property-enum-value-added

    • added the new CONSENT_NOT_GRANTED enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new CONSENT_NOT_GRANTED enum value to the type response property for the response status 500

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new MAINTENANCE enum value to the type response property for the response status 404

      response-property-enum-value-added

    • added the new MAINTENANCE enum value to the type response property for the response status 500

      response-property-enum-value-added

    • endpoint added

      endpoint-added