POST api/AccountApi/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

UserChangePassword
NameDescriptionTypeAdditional information
Password

string

None.

ActivationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Password": "sample string 1",
  "ActivationKey": "sample string 2"
}

application/xml, text/xml

Sample:
<UserChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain">
  <ActivationKey>sample string 2</ActivationKey>
  <Password>sample string 1</Password>
</UserChangePassword>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserChangePassword'.

Response Information

Resource Description

APIErrors
NameDescriptionTypeAdditional information
HasErrors

boolean

None.

ErrorList

Collection of APIErrorMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "HasErrors": true,
  "ErrorList": [
    {
      "Message": "sample string 1",
      "Source": "sample string 2"
    },
    {
      "Message": "sample string 1",
      "Source": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<APIErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain">
  <ErrorList>
    <APIErrorMessage>
      <Message>sample string 1</Message>
      <Source>sample string 2</Source>
    </APIErrorMessage>
    <APIErrorMessage>
      <Message>sample string 1</Message>
      <Source>sample string 2</Source>
    </APIErrorMessage>
  </ErrorList>
  <HasErrors>true</HasErrors>
</APIErrors>