GET api/User?u={u}&t={t}&d={d}
获取用户个人信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID |
integer |
Required |
| t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
| d |
ID=[StaffID,long] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取用户个人信息
UserOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffID | integer |
None. |
|
| Name | string |
None. |
|
| IsOnline |
是否在线 |
boolean |
None. |
| ImgUrl |
头像 |
string |
None. |
| Sex | SexList |
None. |
|
| Status | StaffStatus |
None. |
|
| Address | string |
None. |
|
| MobilePhone | string |
None. |
|
| CompanyID | integer |
None. |
|
| CompanyName | string |
None. |
|
| CreateTime | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StaffID": 1,
"Name": "sample string 2",
"IsOnline": true,
"ImgUrl": "sample string 4",
"Sex": 0,
"Status": 0,
"Address": "sample string 5",
"MobilePhone": "sample string 6",
"CompanyID": 7,
"CompanyName": "sample string 8",
"CreateTime": "sample string 9"
}
application/xml, text/xml
Sample:
<UserOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Care365_V2.Model.IMSys"> <Address>sample string 5</Address> <CompanyID>7</CompanyID> <CompanyName>sample string 8</CompanyName> <CreateTime>sample string 9</CreateTime> <ImgUrl>sample string 4</ImgUrl> <IsOnline>true</IsOnline> <MobilePhone>sample string 6</MobilePhone> <Name>sample string 2</Name> <Sex>Unknow</Sex> <StaffID>1</StaffID> <Status>Unknown</Status> </UserOutput>