GET {version}/Course/GetPPLiveInfo?ppliveId={ppliveId}
根据课表ID获得直播信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ppliveId | integer |
Required |
|
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PPLiveDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IsPlay |
是否可播放 |
boolean |
None. |
| Type |
直播类型: 4-直播 5-伪直播 6-点播 |
integer |
None. |
| Data |
直播或回放参数 |
Object |
None. |
| Status |
状态 0-未知 1-直播中 2-回放-直播结束后转回放 3-直播异常 4-停播 |
integer |
None. |
| FrontStamp |
前戳 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsPlay": true,
"Type": 2,
"Data": {},
"Status": 4,
"FrontStamp": "sample string 5"
}
application/xml, text/xml
Sample:
<PPLiveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eshikao.Models.Course"> <Data /> <FrontStamp>sample string 5</FrontStamp> <IsPlay>true</IsPlay> <Status>4</Status> <Type>2</Type> </PPLiveDto>