PUT api/QmsUsers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

QmsUser
NameDescriptionTypeAdditional information
Id

integer

None.

Username

string

None.

Firstname

string

None.

Lastname

string

None.

Role

string

None.

Department

string

None.

Active

boolean

None.

RoleLevel

integer

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 2",
  "Firstname": "sample string 3",
  "Lastname": "sample string 4",
  "Role": "sample string 5",
  "Department": "sample string 6",
  "Active": true,
  "RoleLevel": 8,
  "UserId": "sample string 9"
}

application/xml, text/xml

Sample:
<QmsUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMS.Models">
  <Active>true</Active>
  <Department>sample string 6</Department>
  <Firstname>sample string 3</Firstname>
  <Id>1</Id>
  <Lastname>sample string 4</Lastname>
  <Role>sample string 5</Role>
  <RoleLevel>8</RoleLevel>
  <UserId>sample string 9</UserId>
  <Username>sample string 2</Username>
</QmsUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QmsUser
NameDescriptionTypeAdditional information
Id

integer

None.

Username

string

None.

Firstname

string

None.

Lastname

string

None.

Role

string

None.

Department

string

None.

Active

boolean

None.

RoleLevel

integer

None.

UserId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 2",
  "Firstname": "sample string 3",
  "Lastname": "sample string 4",
  "Role": "sample string 5",
  "Department": "sample string 6",
  "Active": true,
  "RoleLevel": 8,
  "UserId": "sample string 9"
}

application/xml, text/xml

Sample:
<QmsUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMS.Models">
  <Active>true</Active>
  <Department>sample string 6</Department>
  <Firstname>sample string 3</Firstname>
  <Id>1</Id>
  <Lastname>sample string 4</Lastname>
  <Role>sample string 5</Role>
  <RoleLevel>8</RoleLevel>
  <UserId>sample string 9</UserId>
  <Username>sample string 2</Username>
</QmsUser>