POST api/User/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

PasswordChangeViewModel
NameDescriptionTypeAdditional information
oldpassword

string

None.

password

string

None.

admininfoid

integer

None.

customerinfoid

integer

None.

brokerinfoid

integer

None.

logininfoid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "oldpassword": "sample string 1",
  "password": "sample string 2",
  "admininfoid": 3,
  "customerinfoid": 4,
  "brokerinfoid": 5,
  "logininfoid": 6
}

application/xml, text/xml

Sample:
<PasswordChangeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DealsAPI.Models">
  <admininfoid>3</admininfoid>
  <brokerinfoid>5</brokerinfoid>
  <customerinfoid>4</customerinfoid>
  <logininfoid>6</logininfoid>
  <oldpassword>sample string 1</oldpassword>
  <password>sample string 2</password>
</PasswordChangeViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DealsAPI.Models">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>