盒马NB渠道侧查询用户绑定
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request_param | ThirdUserBindingRequest | 必须 | 请求入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
response_param | Result | result | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaWdkVerticalNbUserBindingQueryRequest req = new AlibabaWdkVerticalNbUserBindingQueryRequest(); AlibabaWdkVerticalNbUserBindingQueryRequest.ThirdUserBindingRequest obj1 = new AlibabaWdkVerticalNbUserBindingQueryRequest.ThirdUserBindingRequest(); obj1.setThirdAvatar( "https:xxxx" ); obj1.setThirdUnionId( "321" ); obj1.setThirdNickName( "甲乙丙丁" ); obj1.setOutUserId( "123" ); obj1.setIp( "11.22.34.45" ); obj1.setUserAgent( "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0" ); req.setRequestParam(obj1); AlibabaWdkVerticalNbUserBindingQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < alibaba_wdk_vertical_nb_user_binding_query_response > < response_param > < code >xx</ code > < data > < is_binding >false</ is_binding > < is_demotion >false</ is_demotion > </ data > < success >false</ success > < message >xxx</ message > </ response_param > </ alibaba_wdk_vertical_nb_user_binding_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|