PUT ./institutii/personal

It is used to modify the information for a institution staff.

  • parameters pinstTelChID and pinstTelChResponse will become mandatory if parameter pinstTel is present in the request and it is not empty. Can be obtain from here: POST ./auth/challenge_phone with the intent edit.
  • parameters pinstEmailChID and pinstEmailChResponse will become mandatory if parameter pinstEmail is present in the request and it is not empty. Can be obtain from here: POST ./auth/challenge_email with the intent edit.

PUT parameters

NameValue TypeValidationDetails
pinstIDintRequiredUser ID.
pinstSexintOptionalvalues[1,2]; 1=male, 2=female.
pinstDataNasteriistringOptionalrfc_date; Date of birth.
pinstNumestringOptionalFirst name.
pinstPrenumestringOptionalLast name.
pinstTelstringOptionalPhone number.
pinstTelChIDstringOptionalPhone challenge ID.
pinstTelChResponsestringOptionalPhone challenge response.
pinstEmailstringOptionalEmail address.
pinstEmailChIDstringOptionalEmail challenge ID.
pinstEmailChResponsestringOptionalEmail challenge response.

Validation

Error FieldError CodeError Message
pinstTelChID101Challenge failed. Incorrect pinstTelChID or pinstTelChResponse.
pinstEmailChID102Challenge failed. Incorrect pinstEmailChID or pinstEmailChResponse.

Output example

{
"result": true
}