GET api/main/loadmaininfo

加载首页信息

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

加载首页信息

JsonRtnDtoOfMainDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

MainDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "CourseNumber": 1,
    "ReCourseNumber": 2,
    "ResourceNumber": 3,
    "ReResourceNumber": 4,
    "SubjectNumber": 5,
    "ReSubjectNumber": 6,
    "LatestCourse": [
      {
        "CourseId": "bdf54e06-c255-4d86-91b8-7cb2c4bbde60",
        "CourseName": "sample string 2",
        "CourseState": 3,
        "ChargeName": "sample string 4",
        "LecturerName": "sample string 5",
        "LastUpdatedTime": "2024-09-25T00:09:22.1128451+08:00"
      },
      {
        "CourseId": "bdf54e06-c255-4d86-91b8-7cb2c4bbde60",
        "CourseName": "sample string 2",
        "CourseState": 3,
        "ChargeName": "sample string 4",
        "LecturerName": "sample string 5",
        "LastUpdatedTime": "2024-09-25T00:09:22.1128451+08:00"
      }
    ],
    "LatestMsg": [
      {
        "MemberName": "sample string 1",
        "Message": "sample string 2",
        "CreatedTime": "2024-09-25T00:09:22.1128451+08:00",
        "ReLength": "刚刚"
      },
      {
        "MemberName": "sample string 1",
        "Message": "sample string 2",
        "CreatedTime": "2024-09-25T00:09:22.1128451+08:00",
        "ReLength": "刚刚"
      }
    ],
    "LatestUpdatedTime": "2024-09-25T00:09:22.1128451+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"CourseNumber":1,"ReCourseNumber":2,"ResourceNumber":3,"ReResourceNumber":4,"SubjectNumber":5,"ReSubjectNumber":6,"LatestCourse":[{"CourseId":"bdf54e06-c255-4d86-91b8-7cb2c4bbde60","CourseName":"sample string 2","CourseState":3,"ChargeName":"sample string 4","LecturerName":"sample string 5","LastUpdatedTime":"2024-09-25T00:09:22.1128451+08:00"},{"CourseId":"bdf54e06-c255-4d86-91b8-7cb2c4bbde60","CourseName":"sample string 2","CourseState":3,"ChargeName":"sample string 4","LecturerName":"sample string 5","LastUpdatedTime":"2024-09-25T00:09:22.1128451+08:00"}],"LatestMsg":[{"MemberName":"sample string 1","Message":"sample string 2","CreatedTime":"2024-09-25T00:09:22.1128451+08:00","ReLength":"刚刚"},{"MemberName":"sample string 1","Message":"sample string 2","CreatedTime":"2024-09-25T00:09:22.1128451+08:00","ReLength":"刚刚"}],"LatestUpdatedTime":"2024-09-25T00:09:22.1128451+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfMainDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <CourseNumber>1</CourseNumber>
    <LatestCourse>
      <CourseMainDto>
        <ChargeName>sample string 4</ChargeName>
        <CourseId>bdf54e06-c255-4d86-91b8-7cb2c4bbde60</CourseId>
        <CourseName>sample string 2</CourseName>
        <CourseState>3</CourseState>
        <LastUpdatedTime>2024-09-25T00:09:22.1128451+08:00</LastUpdatedTime>
        <LecturerName>sample string 5</LecturerName>
      </CourseMainDto>
      <CourseMainDto>
        <ChargeName>sample string 4</ChargeName>
        <CourseId>bdf54e06-c255-4d86-91b8-7cb2c4bbde60</CourseId>
        <CourseName>sample string 2</CourseName>
        <CourseState>3</CourseState>
        <LastUpdatedTime>2024-09-25T00:09:22.1128451+08:00</LastUpdatedTime>
        <LecturerName>sample string 5</LecturerName>
      </CourseMainDto>
    </LatestCourse>
    <LatestMsg>
      <MsgMainDto>
        <CreatedTime>2024-09-25T00:09:22.1128451+08:00</CreatedTime>
        <MemberName>sample string 1</MemberName>
        <Message>sample string 2</Message>
      </MsgMainDto>
      <MsgMainDto>
        <CreatedTime>2024-09-25T00:09:22.1128451+08:00</CreatedTime>
        <MemberName>sample string 1</MemberName>
        <Message>sample string 2</Message>
      </MsgMainDto>
    </LatestMsg>
    <LatestUpdatedTime>2024-09-25T00:09:22.1128451+08:00</LatestUpdatedTime>
    <ReCourseNumber>2</ReCourseNumber>
    <ReResourceNumber>4</ReResourceNumber>
    <ReSubjectNumber>6</ReSubjectNumber>
    <ResourceNumber>3</ResourceNumber>
    <SubjectNumber>5</SubjectNumber>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfMainDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"CourseNumber":1,"ReCourseNumber":2,"ResourceNumber":3,"ReResourceNumber":4,"SubjectNumber":5,"ReSubjectNumber":6,"LatestCourse":[{"CourseId":"bdf54e06-c255-4d86-91b8-7cb2c4bbde60","CourseName":"sample string 2","CourseState":3,"ChargeName":"sample string 4","LecturerName":"sample string 5","LastUpdatedTime":"2024-09-25T00:09:22.1128451+08:00"},{"CourseId":"bdf54e06-c255-4d86-91b8-7cb2c4bbde60","CourseName":"sample string 2","CourseState":3,"ChargeName":"sample string 4","LecturerName":"sample string 5","LastUpdatedTime":"2024-09-25T00:09:22.1128451+08:00"}],"LatestMsg":[{"MemberName":"sample string 1","Message":"sample string 2","CreatedTime":"2024-09-25T00:09:22.1128451+08:00","ReLength":"刚刚"},{"MemberName":"sample string 1","Message":"sample string 2","CreatedTime":"2024-09-25T00:09:22.1128451+08:00","ReLength":"刚刚"}],"LatestUpdatedTime":"2024-09-25T00:09:22.1128451+08:00"}});