consents
Create or update informed consent (v2)
Changed onSubmit informed consent form without the tax data transmission consent, which is handled by PUT /patients/tax-deduction-consent.
post/api/consents/v2
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/consents/v2
- Auth: HTTP bearer
Request body
Example request
{
"consent_type": "psychological",
"form_data": {
"birth_date": "15/03/1990",
"birth_place": "Milano",
"consent_given": true,
"first_name": "Mario",
"last_name": "Rossi",
"residence": "Via Roma 123, Milano (MI)",
"tax_code": "RSSMRA90C15F205X"
},
"operator_id": "123e4567-e89b-12d3-a456-426614174000"
}Response
Successful Response
Example response
{
"consent_id": "123e4567-e89b-12d3-a456-426614174001",
"message": "Modulo consenso inviato. OTP inviato alla tua email.",
"next_action": "verify_otp",
"status": "pending_otp"
}Changes
- warning
removed the request property
/
- warning