app服務(wù)器接口文檔_第1頁(yè)
app服務(wù)器接口文檔_第2頁(yè)
app服務(wù)器接口文檔_第3頁(yè)
app服務(wù)器接口文檔_第4頁(yè)
app服務(wù)器接口文檔_第5頁(yè)
已閱讀5頁(yè),還剩9頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、人衛(wèi)BBS接口文檔澤元迅長(zhǎng)軟件2016年06月文檔更新歷史廳P文檔版本更新容參與者更新日期11.0新增容郭可攀2016-10-131.圈子列表接口urlbooks123456789.ipmph./books/mobile.zaction?command=circleList參數(shù)示例json="UserName":"xxx","Source":"xxx","Type":"xxx","Theme":"xxx","PageSize&

2、quot;:"10","PageIndex":"1""deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":&q

3、uot;Wifi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName(用戶名)可空Source(圈子來(lái)源)教學(xué)平臺(tái)/電子書(shū)城/增值服務(wù)Type(圈子類型)交友/學(xué)習(xí)Theme(載體)可空PageSize分頁(yè)大小PageIndex 第幾頁(yè)接口描述圈子列表接口用戶名為空查詢所有類型圈子返回值成功:"result":1, "data

4、":"id":"1","Name":"圈子名稱 1"," Diescribe ":” 圈子描述” ,"logo":"books123456789.ipmph./books/courseLogo/123.jpg "," Source " :“ 教學(xué)平臺(tái)" "type":"交友",MaxCount: "10", " Theme" :“ 111

5、",“ IsTop" :"0" ,"adduser":"jsptxxx",status: "0",addtime: "2016-06-2909:03:20","count":30失敗:"result":。,"message":"獲取圈子列表失敗"2.新增圈子接口urlbooks123456789.ipmph./books/mobile.zaction?command=addCircle參數(shù)示例js

6、on="UserName":"xxx","Name":"xxx","Diescribe":"xxx","Source": "xxx","Type":"xxx","MaxCount":"100","Theme":"xxx", " IsHidden:" " 0" ,"Fil

7、eBytes":"xxx","FileName":"xxx","Users":"zhangsan;lisi", "deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"I OS","SysVersion":"IOS5.1","Mac

8、":"0E-A5-98-22-33","NetType":"Wi fi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName(用戶名)Name(圈子名稱)Source(來(lái)源 教學(xué)平臺(tái)/電子書(shū)城/增值服務(wù)。不限)Type(圈子類型交友/學(xué)習(xí)。不限)Diescribe(圈子描述)可空MaxCount(人

9、數(shù)最多限制)可空Theme(容載體ID ,同來(lái)源應(yīng)用保證唯一(授課ID或ISBN或空)可空IsHidden(是否開(kāi)放)FileBytes(文件流)可空FileName(文件名稱)可空Users(學(xué)生包括關(guān)聯(lián)老師名稱)可空接口描述注意:新增圈子TZ篋屏蔽顯不(注:TZT弋表通知/作業(yè)/討論,下同) 如果是TZT專入U(xiǎn)sers/TeacherName 建立圈子的同時(shí)把學(xué)生/老師加入圈子返回值成功:"result":1, "message": ” 新建圈子成功” 失敗:"result":。,"message":"

10、;新建圈子失敗"3.修改圈子接口urlbooks123456789.ipmph./books/mobile.zaction?command=editCircle參數(shù)示例json="UserName":"xxx","ID":"xxx","Name":"xxx","Diescribe":"xxx", "Status":"xxx","IsHidden":"xxx&

11、quot;,"MaxCount":"233","IsTop":"xxx","Fil eName":"xxx","FileBytes":"xxx","deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"I OS","Sys

12、Version":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wi fi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName(用戶名)ID(圈子ID)Name(圈子名稱)可空Diescribe(圈子描述)可空Stat

13、us(審核狀態(tài)(0:未審核1:通過(guò)2:未通過(guò))可空IsHidden(是否顯示(0:否1:是)可空MaxCount(人數(shù)最多限制)可空IsTop(是否置頂(0:否1:是)可空FileBytes文件流可空FileName 文件名可空接口描述修改圈子返回值成功:"result":1, "message": "修改圈子成功” 失敗:"result":。,"message":"修改圈子失敗"4.加入圈子接口urlbooks123456789.ipmph./books/mobile.zaction

14、?command=joinCircle參數(shù)示例json="UserName":"xxx","CircleID":"xxx","deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":&qu

15、ot;0E-A5-98-22-33","NetType":"Wifi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)UserName (用戶名)描述CircleID(圈子 ID)接口描述加入圈子返回值成功:"result":1, "message”:加入圈子成功失敗:"result"

16、:0, "message":"加入圈子失敗"5.發(fā)送帖子urlbooks123456789.ipmph./books/mobile.zaction?command=addPost參數(shù)示例json="UserName":"xxx","ToUser":"zhangsan;lisi","CircleID":"12","T itle":"xxx","Theme":"xxx&q

17、uot;,"Content":"xxx","Type":"xxx", " Source ":” xxx"deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":&quo

18、t;0E-A5-98-22-33","NetType":"Wi fi","TerminalModel":"LenovoA520',"Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName (用戶名)ToUser(收信人)可空CircleID(圈子 ID)Title(標(biāo)題)Content(容)Theme(容載體(授課ID課時(shí) ID或ISBN或空)可空Type (類型(0:通知,1:討論

19、,2:作業(yè),3:普通帖子)Source平臺(tái)來(lái)源(教學(xué)平臺(tái)/電子書(shū)城/增值服務(wù)。不限)接口描述返回值成功:"result":1, "message":"發(fā)送帖子成功” 失敗:"result":。,"message":"發(fā)送帖子失敗"6.刪除帖子urlbooks123456789.ipmph./books/mobile.zaction?command=delPost參數(shù)示例json="UserName":"xxx","CircleID&qu

20、ot;:"xxx","ID":"xxx", "deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"I OS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"

21、;Wi fi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName (用戶名)CircleID(圈子 ID)ID(帖子ID)接口描述刪除帖子返回值成功:"result":1, "message": " 刪除帖子成功” 失敗:"result":0, "message":&

22、quot;刪除帖子失敗"7.回復(fù)帖子urlbooks123456789.ipmph./books/mobile.zaction?command=replyPost參數(shù)示例json="UserName":"xxx","CircleID":"xxx","ID":"xxx","InfoID":"xxx","Content":"xxx","ToUser":"xxx&

23、quot;,"Type":"xxx","deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wifi",&q

24、uot;TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName (用戶名)CircleID(圈子 ID)InfoID(Info 表 ID)可空ID(回復(fù)表帖子ID)可空Content(回復(fù)容)ToUser(收信人)可空(發(fā)送作業(yè)時(shí),需要指定收信人)Type巾"類型接口描述回復(fù)帖子(InfoID和ID不能同時(shí)為空)返回值成功:"result":1, &qu

25、ot;message":回復(fù)巾仔成功失敗:"result":。,"message":"回復(fù)帖子失敗"8.帖子列表接口urlbooks123456789.ipmph./books/mobile.zaction?command=postList參數(shù)示例json="UserName":"xxx","CircleID":"12","Theme":"xxx","Source":"x xx

26、"," Source " :xxx"," PageSize " :“ 10 “," PageIndex " :“ 1" "deviceinfo":"SiteID":"36","AppVersion":"1.0","TerminalType":"I OS","SysVersion":"IOS5.1","Mac"

27、:"0E-A5-98-22-33","NetType":"Wi fi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName(用戶名)CircleID(圈子ID)可空Theme(載體ID,話題綁定的載體)可空Source(來(lái)源)教學(xué)平臺(tái)/電子書(shū)城/增值服務(wù)PageSize分頁(yè)大小PageIndex 第幾頁(yè)接口描

28、述圈子顯示的時(shí)候需要傳入 CircleID通知/討論/作業(yè)需要傳入Theme返回值成功:"result":1, "data":卜":"1",叮讓©":,乂p," content: " :“ xxx"," FavoCount " :” 1“,"IsTop":” 1",“ ReadFlag " :" 0 ” ,adduser":"jsptxxx,addtime:"2016-06-2

29、9 09:03:20 " ,"count":30失敗:"result":。,"message":"獲取帖子列表失敗"9.帖子詳情接口urlbooks123456789.ipmph./books/mobile.zaction?command=postDetail參數(shù)示例json="UserName":"xxx", “ ID" :“ xxx”"deviceinfo":"SiteID":"33",&qu

30、ot;AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wifi","TerminalModel":"LenovoA520',"Resolution":"720*1280","App

31、Type":"TCM"參數(shù)描述UserName (用戶名)ID(帖子ID)接口描述通知:系統(tǒng)通知,所有人只能看不能回復(fù)作業(yè):學(xué)生(只能看到自己和老師的對(duì)話),老師(所有收到作業(yè)的學(xué)生列表,點(diǎn)擊學(xué)生列表調(diào)用作業(yè)詳情接口)討論:任何人都能查看和回復(fù)返回值成功:"result":1, "data":"id":"1","Title":"帖子標(biāo)題":content: " :“ 帖子容”;ParentID " :”1" ,&qu

32、ot;adduser":"jsptxxx,addtime: "2016-06-2909:03:20 " ,"count":30失敗:"result":。,"message":"獲取帖子詳情失敗"url10.收信人列表接口books123456789.ipmph./books/mobile.zaction?command=userList參數(shù)示例json="UserName":"xxx","CircleID":&quo

33、t;xxx","deviceinfo":"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wifi","TerminalModel":&qu

34、ot;LenovoA520","Resolution":"720*1280","AppType":"TCM"參數(shù)描述UserName(用戶名)CircleID(圈子 ID)接口描述查詢當(dāng)前圈子下所有用戶返回值成功:"result":1, "data":"name":"zhangsan","realname":"三","type":"Common"失

35、敗:"result":。,"message":"認(rèn)取收信人列表失敗"11.*作業(yè)詳情接口(教學(xué)平臺(tái)教師端作業(yè)使用)urlbooks123456789.ipmph./books/mobile.zaction?command=stuReplyDetail參數(shù)示例json="UserName":"xxx","ID":"xxx", " StuName " :“ lisi” "deviceinfo":"SiteID&

36、quot;:"33","AppVersion":"1.0","TerminalType":"I OS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wi fi","TerminalModel":"LenovoA520","Resolution":&qu

37、ot;720*1280","AppType":"TCM"參數(shù)描述UserName (用戶名)ID(帖子ID)StuName(學(xué)生)接口描述學(xué)生回復(fù)詳情返回值成功:"result":1, "data":"id":"1", " content: " :“ 帖子容" ,"adduser":"jsptxxx,addtime:“2016-06-29 09:03:20 " ,"count":30失敗:"result":。,"message":"聯(lián)取作業(yè)詳情失敗"12. 未讀提示數(shù)urlbooks123456789.ipmph./books/mobile.zaction?command=unreadCount參數(shù)示例json="UserName":"xxx","Theme":"xxx","deviceinfo":"SiteID":"33","A

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論