POST ./utilizatori/send_password

It is used to send a unique password via SMS or to send a link via E-mail to recover password. It can be user by: headmaster, secretary, or classmaster for the student/parent where is part of.

POST parameters

NameValue TypeValidationDetails
uaIDintRequiredUser ID.
sendWithstringRequired,values[email,phone]The code will be sent via email or phone depending on the choise.

Validation

Error FieldError CodeError Message
uaID101Invalid user ID
uaID102The user doesn't have an account created
sendWith103Email address not present or not valid.
sendWith104Phone number not present or not valid.

Output example

{
"result": true
}