PUT api/users/password?RqUID={RqUID}&userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
RqUID

string

None.

userId

integer

None.

Body Parameters

RestChangePasswordDTO
NameDescriptionTypeAdditional information
ActualPassword

string

Required

NewPassword

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ActualPassword": "sample string 1",
  "NewPassword": "sample string 2"
}

application/xml, text/xml

Sample:
<RestChangePasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.User">
  <ActualPassword>sample string 1</ActualPassword>
  <NewPassword>sample string 2</NewPassword>
</RestChangePasswordDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestRqUIDResponseDTO
NameDescriptionTypeAdditional information
RqUID

string

None.

Code

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RqUID": "sample string 1",
  "Code": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<RestRqUIDResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">
  <Code>sample string 2</Code>
  <Message>sample string 3</Message>
  <RqUID>sample string 1</RqUID>
</RestRqUIDResponseDTO>