GET api/courseware/find?id={id}&courseId={courseId}

加载课件

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

courseId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

加载课件

JsonRtnDtoOfCourseware
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Courseware

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "CatalogID": 1,
    "CourseId": "cba189a2-c729-477f-bdd1-aed6c9a8ada8",
    "Name": "sample string 3",
    "ContentType": 4,
    "Link": "sample string 5",
    "Content": "sample string 6",
    "ResourceName": "sample string 7",
    "ResourceId": "a7d4db84-c553-43b2-a619-40095272ee35",
    "RetestRepository": 9,
    "CreatedTime": "2024-09-25T00:09:46.1401854+08:00",
    "EnableMultiple": true,
    "ValidateType": 0,
    "DialogTime": 12.0
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"CatalogID":1,"CourseId":"cba189a2-c729-477f-bdd1-aed6c9a8ada8","Name":"sample string 3","ContentType":4,"Link":"sample string 5","Content":"sample string 6","ResourceName":"sample string 7","ResourceId":"a7d4db84-c553-43b2-a619-40095272ee35","RetestRepository":9,"CreatedTime":"2024-09-25T00:09:46.1401854+08:00","EnableMultiple":true,"ValidateType":0,"DialogTime":12.0}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfCoursewaremEDjlcEG 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.Data">
    <d2p1:CatalogID>1</d2p1:CatalogID>
    <d2p1:Content>sample string 6</d2p1:Content>
    <d2p1:ContentType>4</d2p1:ContentType>
    <d2p1:CourseId>cba189a2-c729-477f-bdd1-aed6c9a8ada8</d2p1:CourseId>
    <d2p1:CreatedTime>2024-09-25T00:09:46.1401854+08:00</d2p1:CreatedTime>
    <d2p1:DialogTime>12</d2p1:DialogTime>
    <d2p1:EnableMultiple>true</d2p1:EnableMultiple>
    <d2p1:Link>sample string 5</d2p1:Link>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:ResourceId>a7d4db84-c553-43b2-a619-40095272ee35</d2p1:ResourceId>
    <d2p1:ResourceName>sample string 7</d2p1:ResourceName>
    <d2p1:RetestRepository>9</d2p1:RetestRepository>
    <d2p1:ValidateType>随机拖动或验证码</d2p1:ValidateType>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfCoursewaremEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"CatalogID":1,"CourseId":"cba189a2-c729-477f-bdd1-aed6c9a8ada8","Name":"sample string 3","ContentType":4,"Link":"sample string 5","Content":"sample string 6","ResourceName":"sample string 7","ResourceId":"a7d4db84-c553-43b2-a619-40095272ee35","RetestRepository":9,"CreatedTime":"2024-09-25T00:09:46.1401854+08:00","EnableMultiple":true,"ValidateType":0,"DialogTime":12.0}});