POST api/user/{id}/edit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

User
NameDescriptionTypeAdditional information
ID

integer

None.

EnrollNumber

string

None.

Code

string

None.

Name

string

None.

MatKhau

string

None.

SoThe

string

None.

PhanQuyen

integer

None.

Dept

integer

None.

DeptName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EnrollNumber": "sample string 2",
  "Code": "sample string 3",
  "Name": "sample string 4",
  "MatKhau": "sample string 5",
  "SoThe": "sample string 6",
  "PhanQuyen": 7,
  "Dept": 8,
  "DeptName": "sample string 9"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FingerAPI.Models">
  <Code>sample string 3</Code>
  <Dept>8</Dept>
  <DeptName>sample string 9</DeptName>
  <EnrollNumber>sample string 2</EnrollNumber>
  <ID>1</ID>
  <MatKhau>sample string 5</MatKhau>
  <Name>sample string 4</Name>
  <PhanQuyen>7</PhanQuyen>
  <SoThe>sample string 6</SoThe>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>