資源描述:
《app服務(wù)器接口文檔.doc》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、.人衛(wèi)BBS接口文檔Word資料.澤元迅長軟件2016年06月文檔更新歷史序號文檔版本更新容參與者更新日期11.0新增容郭可攀2016-10-13Word資料.Word資料.1.圈子列表接口urlbooks123456789.ipmph./books/mobile.zaction?command=circleList參數(shù)示例json={"UserName":"xxx","Source":"xxx","Type":"xxx","Theme":"xxx","PageSize":"10","PageIndex":"1""devicei
2、nfo":[{"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wifi","TerminalModel":"LenovoA520","Resolution":"720*1280","AppType":"TCM"}]}參數(shù)描述UserName(用戶名)可空Source(圈子來源)教學(xué)平臺/電子書城/增值服務(wù)Type(圈子類型)交友/學(xué)習(xí)Theme(載體)可空Pa
3、geSize分頁大小PageIndex第幾頁接口描述圈子列表接口用戶名為空查詢所有類型圈子返回值成功:{"result":1,"data":[{"id":"1","Name":"圈子名稱1",”Diescribe”:”Word資料.圈子描述”,"logo":"books123456789.ipmph./books/courseLogo/123.jpg",”Source”:”教學(xué)平臺”"type":"交友",MaxCount:"10",”Theme”:”111”,”IsTop”:”0”,"adduser":"jsptxxx",st
4、atus:"0",addtime:"2016-06-2909:03:20"}],"count":30}失敗:{"result":0,"message":"獲取圈子列表失敗"}1.新增圈子接口urlbooks123456789.ipmph./books/mobile.zaction?command=addCircle參數(shù)示例json={"UserName":"xxx","Name":"xxx","Diescribe":"xxx","Source":"xxx","Type":"xxx","MaxCount":"100","Theme
5、":"xxx",”IsHidden:””0”,"FileBytes":"xxx","FileName":"xxx","Users":"zhangsan;lisi","deviceinfo":[{"SiteID":"33","AppVersion":"1.0","TerminalType":"IOS","SysVersion":"IOS5.1","Mac":"0E-A5-98-22-33","NetType":"Wifi","TerminalModel":"LenovoA520","Resolution":"720*1280","
6、AppType":"TCM"}]}參數(shù)描述UserName(用戶名)Name(圈子名稱)Source(來源教學(xué)平臺/電子書城/增值服務(wù)。。。不限)Type(圈子類型交友/學(xué)習(xí)。。。不限)Word資料.Diescribe(圈子描述)可空MaxCount(人數(shù)最多限制)可空Theme(容載體ID,同來源應(yīng)用保證唯一(授課ID或ISBN或空))可空IsHidden(是否開放)FileBytes(文件流)可空FileName(文件名稱)可空Users(學(xué)生包括關(guān)聯(lián)老師名稱)可空接口描述注意:新增圈子TZT要屏蔽顯示(注:TZT代表通知/
7、作業(yè)/討論,下同)如果是TZT傳入Users/TeacherName建立圈子的同時把學(xué)生/老師加入圈子返回值成功:{"result":1,"message":”新建圈子成功”}失敗:{"result":0,"message":"新建圈子失敗"}1.修改圈子接口urlbooks123456789.ipmph./books/mobile.zaction?command=editCircle參數(shù)示例json={"UserName":"xxx","ID":"xxx","Name":"xxx","Diescribe":"xxx","Sta
8、tus":"xxx","IsHidden":"xxx","MaxCount":"233","IsTop":"xxx","FileName":"xxx","FileBytes":"xxx","deviceinfo":[{"SiteID":"33","AppVers