POST api/courses/setcourselearnproc

设置课程学习状态

Request Information

URI Parameters

None.

Body Parameters

CourseLearnDto
NameDescriptionTypeAdditional information
CourseId

课程编号

globally unique identifier

None.

CatalogId

课程目录

integer

None.

Completed

课程完成

boolean

None.

Process

进度

integer

None.

TotalLength

总长度

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseId": "92b02b56-5cf2-40d5-a060-8a5f2bebbc5e",
  "CatalogId": 2,
  "Completed": true,
  "Process": 4,
  "TotalLength": 5
}

text/html

Sample:
{"CourseId":"92b02b56-5cf2-40d5-a060-8a5f2bebbc5e","CatalogId":2,"Completed":true,"Process":4,"TotalLength":5}

application/xml, text/xml

Sample:
<CourseLearnDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <CatalogId>2</CatalogId>
  <Completed>true</Completed>
  <CourseId>92b02b56-5cf2-40d5-a060-8a5f2bebbc5e</CourseId>
  <Process>4</Process>
  <TotalLength>5</TotalLength>
</CourseLearnDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

设置课程学习状态

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});