POST api/authorize/resetpassword

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordRequest
NameDescriptionTypeAdditional information
Token

string

None.

Password

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ResetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.Authorize">
  <Password>sample string 2</Password>
  <Token>sample string 1</Token>
</ResetPasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Errors

Collection of Error

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "PropertyName": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "PropertyName": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "IsValid": false
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
  <Errors>
    <Error>
      <Message>sample string 2</Message>
      <PropertyName>sample string 1</PropertyName>
    </Error>
    <Error>
      <Message>sample string 2</Message>
      <PropertyName>sample string 1</PropertyName>
    </Error>
  </Errors>
</ApiResponse>