POST api/el2/FileGroupList

课件列表

Request Information

URI Parameters

None.

Body Parameters

FileGroupDto
NameDescriptionTypeAdditional information
title

课件名称

string

Required

emp_id

创建人

integer

Required

start

创建时间--开始

date

None.

end

创建时间--结束

date

None.

is_enable

是否启用 -1全部 0否 1是

integer

None.

pageSize

每页显示数量

integer

None.

index

页码

integer

None.

skip

过滤条数(不用传)

integer

None.

openId

openId/token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "emp_id": 1,
  "start": "2024-11-25T17:28:02.7598043+08:00",
  "end": "2024-11-25T17:28:02.7598043+08:00",
  "is_enable": 2,
  "pageSize": 3,
  "index": 4,
  "skip": 9,
  "openId": "sample string 5"
}

application/xml, text/xml

Sample:
<FileGroupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.QSAModels">
  <openId xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">sample string 5</openId>
  <index xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">4</index>
  <pageSize xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">3</pageSize>
  <emp_id>1</emp_id>
  <end>2024-11-25T17:28:02.7598043+08:00</end>
  <is_enable>2</is_enable>
  <start>2024-11-25T17:28:02.7598043+08:00</start>
  <title>sample string 1</title>
</FileGroupDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FileGroupDto'.

Response Information

Resource Description

BaseOut
NameDescriptionTypeAdditional information
errcode

错误编码 2:error 401:鉴权失败;200:成功;500:内部错误;

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">
  <errcode>Error</errcode>
  <message>sample string 1</message>
</BaseOut>