PUT ./parinti

Used to change the information of a parent with the following details:

  • the parameter epTelChID and epTelChResponse will become mandatory if the parameter epTel is present in the request and is not empty. It can be obtain from ./auth/challenge_phone with the intent edit.
  • the parameter epEmailChID and epEmailChResponse will become mandatory if the parameter epEmail is present in the request and is not empty. It can be obtain from POST ./auth/challenge_email with the intent edit.

PUT parameters

NameValue TypeValidationDetails
epIDintRequiredID-ul parintelui.
epSexintRequiredGender; 1=male, 2=female.
epDataNasteriistringOptionalrfc_date; Date of birth.
epNumestringOptionalParent's name.
epPrenumestringOptionalParent's first name.
epTelstringOptionalPhone number.
epTelChIDstringOptionalPhone challenge ID.
epTelChResponsestringOptionalPhone challenge response.
epEmailstringOptionalEmail address.
epEmailChIDstringOptionalEmail challenge ID.
epEmailChResponsestringOptionalEmail challenge response.

Validation

Error FieldError CodeError Message
epTelChID101Challenge failed. Incorrect epTelChID or epTelChResponse.
epEmailChID102Challenge failed. Incorrect epEmailChID or epEmailChResponse.

Output example

{
"result": true
}