POST api/Users/ResetPassword
Psasword reset for logged-in user
Request Information
URI Parameters
None.
Body Parameters
UsersName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
AccessCode | string |
None. |
|
FName | string |
None. |
|
LName | string |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
CompanyName | string |
None. |
|
ForcePwdReset | boolean |
None. |
|
Expiration | date |
None. |
|
CompanyId | integer |
None. |
|
DesiredAccessLevel | integer |
None. |
|
Enabled | boolean |
None. |
|
Title | string |
None. |
|
CompanyAdmin | boolean |
None. |
|
DesiredCompanyId | integer |
None. |
|
ResetToken | string |
None. |
|
MemberSince | date |
None. |
|
NewsSubscribe | boolean |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "Id": 1, "Username": "sample string 2", "Password": "sample string 3", "AccessCode": "sample string 4", "FName": "sample string 5", "LName": "sample string 6", "Phone": "sample string 7", "Email": "sample string 8", "CompanyName": "sample string 9", "ForcePwdReset": true, "Expiration": "2024-10-30T05:14:33.4167251-07:00", "CompanyId": 12, "DesiredAccessLevel": 13, "Enabled": true, "Title": "sample string 15", "CompanyAdmin": true, "DesiredCompanyId": 17, "ResetToken": "sample string 18", "MemberSince": "2024-10-30T05:14:33.4167251-07:00", "NewsSubscribe": true }
application/xml, text/xml
Sample:
<Users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <AccessCode>sample string 4</AccessCode> <CompanyAdmin>true</CompanyAdmin> <CompanyId>12</CompanyId> <CompanyName>sample string 9</CompanyName> <DesiredAccessLevel>13</DesiredAccessLevel> <DesiredCompanyId>17</DesiredCompanyId> <Email>sample string 8</Email> <Enabled>true</Enabled> <Expiration>2024-10-30T05:14:33.4167251-07:00</Expiration> <FName>sample string 5</FName> <ForcePwdReset>true</ForcePwdReset> <Id>1</Id> <LName>sample string 6</LName> <MemberSince>2024-10-30T05:14:33.4167251-07:00</MemberSince> <NewsSubscribe>true</NewsSubscribe> <Password>sample string 3</Password> <Phone>sample string 7</Phone> <ResetToken>sample string 18</ResetToken> <Title>sample string 15</Title> <Username>sample string 2</Username> </Users>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.