[HTTP POST] ~/accounts/users/setPassword

Description: Gets App config for a logged-in/authenticated User

Request Information

URI Parameters

None.

Body Parameters

SetPasswordRequest
NameDescriptionTypeAdditional information
token

string

None.

username

string

None.

password

string

None.

Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "username": "sample string 2",
  "password": "sample string 3"
}

application/csp-report

Sample:
{"token":"sample string 1","username":"sample string 2","password":"sample string 3"}

application/xml, text/xml

Sample:
<SetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/W50API.Models.DTO">
  <password>sample string 3</password>
  <token>sample string 1</token>
  <username>sample string 2</username>
</SetPasswordRequest>

Response Information

Description

Successful Response - OK (200):

An AppConfig object

Response Content : 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.


Response Codes:

  • 200 - OK
    • The User was updated successfully.
  • 401 - Unauthorized
    • Invalid token or user not found.
  • 500 - InternalServerError
    • An error occurred while processing this request.