POST api/user/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordRequest
NameDescriptionTypeAdditional information
UserId

string

None.

NewPassword

string

None.

OldPassword

string

None.

AppLoginId

string

None.

AppPassword

string

None.

WSName

string

None.

APIId

integer

None.

LoginType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "NewPassword": "sample string 2",
  "OldPassword": "sample string 3",
  "AppLoginId": "sample string 4",
  "AppPassword": "sample string 5",
  "WSName": "sample string 6",
  "APIId": 7,
  "LoginType": 8
}

application/xml, text/xml

Sample:
<ChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelAccesLayer.ViewModel.Request">
  <APIId>7</APIId>
  <AppLoginId>sample string 4</AppLoginId>
  <AppPassword>sample string 5</AppPassword>
  <LoginType>8</LoginType>
  <NewPassword>sample string 2</NewPassword>
  <OldPassword>sample string 3</OldPassword>
  <UserId>sample string 1</UserId>
  <WSName>sample string 6</WSName>
</ChangePasswordRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChangePasswordRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.