PUT api/Users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UpdateUser
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Client

string

None.

Role

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Client": "sample string 3",
  "Role": "sample string 4"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects.Update">
  <Client>sample string 3</Client>
  <Password>sample string 2</Password>
  <Role>sample string 4</Role>
  <Username>sample string 1</Username>
</User>

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

Response Information

Resource Description

None.