POST api/UnitClass/GetInfo

班级信息

Request Information

URI Parameters

None.

Body Parameters

GetInput2
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

ClassNumber

班级短码

string

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "93dcd8ec-264e-47f5-8259-4e5135c93af8",
  "ClassNumber": "sample string 2",
  "Token": "sample string 3",
  "SessionID": "c2342f59-e0b1-4823-bd2d-d14d00924641",
  "TimeStamp": 4
}

Response Information

Resource Description

GetOutput
NameDescriptionTypeAdditional information
ID

编号

globally unique identifier

None.

UnitID

单位编号

globally unique identifier

None.

ClassNumber

班级短码

string

None.

ClassName

班级名称

string

None.

ClassLogo

班级头像

string

None.

InSchoolYear

入学年份 min-max 1998-now year

integer

None.

Notice

班级介绍

string

None.

ViewConfig

班级访问设置

integer

None.

AuditConfig

会员审核

integer

None.

AuditAsk

会员审核问题

string

None.

AuditAnswer

会员审核问题答案

string

None.

CreateUser

创建用户 / 高级管理员 (number)

string

None.

CreateUserName

创建用户 / 高级管理员 (name)

string

None.

ManagerUser

管理员 (number)

Collection of string

None.

ManagerUserName

管理员 (name)

Collection of string

None.

AddTime

添加时间

date

None.

IsAudit

班级审核状态

boolean

None.

Student

班级学生数量

integer

None.

Teacher

班级老师数量

integer

None.

Parents

班级家长数量

integer

None.

Manager

班级管理员数量

integer

None.

IsMember

当前用户是否班级成员

boolean

None.

MemberPassStatus

当前用户是否班级正式成员

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "d39ecd7e-4f1a-4aff-a48e-156b09f5605d",
  "UnitID": "153e8038-5e97-4eaa-8a99-6a72bfb592e1",
  "ClassNumber": "sample string 3",
  "ClassName": "sample string 4",
  "ClassLogo": "sample string 5",
  "InSchoolYear": 6,
  "Notice": "sample string 7",
  "ViewConfig": 8,
  "AuditConfig": 9,
  "AuditAsk": "sample string 10",
  "AuditAnswer": "sample string 11",
  "CreateUser": "sample string 12",
  "CreateUserName": "sample string 13",
  "ManagerUser": [
    "sample string 1",
    "sample string 2"
  ],
  "ManagerUserName": [
    "sample string 1",
    "sample string 2"
  ],
  "AddTime": "2020-09-19T22:22:39.4928727+08:00",
  "IsAudit": true,
  "Student": 16,
  "Teacher": 17,
  "Parents": 18,
  "Manager": 19,
  "IsMember": true,
  "MemberPassStatus": true
}