POST Account/changepassword

Request Information

URI Parameters

None.

Body Parameters

ChangePassword
NameDescriptionTypeAdditional information
CurrentPassword

string

None.

NewPassword

string

Required

SourceId

string

None.

SignUpFrom

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "SourceId": "sample string 3",
  "SignUpFrom": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <CurrentPassword>sample string 1</CurrentPassword>
  <NewPassword>sample string 2</NewPassword>
  <SignUpFrom>sample string 4</SignUpFrom>
  <SourceId>sample string 3</SourceId>
</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

ResponseMessage
NameDescriptionTypeAdditional information
status

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "code": 2,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<CommonHelper.ResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api">
  <code>2</code>
  <message>sample string 3</message>
  <status>1</status>
</CommonHelper.ResponseMessage>