Post
Request
{ "Action":"getappmsg", "token":"b6d52fd8-b61f-43e5-8e34-6b18a2378666", "Isdebug":1, "RequestData": { "PageSize":3, "PageIndex":0, "Keyword":"Wine" }}View Code
Response
{ "Data": { "List": [ { "FullUrl":"http://jsh5.blog.163.com/blog/static/1035502352009718112035146/", "Key":"b8eab715-02e1-458e-a38d-c095e5397d6d", "Publishedstamp":"2016-05-17 00:00:00", "Tags":"Test1,test2", "Title":"South East with Spirits .", "Unread":true }, { "FullUrl":"http://jsh5.blog.163.com/blog/static/103550235200971692515486/", "Key":"692f2a4b-4b70-4aeb-af6b-8bb3d7a4dcae", "Publishedstamp":"2016-06-17 00:00:00", "Tags":"test3", "Title":"is it natural to drink alcohol? ", "Unread":true } ], "Summaryrecord": { "PageIndex":0, "PageSize":3, "Totalpagecount":1, "Totalrecordcount":2 } }, "msg":"Success", "Responsecode": { "Msgcode": $, "Msgdetail":"OK" }, "Servertime":"2016-06-23 02:46:04", "Success":true}View Code
Request 2:
{ "Action":"getappmsg", "token":"b6d52fd8-b61f-43e5-8e34-6b18a2378666", "Isdebug":1, "RequestData": { "Key":"692f2a4b-4b70-4aeb-af6b-8bb3d7a4dcae" }}View Code
Response
{ "Data": { "List": [ { "FullUrl":"http://jsh5.blog.163.com/blog/static/103550235200971692515486/", "Key":"692f2a4b-4b70-4aeb-af6b-8bb3d7a4dcae", "Publishedstamp":"2016-06-17 00:00:00", "Tags":"test3", "Title":"is it natural to drink alcohol? ", "Unread":true } ], "Summaryrecord": { "PageIndex":0, "PageSize":Ten, "Totalpagecount":1, "Totalrecordcount":1 } }, "msg":"Success", "Responsecode": { "Msgcode": $, "Msgdetail":"OK" }, "Servertime":"2016-06-23 02:47:42", "Success":true}View Code
Description
Keyword and key can not be transmitted.
PageSize and pageindex also can not preach.
PageSize when not transmitted, the background default is 10;
When PageIndex is not passed, the background default value is 0, which indicates the first page.
End
Getappmsg, take my message.