POST api/File/GetFileList

获取文件列表

Request Information

URI Parameters

None.

Body Parameters

FileListRequest
NameDescriptionTypeAdditional information
SystemId

string

None.

StartDate

string

None.

EndDate

string

None.

Keyword

string

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SystemId": "sample string 1",
  "StartDate": "sample string 2",
  "EndDate": "sample string 3",
  "Keyword": "sample string 4",
  "PageIndex": 5,
  "PageSize": 6
}

application/xml, text/xml

Sample:
<FileListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yidu.Model.TO.Request">
  <Keyword>sample string 4</Keyword>
  <PageIndex>5</PageIndex>
  <PageSize>6</PageSize>
  <EndDate>sample string 3</EndDate>
  <StartDate>sample string 2</StartDate>
  <SystemId>sample string 1</SystemId>
</FileListRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfListResponseOfFileInfoVO
NameDescriptionTypeAdditional information
Code

ApiCode

None.

Message

string

None.

Body

ListResponseOfFileInfoVO

None.

IsSuccess

boolean

None.

SubCode

SubCode

None.

SubMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Message": "sample string 1",
  "Body": {
    "List": [
      {
        "Id": "sample string 1",
        "FolderId": "sample string 2",
        "FileName": "sample string 3",
        "CreateTime": "2024-10-19T13:34:30.5871879+08:00",
        "Size": "sample string 5",
        "Type": 1,
        "DownloadUrl": "sample string 6",
        "DownloadUrlInternal": "sample string 7",
        "PreviewUrl": "sample string 8",
        "OnlinePreviewUrl": "sample string 9",
        "IsPreview": true
      },
      {
        "Id": "sample string 1",
        "FolderId": "sample string 2",
        "FileName": "sample string 3",
        "CreateTime": "2024-10-19T13:34:30.5871879+08:00",
        "Size": "sample string 5",
        "Type": 1,
        "DownloadUrl": "sample string 6",
        "DownloadUrlInternal": "sample string 7",
        "PreviewUrl": "sample string 8",
        "OnlinePreviewUrl": "sample string 9",
        "IsPreview": true
      }
    ],
    "TotalCount": 1
  },
  "IsSuccess": true,
  "SubCode": 0,
  "SubMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiResultOfListResponseOfFileInfoVOx3AL3METrUIxL1Kj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yidu.Model.TO">
  <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/Yidu.Model.TO.Response">
    <d2p1:List xmlns:d3p1="http://schemas.datacontract.org/2004/07/Yidu.Model.VO">
      <d3p1:FileInfoVO>
        <d3p1:CreateTime>2024-10-19T13:34:30.5871879+08:00</d3p1:CreateTime>
        <d3p1:DownloadUrl>sample string 6</d3p1:DownloadUrl>
        <d3p1:DownloadUrlInternal>sample string 7</d3p1:DownloadUrlInternal>
        <d3p1:FileName>sample string 3</d3p1:FileName>
        <d3p1:FolderId>sample string 2</d3p1:FolderId>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:OnlinePreviewUrl>sample string 9</d3p1:OnlinePreviewUrl>
        <d3p1:PreviewUrl>sample string 8</d3p1:PreviewUrl>
        <d3p1:Size>sample string 5</d3p1:Size>
        <d3p1:Type>Jpeg</d3p1:Type>
      </d3p1:FileInfoVO>
      <d3p1:FileInfoVO>
        <d3p1:CreateTime>2024-10-19T13:34:30.5871879+08:00</d3p1:CreateTime>
        <d3p1:DownloadUrl>sample string 6</d3p1:DownloadUrl>
        <d3p1:DownloadUrlInternal>sample string 7</d3p1:DownloadUrlInternal>
        <d3p1:FileName>sample string 3</d3p1:FileName>
        <d3p1:FolderId>sample string 2</d3p1:FolderId>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:OnlinePreviewUrl>sample string 9</d3p1:OnlinePreviewUrl>
        <d3p1:PreviewUrl>sample string 8</d3p1:PreviewUrl>
        <d3p1:Size>sample string 5</d3p1:Size>
        <d3p1:Type>Jpeg</d3p1:Type>
      </d3p1:FileInfoVO>
    </d2p1:List>
    <d2p1:TotalCount>1</d2p1:TotalCount>
  </Body>
  <Code>Success</Code>
  <Message>sample string 1</Message>
  <SubCode>Success</SubCode>
  <SubMessage>sample string 2</SubMessage>
</ApiResultOfListResponseOfFileInfoVOx3AL3METrUIxL1Kj>