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
Name
Value Type
Validation
Details
pinstID
int
Required
User ID.
pinstSex
int
Optional
values[1,2]; 1=male, 2=female.
pinstDataNasterii
string
Optional
rfc_date; Date of birth.
pinstNume
string
Optional
First name.
pinstPrenume
string
Optional
Last name.
pinstTel
string
Optional
Phone number.
pinstTelChID
string
Optional
Phone challenge ID.
pinstTelChResponse
string
Optional
Phone challenge response.
pinstEmail
string
Optional
Email address.
pinstEmailChID
string
Optional
Email challenge ID.
pinstEmailChResponse
string
Optional
Email challenge response.
Validation
Error Field
Error Code
Error Message
pinstTelChID
101
Challenge failed. Incorrect pinstTelChID or pinstTelChResponse.
pinstEmailChID
102
Challenge failed. Incorrect pinstEmailChID or pinstEmailChResponse.