POST user/ChangePasswordMobile

Request Information

URI Parameters

None.

Body Parameters

ChangePassword
NameDescriptionTypeAdditional information
OTP

string

Required

Data type: Text

OldPassword

string

None.

NewPassword

string

Required

Data type: Password

ConfirmPassword

string

Required

Data type: Password

Username

string

Required

NewUser

boolean

None.

PasswordMessage

string

None.

Token

string

None.

WasSuccessful

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "Username": "sample string 5",
  "NewUser": true,
  "PasswordMessage": "sample string 6",
  "Token": "sample string 7",
  "WasSuccessful": true
}

text/html

Sample:
{"OTP":"sample string 1","OldPassword":"sample string 2","NewPassword":"sample string 3","ConfirmPassword":"sample string 4","Username":"sample string 5","NewUser":true,"PasswordMessage":"sample string 6","Token":"sample string 7","WasSuccessful":true}

application/xml, text/xml

Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.UserManagement">
  <PasswordMessage>sample string 6</PasswordMessage>
  <Token>sample string 7</Token>
  <WasSuccessful>true</WasSuccessful>
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <NewPassword>sample string 3</NewPassword>
  <NewUser>true</NewUser>
  <OTP>sample string 1</OTP>
  <OldPassword>sample string 2</OldPassword>
  <Username>sample string 5</Username>
</ChangePassword>

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 'ChangePassword'.

Response Information

Resource Description

ChangePassword
NameDescriptionTypeAdditional information
OTP

string

Required

Data type: Text

OldPassword

string

None.

NewPassword

string

Required

Data type: Password

ConfirmPassword

string

Required

Data type: Password

Username

string

Required

NewUser

boolean

None.

PasswordMessage

string

None.

Token

string

None.

WasSuccessful

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "Username": "sample string 5",
  "NewUser": true,
  "PasswordMessage": "sample string 6",
  "Token": "sample string 7",
  "WasSuccessful": true
}

text/html

Sample:
{"OTP":"sample string 1","OldPassword":"sample string 2","NewPassword":"sample string 3","ConfirmPassword":"sample string 4","Username":"sample string 5","NewUser":true,"PasswordMessage":"sample string 6","Token":"sample string 7","WasSuccessful":true}

application/xml, text/xml

Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.UserManagement">
  <PasswordMessage>sample string 6</PasswordMessage>
  <Token>sample string 7</Token>
  <WasSuccessful>true</WasSuccessful>
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <NewPassword>sample string 3</NewPassword>
  <NewUser>true</NewUser>
  <OTP>sample string 1</OTP>
  <OldPassword>sample string 2</OldPassword>
  <Username>sample string 5</Username>
</ChangePassword>