POST api/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| oldPassword | string |
None. |
|
| NewPassword | string |
None. |
|
| RNewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "7d1941a2-179f-4f8e-b429-dafe99c36a86",
"oldPassword": "sample string 2",
"NewPassword": "sample string 3",
"RNewPassword": "sample string 4"
}
text/html
Sample:
{"UserId":"7d1941a2-179f-4f8e-b429-dafe99c36a86","oldPassword":"sample string 2","NewPassword":"sample string 3","RNewPassword":"sample string 4"}
application/xml, text/xml
Sample:
<ChangePasswordDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserId>7d1941a2-179f-4f8e-b429-dafe99c36a86</UserId> <oldPassword>sample string 2</oldPassword> <NewPassword>sample string 3</NewPassword> <RNewPassword>sample string 4</RNewPassword> </ChangePasswordDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Data": {}
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Data":{}}
application/xml, text/xml
Sample:
<ResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Message>sample string 1</Message> <Status>true</Status> <Data /> </ResponseModel>