checkBill
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
adjust_fee | String | 可选 | 12.11 | 调价(元) | |||||||
app_context_param | AppContextParam | 可选 | 客户端信息 | ||||||||
|
|||||||||||
append_fee | String | 可选 | 12.11 | 附加费(元) | |||||||
execute_user_list | ExecuteUserDto [] | 可选 |
|
账号list | |||||||
|
|||||||||||
goods_height | String | 可选 | 1.1 | 货品体积:高 | |||||||
goods_length | String | 可选 | 1.3 | 货品体积:长 | |||||||
goods_weight | String | 可选 | 12.11 | 商品重量kg.不能为空 | |||||||
goods_width | String | 可选 | 1.2 | 货品体积:宽 | |||||||
order_insurance_price | String | 可选 | 12.11 | 保价费(元) | |||||||
order_insurance_value | String | 可选 | 12.11 | 声明价(元) | |||||||
order_price | String | 可选 | 12.11 | 寄件基础价(元).不能为空 | |||||||
order_total_price | String | 可选 | 12.11 | 订单总价(元).不能为空 | |||||||
package_fee | String | 可选 | 12.11 | 包装费(元) | |||||||
pass_weight_check | Number | 可选 | 1 | 是否跳过核价重量校验,1跳过,0不跳过 | |||||||
personal_session | String | 必须 | dsdf324234234324 | 个人账号sessionCode不能为空 | |||||||
personal_user_id | Number | 必须 | 324234234324 | 个人账号ID不能为空 | |||||||
task_order_id | Number | 必须 | 1042423423 | 履行任务单ID不能为空 | |||||||
un_round_goods_weight | Number | 可选 | 11111 | 小件员称重重量单位克 | |||||||
pay_way | String | 可选 | asdasd | 支付方式 | |||||||
user_pay_code | String | 可选 | asdasd | 支付编码 | |||||||
dpatch_env | String | 可选 | 1231 | 环境变量 | |||||||
btype | String | 可选 | 上门 | 订单类型 | |||||||
offline | Number | 可选 | 1 | 弱网 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | OperCheckBillResDto | 参数data | |
|
|||
status_code | String | PARAMS_CANNOT_BE_NULL | 错误码 |
status_message | String | 参数不能为空 | 错误描述 |
is_success | Boolean | true | 是否成功 |
trace_id | String | 0be4314615320739620257888e18e2 | 鹰眼ID |
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 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); CainiaoGuoguoFulfilCheckbillRequest req = new CainiaoGuoguoFulfilCheckbillRequest(); req.setAdjustFee( "12.11" ); CainiaoGuoguoFulfilCheckbillRequest.AppContextParam obj1 = new CainiaoGuoguoFulfilCheckbillRequest.AppContextParam(); obj1.setAppBattery( "45" ); obj1.setDeviceType( "ios" ); obj1.setLocAccuracy( "23" ); obj1.setLocAuth( "true" ); obj1.setLocLat( "123.22" ); obj1.setLocLng( "123.22" ); obj1.setLocOpen( "true" ); obj1.setLocSucc( "true" ); obj1.setLocTime(123L); obj1.setLocType( "gps" ); obj1.setPkgId( "fsdfId" ); obj1.setPkgName( "fsdf.sdf" ); obj1.setSdkVersion( "6.0.1" ); req.setAppContextParam(obj1); req.setAppendFee( "12.11" ); List<CainiaoGuoguoFulfilCheckbillRequest.ExecuteUserDto> list3 = new ArrayList<CainiaoGuoguoFulfilCheckbillRequest.ExecuteUserDto>(); CainiaoGuoguoFulfilCheckbillRequest.ExecuteUserDto obj4 = new CainiaoGuoguoFulfilCheckbillRequest.ExecuteUserDto(); list3.add(obj4); obj4.setExecuteUserId(0L); obj4.setExecuteUserType( "foo" ); req.setExecuteUserList(list3); req.setGoodsHeight( "1.1" ); req.setGoodsLength( "1.3" ); req.setGoodsWeight( "12.11" ); req.setGoodsWidth( "1.2" ); req.setOrderInsurancePrice( "12.11" ); req.setOrderInsuranceValue( "12.11" ); req.setOrderPrice( "12.11" ); req.setOrderTotalPrice( "12.11" ); req.setPackageFee( "12.11" ); req.setPassWeightCheck(1L); req.setPersonalSession( "dsdf324234234324" ); req.setPersonalUserId(324234234324L); req.setTaskOrderId(1042423423L); req.setUnRoundGoodsWeight(11111L); req.setPayWay( "asdasd" ); req.setUserPayCode( "asdasd" ); req.setDpatchEnv( "1231" ); req.setBtype( "上门" ); req.setOffline(1L); CainiaoGuoguoFulfilCheckbillResponse rsp = client.execute(req); 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 | < cainiao_guoguo_fulfil_checkbill_response > < data > < adjust_fee >2342</ adjust_fee > < append_fee >2342</ append_fee > < continued_heavy_price >1231</ continued_heavy_price > < continued_total_heavy >1231</ continued_total_heavy > < continued_total_price >1231</ continued_total_price > < cp_delivery_fee >2342</ cp_delivery_fee > < goods_height >234</ goods_height > < goods_length >234</ goods_length > < goods_weight >2342</ goods_weight > < goods_width >234</ goods_width > < insurance_fee >2342</ insurance_fee > < order_insurance_value >2342</ order_insurance_value > < order_total_price >2342</ order_total_price > < package_fee >2342</ package_fee > < prompt_info >本单是代扣订单,请勿支付</ prompt_info > < receiver_address >浙江省杭州市</ receiver_address > < sender_address >浙江省杭州市</ sender_address > < start_price >1231</ start_price > < start_weight >1231</ start_weight > < task_status >2342</ task_status > < weigth_exception >2342</ weigth_exception > </ data > < status_code >PARAMS_CANNOT_BE_NULL</ status_code > < status_message >参数不能为空</ status_message > < is_success >true</ is_success > < trace_id >0be4314615320739620257888e18e2</ trace_id > </ cainiao_guoguo_fulfil_checkbill_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 > |
错误码 | 错误描述 | 解决方案 |
---|