POST api/Login/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
vmVerifyOTP| Name | Description | Type | Additional information |
|---|---|---|---|
| UsrId | string |
None. |
|
| UsrPwd | string |
None. |
|
| Pat_Id | integer |
None. |
|
| PAT_LABOURCARDNO | string |
None. |
|
| PAT_GSMNO | string |
None. |
|
| Usr_Type | string |
None. |
|
| otp | string |
None. |
|
| newpassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UsrId": "sample string 1",
"UsrPwd": "sample string 2",
"Pat_Id": 3,
"PAT_LABOURCARDNO": "sample string 4",
"PAT_GSMNO": "sample string 5",
"Usr_Type": "sample string 6",
"otp": "sample string 7",
"newpassword": "sample string 8"
}
application/xml, text/xml
Sample:
<LoginController.vmVerifyOTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lab.Controllers"> <PAT_GSMNO>sample string 5</PAT_GSMNO> <PAT_LABOURCARDNO>sample string 4</PAT_LABOURCARDNO> <Pat_Id>3</Pat_Id> <UsrId>sample string 1</UsrId> <UsrPwd>sample string 2</UsrPwd> <Usr_Type>sample string 6</Usr_Type> <newpassword>sample string 8</newpassword> <otp>sample string 7</otp> </LoginController.vmVerifyOTP>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| ValidationMessage | string |
None. |
|
| ResultData | Object |
None. |
|
| AuthorizationToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"ValidationMessage": "sample string 2",
"ResultData": {},
"AuthorizationToken": "sample string 4"
}
application/xml, text/xml
Sample:
<ValidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lab.Models"> <AuthorizationToken>sample string 4</AuthorizationToken> <ResultData /> <ValidationMessage>sample string 2</ValidationMessage> <status>true</status> </ValidationResponse>