#### 接口路徑:https://dev.lingju.ai/httpapi/future_clock.do
<table style="width:100%">
<tbody>
<tr height="28" style="font-weight:bold;">
<td height="28" width="130px" >名稱</td>
<td colspan="3" >提醒記錄查詢接口</td>
</tr>
<tr height="28" style="font-weight:bold;">
<td height="28" >接口路徑</td>
<td colspan="3" >https://dev.lingju.ai/httpapi/future_clock.do</td>
</tr>
<tr height="28" style="font-weight:bold;">
<td height="28" >請求方式</td>
<td colspan="3" >get/post</td>
</tr>
</tbody>
</table>
#### http get請求示例:
~~~
https://dev.lingju.ai/httpapi/future_clock.do?accesstoken=xxxxxxxxxx
~~~
#### 請求參數說明:
<table style="width:100%">
<thead>
<tr height="28">
<th width="130px">參數</th>
<th width="100px">數據類型</th>
<th width="130px">可需</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr height="23" style="height:17.25pt">
<td height="23" >accesstoken</td>
<td >String</td>
<td>必填</td>
<td >授權接口獲取的accessToken</td>
</tr>
</tbody>
</table>
#### 接口返回JSON示例:
~~~
{
"content":[
{
"sid":"59448c21b2765b5e72a42638",
"recyle":0,"created":1497664545383,
"remindTime":1497657645368,
"frequency":8,
"valid":1,
"item":"鬧鐘",
"scheduler":[
{
"when":1497657645368,
"interval":1,
"unit":"D"
}
],
"timestamp":1497664545383
}
],
"status":0
}
~~~
#### 接口返回說明:
~~~
Content-Type:application/json;charset=UTF-8
~~~
<table style="width:100%">
<thead>
<tr height="28" >
<th height="28" width="130px">屬性名</th>
<th width="100px">數據類型</th>
<th colspan="4">描述</th>
</tr>
</thead>
<tbody>
<tr height="23">
<td height="23" >status</td>
<td>int</td>
<td colspan="4">狀態碼,0=成功,其它值則為錯誤碼,請參考錯誤碼表</td>
</tr>
<tr height="23">
<td height="23" >description</td>
<td >String</td>
<td colspan="4">通常不存在,出錯時會返回錯誤信息</td>
</tr>
<tr >
<td rowspan="10" >content</td>
<td rowspan="10" >JSON數組</td>
<td width="50px">item</td>
<td colspan="3">鬧鐘類型:鬧鐘、工作日、周末;string</td>
</tr>
<tr >
<td width="50px">sid</td>
<td colspan="3">提醒記錄的服務端ID,16進制字符</td>
</tr>
<tr >
<td width="50px">timestamp</td>
<td colspan="3">創建時間,long</td>
</tr>
<tr >
<td width="50px">recyle</td>
<td colspan="3">是否已被回收,1=已刪除,0=可用</td>
</tr>
<tr >
<td width="50px">remindTime</td>
<td colspan="3">已廢棄,提醒時間</td>
</tr>
<tr >
<td width="50px">frequency</td>
<td colspan="3">已廢棄,頻率</td>
</tr>
<tr >
<td width="50px">valid</td>
<td colspan="3">開關,是否有效,1=開</td>
</tr>
<tr >
<td rowspan="3">scheduler</td>
<td rowspan="3">JSON數組,定時方案集合,</td>
<td>when</td>
<td>觸發時間,long</td>
</tr>
<tr >
<td>interval</td>
<td>間隔時間</td>
</tr>
<tr >
<td>unit</td>
<td>時間時間的單位:MS:毫秒,S:秒,MI:分鐘,H:小時,D:日,M:月,Y:年</td>
</tr>
</tbody>
</table>