PUT api/v2/Users/UpdatePassword

Request Information

URI Parameters

None.

Body Parameters

InputUpdatePassword
NameDescriptionTypeAdditional information
UserID

integer

Required

CurrentPassword

string

Required

Max length: 50

ConfirmPassword

string

Required

Max length: 50

NewPassword

string

Required

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "CurrentPassword": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "NewPassword": "sample string 4"
}

application/xml, text/xml

Sample:
<InputUpdatePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <CurrentPassword>sample string 2</CurrentPassword>
  <NewPassword>sample string 4</NewPassword>
  <UserID>1</UserID>
</InputUpdatePassword>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.