PUT api/{context}/partner/ChangePassword

Update a partner's password using their old web login information.

Request Information

ParameterDescriptionAdditional information
model
A model representing a ChangePassword form, consisting of a UserName, OldPassword, and NewPassword.

Define this parameter in the request body.

Special Field Notes

Field NameNotes
Username
NOT a primary key in Aegis CRM so multiple records could theoretically have the same value.  Uniqueness must be enforced in your client.

Request body formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "ConfirmPassword": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models">
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <Username>sample string 1</Username>
</ChangePasswordModel>