Closed mariasoria closed 1 year ago
This functionality is working (RestAPI works as expected and the database confirms it)
In order to avoid testing another feature "Confirmation of email" this has to be executed in database :
At this point, this contact person has permission to register an ESAL
Firstly, it is mandatory to be logged:
Login works with Json Web Token, so the response will give us a Token in order to access some user functionalities and other token for authorization (as Contact Person confirmed Role)
Finally, It is necessary to provide in body the ESAL information (there are validations behind the scenes at least some fields) by POST request:
It can be checked in database in the following tables:
huellapositiva.esals (all data about ESAL)
huellapositva.contact_persons (Relation between Contact_person and Esal