POST api/User/ChangePasswordNeedSMSCode

Change the password by text message captcha

Request Information

Body Parameters

ChangePasswordNeedSMSCode
NameDescriptionTypeAdditional information
LoginName

login name

string

None.

NewPass

New password

string

None.

SMSCode

message authentication code

string

None.

Zone

string

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginName": "sample string 1",
  "NewPass": "sample string 2",
  "SMSCode": "sample string 3",
  "Zone": "sample string 4",
  "Token": "sample string 5",
  "Language": "sample string 6",
  "AppId": "sample string 7"
}

application/xml, text/xml

Sample:
<ChangePasswordNeedSMSCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 7</AppId>
  <Language>sample string 6</Language>
  <Token>sample string 5</Token>
  <LoginName>sample string 1</LoginName>
  <NewPass>sample string 2</NewPass>
  <SMSCode>sample string 3</SMSCode>
  <Zone>sample string 4</Zone>
</ChangePasswordNeedSMSCode>

Response Information

Resource Description

Statestatus code:
0. indicates modifysuccess
1000. The user does not exist
3700. The text message is not correct
3701. The SMS captcha has expired

NormalResult
NameDescriptionTypeAdditional information
Message

Message [in most cases, the message can be used as a prompt]

string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "State": 2
}

application/xml, text/xml

Sample:
<NormalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <Message>sample string 1</Message>
</NormalResult>