POST api/User/RefreshUserInfo

获取登录用户返回的信息对象

Request Information

URI Parameters

None.

Body Parameters

UserRefresh
NameDescriptionTypeAdditional information
userNumb

string

None.

SessionID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "userNumb": "sample string 1",
  "SessionID": "53fda63c-e03c-4cbb-882e-d8cc0ef20005"
}

Response Information

Resource Description

UserLoginOutput
NameDescriptionTypeAdditional information
SessionID

用户会话ID

globally unique identifier

None.

UserNumb

用户编号

string

None.

UserType

用户类型

UserType

None.

Mobile

手机号

string

None.

UserName

真实姓名

string

None.

UnitID

单位编号

globally unique identifier

None.

UnitUserType

网校用户类型[位运算值 会员 = 1,管理员 = 2,站长 = 4]

integer

None.

UnitAccount

网校域名

string

None.

UnitName

网校名称

string

None.

IsManager

是否站长

boolean

None.

AreaID

地区信息

string

None.

GradeID

年级信息

Grade

None.

PostName

用户职务

string

None.

SubjectID

年级科目对应编号

string

None.

Gender

性别 1男 0女 -1未知

integer

None.

BirthDay

生日

string

None.

Signature

签名档 不超过100的长度

string

None.

Privileges

模块权限

UserLoginOutputPrivileges

None.

EncryptKey

加密码--善见加密码usernumb|unitid

string

None.

AppItems

发现菜单

Collection of UserLoginAppItem

None.

Response Formats

application/json, text/json

Sample:
{
  "SessionID": "d8dc7c34-6e0c-4db1-b3b9-1ef86670a134",
  "UserNumb": "sample string 2",
  "UserType": 10,
  "Mobile": "sample string 3",
  "UserName": "sample string 4",
  "UnitID": "bce3fefa-6961-40bf-9e23-cb39a03243d4",
  "UnitUserType": 6,
  "UnitAccount": "sample string 7",
  "UnitName": "sample string 8",
  "IsManager": true,
  "AreaID": "sample string 10",
  "GradeID": 1,
  "PostName": "sample string 11",
  "SubjectID": "sample string 12",
  "Gender": 13,
  "BirthDay": "sample string 14",
  "Signature": "sample string 15",
  "Privileges": {
    "UserManage": true,
    "ClassManage": true,
    "ArticleManage": true,
    "CommentManage": true,
    "LocSignManage": true,
    "LocSign": true,
    "UnitNotiesManage": true,
    "StatisticManage": true
  },
  "EncryptKey": "sample string 16",
  "AppItems": [
    {
      "Ico": "sample string 1",
      "Title": "sample string 2",
      "Url": "sample string 3"
    },
    {
      "Ico": "sample string 1",
      "Title": "sample string 2",
      "Url": "sample string 3"
    }
  ]
}