POST api/UnitClass/UserClassList

我的班级列表[某个单位]

Request Information

URI Parameters

None.

Body Parameters

UnitIDInput2
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "f6c759b3-4a12-4afa-893e-6a4529ab6bbb",
  "Token": "sample string 2",
  "SessionID": "fd85c86d-9fed-4457-b6ca-6797edd1de86",
  "TimeStamp": 3
}

Response Information

Resource Description

UserClassListOutput
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.

IsAudit

班级是否审核

boolean

None.

PassStatus

是否班级正式成员

boolean

None.

AddTime

班级添加时间

date

None.

CreateUser

班级创建者ID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "59261cfa-dd36-4f21-9f49-f49ce16a8bb9",
  "UnitID": "c93d9a22-d84b-41de-a3f6-d2005c6c054c",
  "ClassNumber": "sample string 3",
  "ClassName": "sample string 4",
  "ClassLogo": "sample string 5",
  "InSchoolYear": 6,
  "IsAudit": true,
  "PassStatus": true,
  "AddTime": "2020-07-08T13:11:44.9838908+08:00",
  "CreateUser": "sample string 10"
}