POST api/Account/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ResetPassword| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| IsCheckCurrentPassword | boolean |
None. |
|
| CurrentPassword | string |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| Code | string |
None. |
|
| ClientID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"IsCheckCurrentPassword": true,
"CurrentPassword": "sample string 3",
"Email": "sample string 4",
"Password": "sample string 5",
"Code": "sample string 6",
"ClientID": "fbab76e9-d201-449d-8205-3627d6032d76"
}
application/xml, text/xml
Sample:
<ResetPassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models"> <ClientID>fbab76e9-d201-449d-8205-3627d6032d76</ClientID> <Code>sample string 6</Code> <CurrentPassword>sample string 3</CurrentPassword> <Email>sample string 4</Email> <Id>sample string 1</Id> <IsCheckCurrentPassword>true</IsCheckCurrentPassword> <Password>sample string 5</Password> </ResetPassword>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Message | Collection of string |
None. |
|
| ResponseCodes | Collection of integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Value | string |
None. |
|
| RecordOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Message": [
"sample string 1",
"sample string 2"
],
"ResponseCodes": [
1,
2
],
"Id": "bfaaec11-494e-4596-bc72-65c22e1a85c0",
"Value": "sample string 3",
"RecordOn": "2025-11-09T00:43:13.0088869+04:00"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<Id>bfaaec11-494e-4596-bc72-65c22e1a85c0</Id>
<IsValid>true</IsValid>
<Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Message>
<RecordOn>2025-11-09T00:43:13.0088869+04:00</RecordOn>
<ResponseCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ResponseCodes>
<Value>sample string 3</Value>
</Result>