Create Consent Requests For Data Request
Changed onCreates the consent requests of a single data producer UID for a data request. A UID-based consent request is created if it does not exist yet. BURs may only be provided if the data request contains at least one BUR-based data product. When BURs are provided, they are validated against the UID's BURs in AGIS and a BUR-based consent request is created for each of them. Accessible to the consumer who owns the data request.
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Datenbezueger)
Path parameters
The UUID of the data request
Request body
Example request
{
"uid": "CHE101000001",
"burs": [
"A12345678",
"A12345679"
]
}Response
OK
Example response
[
{
"dataProducerUid": "CHE123456789",
"dataProducerBur": "A12345678"
}
]Changes
- warning
changed the pattern of the request property
/from^A\d{8}$to^[A-Za-z0-9]{8,9}$ - 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
- info
endpoint added
- info