POST Api/Applicant/SetPassword

Sets an applicants password to a new value, but only if the provided reset-password-code matches.

Request Information

URI Parameters

None.

Body Parameters

Contains the reset-password-code, the new password and the URL of the portal (required for selection of correct password policies).

ApplicantSetPasswordAfterRequestParameter
NameDescriptionTypeAdditional information
Email

string

None.

Code

string

None.

NewPassword

string

None.

Url

URI

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A list of errors (if any), either password policy errors or if the reset-code does not match.

ApplicantSetPasswordResponse
NameDescriptionTypeAdditional information
Errors

Collection of Error

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    0,
    0
  ]
}

application/xml, text/xml

Sample:
<ApplicantSetPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses">
  <Errors>
    <ApplicantSetPasswordResponse.Error>PasswordPolicySymbols</ApplicantSetPasswordResponse.Error>
    <ApplicantSetPasswordResponse.Error>PasswordPolicySymbols</ApplicantSetPasswordResponse.Error>
  </Errors>
</ApplicantSetPasswordResponse>