PUT api/User/ChangePasswordById/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

UserPassItem
NameDescriptionTypeAdditional information
Password

string

None.

NewPassword

string

None.

RepeatNewPassword

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Password": "sample string 1",
  "NewPassword": "sample string 2",
  "RepeatNewPassword": "sample string 3",
  "Id": 4
}

application/xml, text/xml

Sample:
<UserPassItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.Services.Security">
  <Id xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities">4</Id>
  <NewPassword>sample string 2</NewPassword>
  <Password>sample string 1</Password>
  <RepeatNewPassword>sample string 3</RepeatNewPassword>
</UserPassItem>

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 'UserPassItem'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.