POST api/changepassword
Request Information
URI Parameters
None.
Body Parameters
ModChangePass| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | string |
None. |
|
| oldpassword | string |
None. |
|
| newpassword | string |
None. |
|
| confpassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userid": "sample string 1",
"oldpassword": "sample string 2",
"newpassword": "sample string 3",
"confpassword": "sample string 4"
}
application/xml, text/xml
Sample:
<ModChangePass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models"> <confpassword>sample string 4</confpassword> <newpassword>sample string 3</newpassword> <oldpassword>sample string 2</oldpassword> <userid>sample string 1</userid> </ModChangePass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ModOtpResp| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ModOtpResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models"> <Message>sample string 2</Message> <Status>1</Status> </ModOtpResp>