POST api/user/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordViewModel
NameDescriptionTypeAdditional information
OldPassword

string

Required

Data type: Password

NewPassword

string

Required

Data type: Password

String length: inclusive between 6 and 100

CompanyID

integer

None.

Language

string

None.

CreatedDate

date

None.

CreatedUserID

globally unique identifier

None.

ModifiedDate

date

None.

ModifiedUserID

globally unique identifier

None.

FeatureID

globally unique identifier

None.

Token

globally unique identifier

None.

Action

Actions

None.

FilterText

string

None.

CurrentIndex

integer

None.

PageSize

integer

None.

TotalRecords

integer

None.

SortColumn

string

None.

Sortby

SortDirection

None.

ImageId

integer

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

Sort

integer

None.

Messages

Collection of ErrorMessage

None.

Request Formats

application/json, text/json

Sample:
{
  "OldPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "CompanyID": 3,
  "Language": "sample string 4",
  "CreatedDate": "2025-08-28T23:34:23.9275682+00:00",
  "CreatedUserID": "21d15167-6cf6-4fae-9637-a21343a1ce65",
  "ModifiedDate": "2025-08-28T23:34:23.9275682+00:00",
  "ModifiedUserID": "9543ef78-2e19-4f52-b81a-eec5fcfcdce9",
  "FeatureID": "d7b6879b-dc31-4c8f-8dfc-50ef44437eeb",
  "Token": "c2d4d6d0-0e29-434f-9efe-50bebf573052",
  "Action": 0,
  "FilterText": "sample string 11",
  "CurrentIndex": 12,
  "PageSize": 13,
  "TotalRecords": 14,
  "SortColumn": "sample string 15",
  "Sortby": 0,
  "ImageId": 1,
  "IsDeleted": true,
  "IsActive": true,
  "Sort": 1,
  "Messages": [
    {
      "ErrorType": 1,
      "Message": "sample string 2"
    },
    {
      "ErrorType": 1,
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ChangePasswordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core.SecurityModels">
  <Action xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">View</Action>
  <CompanyID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">3</CompanyID>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2025-08-28T23:34:23.9275682+00:00</CreatedDate>
  <CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">21d15167-6cf6-4fae-9637-a21343a1ce65</CreatedUserID>
  <CurrentIndex xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">12</CurrentIndex>
  <FeatureID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">d7b6879b-dc31-4c8f-8dfc-50ef44437eeb</FeatureID>
  <FilterText xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 11</FilterText>
  <ImageId xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</ImageId>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsActive>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsDeleted>
  <Language xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 4</Language>
  <Messages xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">
    <ErrorMessage>
      <ErrorType>1</ErrorType>
      <Message>sample string 2</Message>
    </ErrorMessage>
    <ErrorMessage>
      <ErrorType>1</ErrorType>
      <Message>sample string 2</Message>
    </ErrorMessage>
  </Messages>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2025-08-28T23:34:23.9275682+00:00</ModifiedDate>
  <ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">9543ef78-2e19-4f52-b81a-eec5fcfcdce9</ModifiedUserID>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">13</PageSize>
  <Sort xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</Sort>
  <SortColumn xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 15</SortColumn>
  <Sortby xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">Asc</Sortby>
  <Token xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">c2d4d6d0-0e29-434f-9efe-50bebf573052</Token>
  <TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">14</TotalRecords>
  <NewPassword>sample string 2</NewPassword>
  <OldPassword>sample string 1</OldPassword>
</ChangePasswordViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.