用户用户全网运费险下单锁定
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
ins_lock_user_qwyfx_equity_request | InsLockUserQwyfxEquityRequest | 可选 | 下单请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
qwyfx_success | Boolean | true | 是否调用成功 |
qwyfx_error_code | String | -1 | 错误码 |
model | InsLockUserQwyfxEquityResponse | 物流下单返回 | |
|
|||
error_msg | String | -1 | 错误信息 |
is_success | Boolean | true | 是否调用成功 |
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 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlipayBaoxianQwyfxEquityLockRequest req = new AlipayBaoxianQwyfxEquityLockRequest(); AlipayBaoxianQwyfxEquityLockRequest.InsLockUserQwyfxEquityRequest obj1 = new AlipayBaoxianQwyfxEquityLockRequest.InsLockUserQwyfxEquityRequest(); obj1.setCompanyCode( "CAINIAO" ); obj1.setBizType( "YFX_WYG_DISCOUNT" ); obj1.setOutLogisticsNo( "23433443" ); obj1.setOutBizNo( "2022092106230710386966_1663728676891" ); obj1.setUserId( "2233443" ); obj1.setImageUrl( "/ds/sfd" ); AlipayBaoxianQwyfxEquityLockRequest.LogisticsReserveTime obj2 = new AlipayBaoxianQwyfxEquityLockRequest.LogisticsReserveTime(); obj2.setStartTime(StringUtils.parseDateTime( "2022-01-01 00:00:00" )); obj2.setEndTime(StringUtils.parseDateTime( "2023-01-01 00:00:00" )); obj1.setReserveTime(obj2); obj1.setLogisticsMailNo( "23433443" ); obj1.setBizData( "{\"goodsKinds\":\"衣帽鞋服\"}" ); obj1.setEquityId( "2343343" ); obj1.setPostType( "HOME_DELIVERY" ); obj1.setPayStatus( "0" ); obj1.setOriginFee(1800L); obj1.setAlipayUserId( "2088" ); obj1.setEntrance( "CAINIAO" ); AlipayBaoxianQwyfxEquityLockRequest.LogisticsAddress obj3 = new AlipayBaoxianQwyfxEquityLockRequest.LogisticsAddress(); obj3.setAreaCode( "330481" ); obj3.setAddress( "浙江省金华市东阳市吴宁街道吴宁镇竹园路" ); obj3.setName( "张三" ); obj3.setPhone( "1234567855" ); obj3.setProvince( "浙江省" ); obj3.setCity( "金华市" ); obj3.setArea( "东阳市" ); obj1.setSender(obj3); AlipayBaoxianQwyfxEquityLockRequest.LogisticsAddress obj4 = new AlipayBaoxianQwyfxEquityLockRequest.LogisticsAddress(); obj4.setAreaCode( "330481" ); obj4.setAddress( "浙江省金华市东阳市吴宁街道吴宁镇竹园路" ); obj4.setName( "李四" ); obj4.setPhone( "1234567856" ); obj4.setProvince( "浙江省" ); obj4.setArea( "东阳市" ); obj4.setCity( "金华市" ); obj1.setReceiver(obj4); obj1.setAgreementFee(1200L); obj1.setGoodsKinds( "衣服" ); obj1.setUserType( "TAOBAO" ); obj1.setDisputeId(1232343L); obj1.setBizOrderId(12343443L); obj1.setAuthType( "NUMBER" ); obj1.setAuthCode( "873745" ); req.setInsLockUserQwyfxEquityRequest(obj1); AlipayBaoxianQwyfxEquityLockResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 | < alipay_baoxian_qwyfx_equity_lock_response > < qwyfx_success >true</ qwyfx_success > < qwyfx_error_code >-1</ qwyfx_error_code > < model > < logistics_no >20234334</ logistics_no > </ model > < error_msg >-1</ error_msg > < is_success >true</ is_success > </ alipay_baoxian_qwyfx_equity_lock_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 > |
错误码 | 错误描述 | 解决方案 |
---|