GET api/courses/getcourseidbypubid?pubId={pubId}

根据发布编号获取当前课程编号

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pubId

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": "c01b8ca4-a5d2-4f90-a60e-31b551cdb387"
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":"c01b8ca4-a5d2-4f90-a60e-31b551cdb387"}

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>c01b8ca4-a5d2-4f90-a60e-31b551cdb387</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":"c01b8ca4-a5d2-4f90-a60e-31b551cdb387"});