POST api/Service3/ResetPwd

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordInput
NameDescriptionTypeAdditional information
Msisdn

string

None.

userid

string

None.

simVerificationCode

string

None.

Newpwd

string

None.

Oldpwd

string

None.

iPhone

integer

None.

sUname

string

None.

sPwd

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Msisdn": "sample string 1",
  "userid": "sample string 2",
  "simVerificationCode": "sample string 3",
  "Newpwd": "sample string 4",
  "Oldpwd": "sample string 5",
  "iPhone": 6,
  "sUname": "sample string 7",
  "sPwd": "sample string 8"
}

text/html

Sample:
{"Msisdn":"sample string 1","userid":"sample string 2","simVerificationCode":"sample string 3","Newpwd":"sample string 4","Oldpwd":"sample string 5","iPhone":6,"sUname":"sample string 7","sPwd":"sample string 8"}

application/xml, text/xml

Sample:
<ResetPasswordInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfcare.Models">
  <sPwd>sample string 8</sPwd>
  <sUname>sample string 7</sUname>
  <Msisdn>sample string 1</Msisdn>
  <Newpwd>sample string 4</Newpwd>
  <Oldpwd>sample string 5</Oldpwd>
  <iPhone>6</iPhone>
  <simVerificationCode>sample string 3</simVerificationCode>
  <userid>sample string 2</userid>
</ResetPasswordInput>

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

Response Information

Resource Description

returnModel
NameDescriptionTypeAdditional information
resultCode

integer

None.

resultDesc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "resultCode": 1,
  "resultDesc": "sample string 2"
}

text/html

Sample:
{"resultCode":1,"resultDesc":"sample string 2"}

application/xml, text/xml

Sample:
<returnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfcare.Models">
  <resultCode>1</resultCode>
  <resultDesc>sample string 2</resultDesc>
</returnModel>