POST api/User/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

LoginDto
NameDescriptionTypeAdditional information
Email

string

None.

Guid

string

None.

IsRequestValid

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Password

string

None.

CurrentPassword

string

None.

IsCurrentUserAdmin

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "guid": "sample string 2",
  "isRequestValid": true,
  "errorMessage": "sample string 4",
  "successMessage": "sample string 5",
  "password": "sample string 6",
  "currentPassword": "sample string 7",
  "isCurrentUserAdmin": true
}

application/xml, text/xml

Sample:
<LoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
  <CurrentPassword>sample string 7</CurrentPassword>
  <Email>sample string 1</Email>
  <ErrorMessage>sample string 4</ErrorMessage>
  <Guid>sample string 2</Guid>
  <IsCurrentUserAdmin>true</IsCurrentUserAdmin>
  <IsRequestValid>true</IsRequestValid>
  <Password>sample string 6</Password>
  <SuccessMessage>sample string 5</SuccessMessage>
</LoginDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginDto
NameDescriptionTypeAdditional information
Email

string

None.

Guid

string

None.

IsRequestValid

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Password

string

None.

CurrentPassword

string

None.

IsCurrentUserAdmin

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "guid": "sample string 2",
  "isRequestValid": true,
  "errorMessage": "sample string 4",
  "successMessage": "sample string 5",
  "password": "sample string 6",
  "currentPassword": "sample string 7",
  "isCurrentUserAdmin": true
}

application/xml, text/xml

Sample:
<LoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
  <CurrentPassword>sample string 7</CurrentPassword>
  <Email>sample string 1</Email>
  <ErrorMessage>sample string 4</ErrorMessage>
  <Guid>sample string 2</Guid>
  <IsCurrentUserAdmin>true</IsCurrentUserAdmin>
  <IsRequestValid>true</IsRequestValid>
  <Password>sample string 6</Password>
  <SuccessMessage>sample string 5</SuccessMessage>
</LoginDto>