POST api/User/ResetAdminPassword
Request Information
URI Parameters
None.
Body Parameters
LoginViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| admininfoid | integer |
None. |
|
| substatus | string |
None. |
|
| isprofilecomplete | boolean |
None. |
|
| elementjsonstr | string |
None. |
|
| bizaccessjsonstr | string |
None. |
|
| bizaccessjson | Object |
None. |
|
| elementjson | Object |
None. |
|
| staffinfoid | integer |
None. |
|
| customerinfoid | integer |
None. |
|
| logininfoid | integer |
None. |
|
| companyid | integer |
None. |
|
| companyname | string |
None. |
|
| username | string |
None. |
|
| adminpassword | string |
None. |
|
| roletype | string |
None. |
|
| rolecode | string |
None. |
|
| rolename | string |
None. |
|
| roleid | integer |
None. |
|
| token | string |
None. |
|
| isexist | boolean |
None. |
|
| companystateid | integer |
None. |
|
| stateid | integer |
None. |
|
| statename | string |
None. |
|
| emailid | string |
None. |
|
| phoneno | string |
None. |
|
| firstname | string |
None. |
|
| lastname | string |
None. |
|
| short_url | string |
None. |
|
| status | string |
None. |
|
| istemppassword | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"admininfoid": 1,
"substatus": "sample string 2",
"isprofilecomplete": true,
"elementjsonstr": "sample string 4",
"bizaccessjsonstr": "sample string 5",
"bizaccessjson": {},
"elementjson": {},
"staffinfoid": 8,
"customerinfoid": 9,
"logininfoid": 10,
"companyid": 11,
"companyname": "sample string 12",
"username": "sample string 13",
"adminpassword": "sample string 14",
"roletype": "sample string 15",
"rolecode": "sample string 16",
"rolename": "sample string 17",
"roleid": 18,
"token": "sample string 19",
"isexist": true,
"companystateid": 21,
"stateid": 22,
"statename": "sample string 23",
"emailid": "sample string 24",
"phoneno": "sample string 25",
"firstname": "sample string 26",
"lastname": "sample string 27",
"short_url": "sample string 28",
"status": "sample string 29",
"istemppassword": true
}
application/xml, text/xml
Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models"> <admininfoid>1</admininfoid> <adminpassword>sample string 14</adminpassword> <bizaccessjson /> <bizaccessjsonstr>sample string 5</bizaccessjsonstr> <companyid>11</companyid> <companyname>sample string 12</companyname> <companystateid>21</companystateid> <customerinfoid>9</customerinfoid> <elementjson /> <elementjsonstr>sample string 4</elementjsonstr> <emailid>sample string 24</emailid> <firstname>sample string 26</firstname> <isexist>true</isexist> <isprofilecomplete>true</isprofilecomplete> <istemppassword>true</istemppassword> <lastname>sample string 27</lastname> <logininfoid>10</logininfoid> <phoneno>sample string 25</phoneno> <rolecode>sample string 16</rolecode> <roleid>18</roleid> <rolename>sample string 17</rolename> <roletype>sample string 15</roletype> <short_url>sample string 28</short_url> <staffinfoid>8</staffinfoid> <stateid>22</stateid> <statename>sample string 23</statename> <status>sample string 29</status> <substatus>sample string 2</substatus> <token>sample string 19</token> <username>sample string 13</username> </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. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models"> <data /> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>