POST api/courseextend/save

保存课程介绍信息

Request Information

URI Parameters

None.

Body Parameters

课程介绍信息实体

CourseExtend
NameDescriptionTypeAdditional information
CourseID

课程编号

globally unique identifier

None.

Intro

简介

string

None.

LecturerID

讲师编号

integer

None.

Intended

适用人群

string

None.

TeachingProgram

教学大纲

string

None.

Preknowledge

预备知识

string

None.

ReferenceMaterial

参考资料

string

None.

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseID": "060cd419-831b-4bee-a29a-0d2a58164715",
  "Intro": "sample string 2",
  "LecturerID": 3,
  "Intended": "sample string 4",
  "TeachingProgram": "sample string 5",
  "Preknowledge": "sample string 6",
  "ReferenceMaterial": "sample string 7",
  "CreatedTime": "2024-09-25T00:12:03.1405765+08:00"
}

text/html

Sample:
{"CourseID":"060cd419-831b-4bee-a29a-0d2a58164715","Intro":"sample string 2","LecturerID":3,"Intended":"sample string 4","TeachingProgram":"sample string 5","Preknowledge":"sample string 6","ReferenceMaterial":"sample string 7","CreatedTime":"2024-09-25T00:12:03.1405765+08:00"}

application/xml, text/xml

Sample:
<CourseExtend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CourseID>060cd419-831b-4bee-a29a-0d2a58164715</CourseID>
  <CreatedTime>2024-09-25T00:12:03.1405765+08:00</CreatedTime>
  <Intended>sample string 4</Intended>
  <Intro>sample string 2</Intro>
  <LecturerID>3</LecturerID>
  <Preknowledge>sample string 6</Preknowledge>
  <ReferenceMaterial>sample string 7</ReferenceMaterial>
  <TeachingProgram>sample string 5</TeachingProgram>
</CourseExtend>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存课程介绍信息

JsonRtnDtoOfCourseExtend
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

CourseExtend

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "CourseID": "37f1cd15-9bea-4da4-b304-54fbdd05c012",
    "Intro": "sample string 2",
    "LecturerID": 3,
    "Intended": "sample string 4",
    "TeachingProgram": "sample string 5",
    "Preknowledge": "sample string 6",
    "ReferenceMaterial": "sample string 7",
    "CreatedTime": "2024-09-25T00:12:03.1720294+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"CourseID":"37f1cd15-9bea-4da4-b304-54fbdd05c012","Intro":"sample string 2","LecturerID":3,"Intended":"sample string 4","TeachingProgram":"sample string 5","Preknowledge":"sample string 6","ReferenceMaterial":"sample string 7","CreatedTime":"2024-09-25T00:12:03.1720294+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfCourseExtendmEDjlcEG 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:CourseID>37f1cd15-9bea-4da4-b304-54fbdd05c012</d2p1:CourseID>
    <d2p1:CreatedTime>2024-09-25T00:12:03.1720294+08:00</d2p1:CreatedTime>
    <d2p1:Intended>sample string 4</d2p1:Intended>
    <d2p1:Intro>sample string 2</d2p1:Intro>
    <d2p1:LecturerID>3</d2p1:LecturerID>
    <d2p1:Preknowledge>sample string 6</d2p1:Preknowledge>
    <d2p1:ReferenceMaterial>sample string 7</d2p1:ReferenceMaterial>
    <d2p1:TeachingProgram>sample string 5</d2p1:TeachingProgram>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfCourseExtendmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"CourseID":"37f1cd15-9bea-4da4-b304-54fbdd05c012","Intro":"sample string 2","LecturerID":3,"Intended":"sample string 4","TeachingProgram":"sample string 5","Preknowledge":"sample string 6","ReferenceMaterial":"sample string 7","CreatedTime":"2024-09-25T00:12:03.1720294+08:00"}});