获取光合用户关系id
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
user_relation_open_req | UserRelationOpenReq | 必须 | 请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); GuangguangContentRelationIdGetRequest req = new GuangguangContentRelationIdGetRequest(); GuangguangContentRelationIdGetRequest.UserRelationOpenReq obj1 = new GuangguangContentRelationIdGetRequest.UserRelationOpenReq(); obj1.setGids( "123" ); req.setUserRelationOpenReq(obj1); GuangguangContentRelationIdGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 | < guangguang_content_relation_id_get_response > < result > < success >true</ success > < error_code >isv.invalid-parameter</ error_code > < model > < user_relation_open_d_t_o > < gid >123</ gid > < relation_id >abc</ relation_id > </ user_relation_open_d_t_o > </ model > < error_msg >参数错误</ error_msg > </ result > </ guangguang_content_relation_id_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 > |
错误码 | 错误描述 | 解决方案 |
---|