POST api/CommonAccount/UpdateUserPassword

Request Information

URI Parameters

None.

Body Parameters

UpdateUserPasswordReq
NameDescriptionTypeAdditional information
PhoneNumber

电话号码

string

None.

SmsCode

验证码

string

None.

NewPassword

新密码

string

None.

ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "SmsCode": "sample string 2",
  "NewPassword": "sample string 3",
  "ProductId": 4,
  "Token": "sample string 5",
  "ChannalId": "sample string 6",
  "Version": "sample string 7",
  "language": "sample string 8"
}

application/xml, text/xml

Sample:
<UpdateUserPasswordReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <ChannalId>sample string 6</ChannalId>
  <ProductId>4</ProductId>
  <Token>sample string 5</Token>
  <Version>sample string 7</Version>
  <language>sample string 8</language>
  <NewPassword>sample string 3</NewPassword>
  <PhoneNumber>sample string 1</PhoneNumber>
  <SmsCode>sample string 2</SmsCode>
</UpdateUserPasswordReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 1</Message>
  <Status>2</Status>
</BaseResponse>