获取(当前)用户信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
output | OpenResponse | 响应信息 | |
|
1 2 3 4 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); InteractionTblifeUserInfoGetRequest req = new InteractionTblifeUserInfoGetRequest(); InteractionTblifeUserInfoGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | < interaction_tblife_user_info_get_response > < output > < trace_id >xxx</ trace_id > < msg >xxx</ msg > < code >xxx</ code > < data > < user_id >xxx</ user_id > < nick >xxx</ nick > < sex >MALE</ sex > < button_num >1000</ button_num > </ data > < success >true</ success > < server_time >1669352100137</ server_time > </ output > </ interaction_tblife_user_info_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|