WorkPro 手册

好友申请列表

[API接口调用测试]

接口地址

[接口服务器地址]/api/linkmans/request_list.html

请求方法

POST

Request Headers

名称 必选 类型 说明
Content-Type true string application/json; charset=UTF-8
authen true string 认证码 什么是认证码
appid true string 接入ID 什么是接入ID
timestamp true string 时间戳
uid true string 当前帐号
lang true string 语言 zh-cn,en-us

Request Body

名称 必选 类型 说明
user_id true string 被申请人ID

调用样例及调试工具

测试接口

返回结果(成功)

            {"status":1,"code":0,"msg":"","data":[{"gid":"3b813afe5c4511e9a97a88d7f697be9a","user_id":"user_id1","account1":"test1","target_type":"friend","target_id":"test2","request_reason":"","create_time":1514736000,"deal_status":0,"deal_reason":"","deal_time":0},{"gid":"3d6cb3ac5c4511e9b81988d7f697be9a","user_id":"test1","target_type":"friend","target_id":"test3","request_reason":"","create_time":1514736000,"deal_status":0,"deal_reason":"","deal_time":0}]}