POST API/Account/ResetPassword
Request Information
URI Parameters
None.
Body Parameters
ResetPasswordRequestViewModelName | Description | Type | Additional information |
---|---|---|---|
CurrentPassword | string |
None. |
|
NewPassword | string |
None. |
|
UserId | string |
None. |
|
IPAddress | string |
None. |
|
ApplicationId | string |
None. |
|
VersionId | string |
None. |
|
ClientConfigVersion | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "currentPassword": "sample string 1", "newPassword": "sample string 2", "userId": "sample string 3", "ipAddress": "sample string 4", "applicationId": "sample string 5", "versionId": "sample string 6", "clientConfigVersion": 7 }
application/xml, text/xml
Sample:
<ResetPasswordRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Areas.Account.Models"> <ApplicationId xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models">sample string 5</ApplicationId> <ClientConfigVersion xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models">7</ClientConfigVersion> <IPAddress xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models">sample string 4</IPAddress> <UserId xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models">sample string 3</UserId> <VersionId xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models">sample string 6</VersionId> <CurrentPassword>sample string 1</CurrentPassword> <NewPassword>sample string 2</NewPassword> </ResetPasswordRequestViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResetPasswordResponseViewModelName | Description | Type | Additional information |
---|---|---|---|
LastUpdated | date |
None. |
|
PasswordExpiration | date |
None. |
|
PasswordTypeCode | string |
None. |
|
Errors | Collection of ServiceErrorViewModel |
None. |
|
Status | ResponseStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "lastUpdated": "2025-06-21T11:00:20.9971381-04:00", "passwordExpiration": "2025-06-21T11:00:20.9971381-04:00", "passwordTypeCode": "sample string 1", "errors": [ { "level": 1, "errorDescription": "sample string 1", "stackTrace": "sample string 2", "error": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } }, { "level": 1, "errorDescription": "sample string 1", "stackTrace": "sample string 2", "error": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } } ], "status": 1 }
application/xml, text/xml
Sample:
<ResetPasswordResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Areas.Account.Models"> <Errors xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models"> <ServiceErrorViewModel> <Error xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult> <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </Error> <ErrorDescription>sample string 1</ErrorDescription> <Level>Critical</Level> <StackTrace>sample string 2</StackTrace> </ServiceErrorViewModel> <ServiceErrorViewModel> <Error xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult> <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </Error> <ErrorDescription>sample string 1</ErrorDescription> <Level>Critical</Level> <StackTrace>sample string 2</StackTrace> </ServiceErrorViewModel> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/ARIES.Alacrity.Services.Models">Success</Status> <LastUpdated>2025-06-21T11:00:20.9971381-04:00</LastUpdated> <PasswordExpiration>2025-06-21T11:00:20.9971381-04:00</PasswordExpiration> <PasswordTypeCode>sample string 1</PasswordTypeCode> </ResetPasswordResponseViewModel>