POST api/User/ChangeAccountStatusToActive
Request Information
URI Parameters
None.
Body Parameters
LoginViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| password | string |
None. |
|
| accountstatus | string |
None. |
|
| username | string |
None. |
|
| userinfoid | integer |
None. |
|
| logininfoid | integer |
None. |
|
| isexist | boolean |
None. |
|
| rolecode | string |
None. |
|
| rolename | string |
None. |
|
| userroleid | integer |
None. |
|
| token | string |
None. |
|
| istemppassword | boolean |
None. |
|
| emailaddress | string |
None. |
|
| accountstatusid | integer |
None. |
|
| errorCode | integer |
None. |
|
| contactnumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"password": "sample string 1",
"accountstatus": "sample string 2",
"username": "sample string 3",
"userinfoid": 4,
"logininfoid": 5,
"isexist": true,
"rolecode": "sample string 7",
"rolename": "sample string 8",
"userroleid": 9,
"token": "sample string 10",
"istemppassword": true,
"emailaddress": "sample string 12",
"accountstatusid": 13,
"errorCode": 14,
"contactnumber": "sample string 15"
}
application/xml, text/xml
Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models"> <accountstatus>sample string 2</accountstatus> <accountstatusid>13</accountstatusid> <contactnumber>sample string 15</contactnumber> <emailaddress>sample string 12</emailaddress> <errorCode>14</errorCode> <isexist>true</isexist> <istemppassword>true</istemppassword> <logininfoid>5</logininfoid> <password>sample string 1</password> <rolecode>sample string 7</rolecode> <rolename>sample string 8</rolename> <token>sample string 10</token> <userinfoid>4</userinfoid> <username>sample string 3</username> <userroleid>9</userroleid> </LoginViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| errorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {},
"errorCode": 4
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>