GET api/OfflinePaper/GetOfflinePaper?pageSize={pageSize}&examTime={examTime}&pageIndex={pageIndex}&key={key}

加载线下试卷

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

integer

Default value is 10

examTime

date

None.

pageIndex

integer

Default value is 1

key

string

Default value is

Body Parameters

None.

Response Information

Resource Description

加载线下试卷

JsonRtnDtoOfPageResultOfOfflinePaper
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

PageResultOfOfflinePaper

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Value": [
      {
        "Id": "01a4b0ec-5894-4396-b98a-3042b19cd053",
        "PaperName": "sample string 2",
        "ProfessionalCourseId": 3,
        "ProfessionalCourseName": "sample string 4",
        "ExamTime": "2024-09-25T00:09:11.5624706+08:00",
        "TotalScore": 5.1,
        "UserId": 6,
        "CreatedTime": "2024-09-25T00:09:11.5624706+08:00"
      },
      {
        "Id": "01a4b0ec-5894-4396-b98a-3042b19cd053",
        "PaperName": "sample string 2",
        "ProfessionalCourseId": 3,
        "ProfessionalCourseName": "sample string 4",
        "ExamTime": "2024-09-25T00:09:11.5624706+08:00",
        "TotalScore": 5.1,
        "UserId": 6,
        "CreatedTime": "2024-09-25T00:09:11.5624706+08:00"
      }
    ],
    "PageIndex": 1,
    "PageSize": 2,
    "total": 3,
    "TotalPages": 4,
    "HasPreviousPage": false,
    "HasNextPage": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"01a4b0ec-5894-4396-b98a-3042b19cd053","PaperName":"sample string 2","ProfessionalCourseId":3,"ProfessionalCourseName":"sample string 4","ExamTime":"2024-09-25T00:09:11.5624706+08:00","TotalScore":5.1,"UserId":6,"CreatedTime":"2024-09-25T00:09:11.5624706+08:00"},{"Id":"01a4b0ec-5894-4396-b98a-3042b19cd053","PaperName":"sample string 2","ProfessionalCourseId":3,"ProfessionalCourseName":"sample string 4","ExamTime":"2024-09-25T00:09:11.5624706+08:00","TotalScore":5.1,"UserId":6,"CreatedTime":"2024-09-25T00:09:11.5624706+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfPageResultOfOfflinePapermEDjlcEGS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">
    <d2p1:PageIndex>1</d2p1:PageIndex>
    <d2p1:PageSize>2</d2p1:PageSize>
    <d2p1:TotalPages>4</d2p1:TotalPages>
    <d2p1:total>3</d2p1:total>
    <d2p1:Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data">
      <d3p1:OfflinePaper>
        <d3p1:CreatedTime>2024-09-25T00:09:11.5624706+08:00</d3p1:CreatedTime>
        <d3p1:ExamTime>2024-09-25T00:09:11.5624706+08:00</d3p1:ExamTime>
        <d3p1:Id>01a4b0ec-5894-4396-b98a-3042b19cd053</d3p1:Id>
        <d3p1:PaperName>sample string 2</d3p1:PaperName>
        <d3p1:ProfessionalCourseId>3</d3p1:ProfessionalCourseId>
        <d3p1:ProfessionalCourseName>sample string 4</d3p1:ProfessionalCourseName>
        <d3p1:TotalScore>5.1</d3p1:TotalScore>
        <d3p1:UserId>6</d3p1:UserId>
      </d3p1:OfflinePaper>
      <d3p1:OfflinePaper>
        <d3p1:CreatedTime>2024-09-25T00:09:11.5624706+08:00</d3p1:CreatedTime>
        <d3p1:ExamTime>2024-09-25T00:09:11.5624706+08:00</d3p1:ExamTime>
        <d3p1:Id>01a4b0ec-5894-4396-b98a-3042b19cd053</d3p1:Id>
        <d3p1:PaperName>sample string 2</d3p1:PaperName>
        <d3p1:ProfessionalCourseId>3</d3p1:ProfessionalCourseId>
        <d3p1:ProfessionalCourseName>sample string 4</d3p1:ProfessionalCourseName>
        <d3p1:TotalScore>5.1</d3p1:TotalScore>
        <d3p1:UserId>6</d3p1:UserId>
      </d3p1:OfflinePaper>
    </d2p1:Value>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfPageResultOfOfflinePapermEDjlcEGS_STz13wm>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"01a4b0ec-5894-4396-b98a-3042b19cd053","PaperName":"sample string 2","ProfessionalCourseId":3,"ProfessionalCourseName":"sample string 4","ExamTime":"2024-09-25T00:09:11.5624706+08:00","TotalScore":5.1,"UserId":6,"CreatedTime":"2024-09-25T00:09:11.5624706+08:00"},{"Id":"01a4b0ec-5894-4396-b98a-3042b19cd053","PaperName":"sample string 2","ProfessionalCourseId":3,"ProfessionalCourseName":"sample string 4","ExamTime":"2024-09-25T00:09:11.5624706+08:00","TotalScore":5.1,"UserId":6,"CreatedTime":"2024-09-25T00:09:11.5624706+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});