PUT api/User/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UserInfoModel
NameDescriptionTypeAdditional information
Tel

string

None.

Id

integer

None.

Name

string

None.

DepartmentId

integer

None.

Sex

boolean

None.

PassWord

string

None.

DepartmentName

string

None.

Remark

string

None.

Balance

integer

None.

Birthday

date

None.

SchollDeparentList

Dictionary of integer [key] and string [value]

None.

GoodsTypeList

Dictionary of integer [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "Tel": "sample string 1",
  "Id": 2,
  "Name": "sample string 3",
  "DepartmentId": 4,
  "Sex": true,
  "PassWord": "sample string 6",
  "DepartmentName": "sample string 7",
  "Remark": "sample string 8",
  "Balance": 9,
  "Birthday": "2018-04-23T03:57:17.231196+08:00",
  "SchollDeparentList": {
    "1": "sample string 2",
    "3": "sample string 4"
  },
  "GoodsTypeList": {
    "1": "sample string 2",
    "3": "sample string 4"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "msg": "sample string 3"
}