conf_status.js
1.5 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
43
44
45
46
47
/**
* @api {post} /3m/meeting/conf_status.do 09.查询课堂的状态
* @apiName conf_status
* @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} status 课堂的状态:<br/>
* 0 课堂正在创建 <br/>
* 1 课堂处于预约状态 <br/>
* 2 课堂正在进行中 <br/>
* 3 课堂已经取消 <br/>
* 4 课堂已经结束 <br/>
*
* @apiSuccessExample {xml} 返回示例
<?xml version=“1.0” encoding="UTF-8"?>
<result>
<errorCode>0</errorCode>
<mtgKey>10002321</mtgKey>
<status>2</status>
</result>
*
*/