GET api/ArchiveFile/DocumentStatistics?academicYear={academicYear}

文件数量统计

Request Information

URI Parameters

NameDescriptionTypeAdditional information
academicYear

string

Required

Body Parameters

None.

Response Information

Resource Description

文件数量统计

JsonRtnDtoOfDocumentStatisticOutput
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

DocumentStatisticOutput

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "GradeCount": [
      1,
      2
    ],
    "Majors": [
      {
        "Major": "sample string 1",
        "FilesNum": 1
      },
      {
        "Major": "sample string 1",
        "FilesNum": 1
      }
    ],
    "Schools": [
      {
        "SchoolName": "sample string 1",
        "FilesNum": 1
      },
      {
        "SchoolName": "sample string 1",
        "FilesNum": 1
      }
    ],
    "Categorys": [
      {
        "CourseCategory": "sample string 1",
        "FilesNum": 1
      },
      {
        "CourseCategory": "sample string 1",
        "FilesNum": 1
      }
    ],
    "TypeNames": [
      {
        "TypeName": {},
        "FilesNum": 1
      },
      {
        "TypeName": {},
        "FilesNum": 1
      }
    ],
    "Grades": [
      {
        "Grade": 1,
        "FilesNum": 1
      },
      {
        "Grade": 1,
        "FilesNum": 1
      }
    ]
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"GradeCount":[1,2],"Majors":[{"Major":"sample string 1","FilesNum":1},{"Major":"sample string 1","FilesNum":1}],"Schools":[{"SchoolName":"sample string 1","FilesNum":1},{"SchoolName":"sample string 1","FilesNum":1}],"Categorys":[{"CourseCategory":"sample string 1","FilesNum":1},{"CourseCategory":"sample string 1","FilesNum":1}],"TypeNames":[{"TypeName":{},"FilesNum":1},{"TypeName":{},"FilesNum":1}],"Grades":[{"Grade":1,"FilesNum":1},{"Grade":1,"FilesNum":1}]}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfDocumentStatisticOutputv3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <GradeCount xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </GradeCount>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfDocumentStatisticOutputv3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"GradeCount":[1,2],"Majors":[{"Major":"sample string 1","FilesNum":1},{"Major":"sample string 1","FilesNum":1}],"Schools":[{"SchoolName":"sample string 1","FilesNum":1},{"SchoolName":"sample string 1","FilesNum":1}],"Categorys":[{"CourseCategory":"sample string 1","FilesNum":1},{"CourseCategory":"sample string 1","FilesNum":1}],"TypeNames":[{"TypeName":{},"FilesNum":1},{"TypeName":{},"FilesNum":1}],"Grades":[{"Grade":1,"FilesNum":1},{"Grade":1,"FilesNum":1}]}});