POST Client/ChangeClientPassword

Changes client's Password.

Request Information

URI Parameters

None.

Body Parameters

ApiClientPasswordRequestFilter
NameDescriptionTypeAdditional information
clientID

Gets or sets the clientID.

integer

None.

oldPassword

Gets or sets the oldPassword.

string

None.

newPassword

Gets or sets the newPassword.

string

None.

verifyNewPassword

Gets or sets the verifyNewPassword.

string

None.

eMail

Gets or sets the eMail.

string

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "clientID": 1,
  "oldPassword": "sample string 2",
  "newPassword": "sample string 3",
  "verifyNewPassword": "sample string 4",
  "eMail": "sample string 5",
  "userID": 6
}

application/xml, text/xml

Sample:
<ApiClientPasswordRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>6</userID>
  <clientID>1</clientID>
  <eMail>sample string 5</eMail>
  <newPassword>sample string 3</newPassword>
  <oldPassword>sample string 2</oldPassword>
  <verifyNewPassword>sample string 4</verifyNewPassword>
</ApiClientPasswordRequestFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiClientPasswordResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

ApiClientPassword

None.

ResponseType

Gets or sets the type of the response.

integer

None.

ResponseMessage

Gets or sets the response message.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": {
    "ClientNewPassword": "sample string 1"
  },
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiClientPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponseType>1</ResponseType>
  <ResponseObject>
    <ClientNewPassword>sample string 1</ClientNewPassword>
  </ResponseObject>
</ApiClientPasswordResponse>