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

发布课程

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

发布课程

JsonRtnDtoOfGuid
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": "70db3f70-e276-4713-9d6b-b23fc4b34548"
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":"70db3f70-e276-4713-9d6b-b23fc4b34548"}

application/xml, text/xml

Sample:
<JsonRtnDtoOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>70db3f70-e276-4713-9d6b-b23fc4b34548</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfguid>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":"70db3f70-e276-4713-9d6b-b23fc4b34548"});