## **獲取一周課程表接口 getTimetableUrl**
**接口描述**
* 獲取一周課程表接口
**請求URL**
* [xxx.com/xxx](http://xxx.com/xxx)
**請求方式**
* GET
**請求參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| deviceId | string | 設備序列號 |
**返回參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| course| string | 課目 |
| courseList| array | 課程列表|
| teacherProfile| string | 老師簡介|
| courseName| string | 課程名稱|
| week| number| 星期一,1|
**返回示例**
```
{
"status":0,
"msg":"獲取數據成功",
"serverTime":"1286676610",
"data":[
{
"week":"1",
"courseList":[
{
"id":"",
"courseId":"",
"courseName":"",
"teacherId":"",
"teacherName":"",
"startTime":"",//HH:MM:SS
"endTime":""
},
{
"id":"",
"courseId":"",
"courseName":"",
"teacherId":"",
"teacherName":"",
"startTime":"",
"endTime":""
}
]
},
{
"week":"2",
"courseList":[
{
"id":"",
"courseId":"",
"courseName":"",
"teacherId":"",
"teacherName":"",
"startTime":"",
"endTime":""
}
]
}
]
}
```