POST api/changepassword
Request Information
URI Parameters
None.
Body Parameters
ModPassword| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Password | string |
None. |
|
| OldPassword | string |
None. |
|
| Type | integer |
None. |
|
| otp | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Password": "sample string 2",
"OldPassword": "sample string 3",
"Type": 4,
"otp": 5
}
application/xml, text/xml
Sample:
<ModPassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoleafAPI.Models"> <OldPassword>sample string 3</OldPassword> <Password>sample string 2</Password> <Type>4</Type> <UserId>sample string 1</UserId> <otp>5</otp> </ModPassword>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Payload | Object |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Payload": {},
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoleafAPI.Models"> <Message>sample string 3</Message> <Payload /> <Status>sample string 1</Status> </CommonResponse>