获取发货地&CP开通状态&账户的使用情况
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
cp_code | String | 可选 | POSTB | 物流公司code |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
waybill_apply_subscription_cols | WaybillApplySubscriptionInfo [] | x | CP网点信息及对应的商家的发货信息 |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); CainiaoWaybillIiSearchRequest req = new CainiaoWaybillIiSearchRequest(); req.setCpCode( "POSTB" ); CainiaoWaybillIiSearchResponse 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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | < cainiao_waybill_ii_search_response > < waybill_apply_subscription_cols > < waybill_apply_subscription_info > < branch_account_cols > < waybill_branch_account > < allocated_quantity >1</ allocated_quantity > < branch_code >1232</ branch_code > < branch_name >杭州网点</ branch_name > < branch_status >1</ branch_status > < cancel_quantity >23</ cancel_quantity > < print_quantity >12</ print_quantity > < quantity >32</ quantity > < shipp_address_cols > < address_dto > < detail >文一西路</ detail > < district >余杭区</ district > < city >杭州市</ city > < province >浙江省</ province > < town >仓前街道</ town > < waybill_address_id >12343L</ waybill_address_id > </ address_dto > </ shipp_address_cols > < service_info_cols > < service_info_dto > < service_name >物流产品类型服务</ service_name > < service_code >SVC-ANE56-PRODUCT-TYPE</ service_code > < service_attributes > < service_attribute_dto > < attribute_code >value</ attribute_code > < attribute_name >产品类型</ attribute_name > < attribute_type >enum</ attribute_type > < type_desc >{"type":"enum","desc":{"95":"Mini小包, 重量<=70KG","23":"定时达, 重量>70KG","270":"普惠达, 重量>1000KG","211":"易碎品(标准快运), 重量>70KG","212":"易碎品(定时达),重量>70KG","213":"易碎品(mini小包),重量<=70KG"}}</ type_desc > </ service_attribute_dto > </ service_attributes > < service_desc >安能物流产品类型</ service_desc > < required >true</ required > </ service_info_dto > </ service_info_cols > < segment_code >NORMAL</ segment_code > < brand_code >SF_FW</ brand_code > < customer_code_list > < string >["232324"]</ string > </ customer_code_list > < customer_code_map >{"120380001":"0220000003"}</ customer_code_map > </ waybill_branch_account > </ branch_account_cols > < cp_code >ZTO</ cp_code > < cp_type >1</ cp_type > </ waybill_apply_subscription_info > </ waybill_apply_subscription_cols > </ cainiao_waybill_ii_search_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 > |
错误码 | 错误描述 | 解决方案 |
---|