count_online.js
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* @api {post} /3m/meeting/count_online.do 10.查询课堂在线人数
* @apiName count_online
* @apiGroup meeting
* @apiVersion 1.6.0
* @apiDescription 查询课堂在线人数(正在上课的人数)
*
* @apiParam {String} siteId 站点标识
* @apiParam {String} mtgKey 课堂标识
* @apiParam {Long} timestamp 时间戳
* @apiParam {String} authId MD5(key+siteId+mtgKey+timestamp)
*
* @apiParamExample {xml} 请求示例
<?xml version="1.0" encoding="UTF-8"?>
<param>
<siteId>shanghai</siteId>
<mtgKey>10002321</mtgKey>
<timestamp>1392032123210</timestamp>
<authId>4297f44b13955235245b2497399d7a93</authId>
</param>
*
* @apiSuccess {int} errorCode
* 0:正常 <br/>
* 1:siteId 错误,站点不存在或已删除 <br/>
* 2:站点未到生效日期 <br/>
* 3: 站点过期 <br/>
* 4:authId 错误 <br/>
* 6:timestamp 超时 <br/>
* 7:mtgKey 不存在 <br/>
* 10:报文格式错误 <br/>
* @apiSuccess {String} mtgKey 传入的值
* @apiSuccess {int} online 当前在线人数
*
* @apiSuccessExample {xml} 返回示例
<?xml version=“1.0” encoding="UTF-8"?>
<result>
<errorCode>0</errorCode>
<mtgKey>10002321</mtgKey>
<online>18</online>
</result>
*
*/