POST api/v1/updatePassword
Request Information
URI Parameters
None.
Body Parameters
UpdatePasswordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| CurrentPassword | string |
None. |
|
| NewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"CurrentPassword": "sample string 2",
"NewPassword": "sample string 3"
}
application/xml, text/xml
Sample:
<UpdatePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge"> <CurrentPassword>sample string 2</CurrentPassword> <NewPassword>sample string 3</NewPassword> <UserId>1</UserId> </UpdatePasswordRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Message | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"Data": true
}
application/xml, text/xml
Sample:
<ApiResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge"> <Data>true</Data> <Message>sample string 2</Message> <Status>sample string 1</Status> </ApiResponseOfboolean>