PUT pwd

This PUT method should be called when the user wants to change is pwd

Request Information

URI Parameters

None.

Body Parameters

the password

Flipr.Web.Api.Controllers.JsonWrappers.Passwords
NameDescriptionTypeAdditional information
OldPassword

Gets or sets the old CLEAR password (not hashed)

string

None.

NewPassword

Gets or sets the new password

string

None.

Request Formats

application/json, text/json

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

text/html

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

a result

Flipr.Web.Api.Controllers.JsonWrappers.Result
NameDescriptionTypeAdditional information
Success

Gets or sets a value indicating whether or not the action is succesfull

boolean

None.

Message

Gets or sets the result message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

text/html

Sample:
{"Success":true,"Message":"sample string 2"}