获取消息目录
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
account_id | Number | 可选 | 1 | 账号ID | |
source | String | 可选 | iwork-mall | 调用者 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CollectionResult | {} | 响应结果集 |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCampusMcMessageboxGetmbcataloglistRequest req = new AlibabaCampusMcMessageboxGetmbcataloglistRequest(); req.setAccountId(1L); req.setSource( "iwork-mall" ); AlibabaCampusMcMessageboxGetmbcataloglistResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | < alibaba_campus_mc_messagebox_getmbcataloglist_response > < result > < contents > < content > < last_msg_time >1234123123</ last_msg_time > < icon_url >xx.xx.com/xxx.jpg</ icon_url > < last_msg_title >12313</ last_msg_title > < account_id >1</ account_id > < type_c_name >手机消息</ type_c_name > < type >1</ type > < last_msg_id >1</ last_msg_id > < unread_count >1</ unread_count > < gmt_modified >12312313</ gmt_modified > < gmt_create >1231231313</ gmt_create > < id >1</ id > </ content > </ contents > < total_count >123</ total_count > < request_id >1</ request_id > < error_code >200</ error_code > < error_msg >ok</ error_msg > < success >true</ success > < error_level >1</ error_level > < error_ext_info >{"errormsg":"ok"}</ error_ext_info > </ result > </ alibaba_campus_mc_messagebox_getmbcataloglist_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|