GET api/courses/loadcoursebase?id={id}

加载基础数据课程

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

加载基础数据课程

JsonRtnDtoOfCourseDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

CourseDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": "33709f91-775a-400c-b401-5c5522156e77",
    "PubID": "79e010d8-eb2e-4acd-a67f-8683f97deb67",
    "CreatedUserID": 3,
    "ModifyUserID": 4,
    "CourseName": "sample string 5",
    "CourseTypes": "sample string 6",
    "ChargeID": 7,
    "ChargeName": "sample string 8",
    "TeachTeam": "sample string 9",
    "Teams": [
      {
        "MemberId": "sample string 1",
        "MemberType": 2,
        "AccountName": "sample string 3",
        "MemberName": "sample string 4"
      },
      {
        "MemberId": "sample string 1",
        "MemberType": 2,
        "AccountName": "sample string 3",
        "MemberName": "sample string 4"
      }
    ],
    "Cover": "sample string 10",
    "Recommendation": "sample string 11",
    "PartIn": true,
    "Period": 13.1,
    "Credits": 14,
    "Lbls": "sample string 15",
    "OpenState": true,
    "ProfessionalCourseId": 17,
    "ProfessionalCoursePath": "sample string 18",
    "IsHot": true,
    "Semester": 1,
    "Grade": 19
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"33709f91-775a-400c-b401-5c5522156e77","PubID":"79e010d8-eb2e-4acd-a67f-8683f97deb67","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","CourseTypes":"sample string 6","ChargeID":7,"ChargeName":"sample string 8","TeachTeam":"sample string 9","Teams":[{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"},{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"}],"Cover":"sample string 10","Recommendation":"sample string 11","PartIn":true,"Period":13.1,"Credits":14,"Lbls":"sample string 15","OpenState":true,"ProfessionalCourseId":17,"ProfessionalCoursePath":"sample string 18","IsHot":true,"Semester":1,"Grade":19}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfCourseDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <ChargeID>7</ChargeID>
    <ChargeName>sample string 8</ChargeName>
    <CourseName>sample string 5</CourseName>
    <CourseTypes>sample string 6</CourseTypes>
    <Cover>sample string 10</Cover>
    <CreatedUserID>3</CreatedUserID>
    <Credits>14</Credits>
    <Grade>19</Grade>
    <Id>33709f91-775a-400c-b401-5c5522156e77</Id>
    <IsHot>true</IsHot>
    <Lbls>sample string 15</Lbls>
    <ModifyUserID>4</ModifyUserID>
    <OpenState>true</OpenState>
    <PartIn>true</PartIn>
    <Period>13.1</Period>
    <ProfessionalCourseId>17</ProfessionalCourseId>
    <ProfessionalCoursePath>sample string 18</ProfessionalCoursePath>
    <PubID>79e010d8-eb2e-4acd-a67f-8683f97deb67</PubID>
    <Recommendation>sample string 11</Recommendation>
    <Semester>第一学期</Semester>
    <TeachTeam>sample string 9</TeachTeam>
    <Teams>
      <MemberMiniViewDto>
        <AccountName>sample string 3</AccountName>
        <MemberId>sample string 1</MemberId>
        <MemberName>sample string 4</MemberName>
        <MemberType>2</MemberType>
      </MemberMiniViewDto>
      <MemberMiniViewDto>
        <AccountName>sample string 3</AccountName>
        <MemberId>sample string 1</MemberId>
        <MemberName>sample string 4</MemberName>
        <MemberType>2</MemberType>
      </MemberMiniViewDto>
    </Teams>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfCourseDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"33709f91-775a-400c-b401-5c5522156e77","PubID":"79e010d8-eb2e-4acd-a67f-8683f97deb67","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","CourseTypes":"sample string 6","ChargeID":7,"ChargeName":"sample string 8","TeachTeam":"sample string 9","Teams":[{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"},{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"}],"Cover":"sample string 10","Recommendation":"sample string 11","PartIn":true,"Period":13.1,"Credits":14,"Lbls":"sample string 15","OpenState":true,"ProfessionalCourseId":17,"ProfessionalCoursePath":"sample string 18","IsHot":true,"Semester":1,"Grade":19}});