绑定账号对应实名快递掌柜号
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
user_id | Number | 可选 | 4398046875662 | 小件员id | |
session_code | String | 可选 | 9154f3ac80234c138648eb906b630165 | 小件员session |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
status_code | String | 2 | 错误码 |
status_message | String | session错误 | 错误信息 |
is_success | Boolean | false | 是否成功 |
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); CainiaoGuoguoCourierManagerBindwithauthorityRequest req = new CainiaoGuoguoCourierManagerBindwithauthorityRequest(); req.setUserId(4398046875662L); req.setSessionCode( "9154f3ac80234c138648eb906b630165" ); CainiaoGuoguoCourierManagerBindwithauthorityResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < cainiao_guoguo_courier_manager_bindwithauthority_response > < status_code >2</ status_code > < status_message >session错误</ status_message > < is_success >false</ is_success > </ cainiao_guoguo_courier_manager_bindwithauthority_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 > |
错误码 | 错误描述 | 解决方案 |
---|