查询保单信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
sp_no | String | 可选 | 6284 | 标准产品编号 | |
policy_biz_no | String | 可选 | 1160055700313009 | 保单外部业务单号,一般为订单号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | MtopResult | 系统自动生成 | |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlipayBaoxianPolicyInfoQueryRequest req = new AlipayBaoxianPolicyInfoQueryRequest(); req.setSpNo( "6284" ); req.setPolicyBizNo( "1160055700313009" ); AlipayBaoxianPolicyInfoQueryResponse 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 | < alipay_baoxian_policy_info_query_response > < result > < biz_error_code >NOT_CERTIFIED_SELLER</ biz_error_code > < biz_error_msg >实名认证错误</ biz_error_msg > < biz_success >true</ biz_success > < model > < actual_premium ></ actual_premium > < effect_end_time ></ effect_end_time > < effect_start_time ></ effect_start_time > < insured_time ></ insured_time > < insureds > < ins_person_dto > < name ></ name > < uid ></ uid > </ ins_person_dto > </ insureds > < issue_time ></ issue_time > < out_biz_no ></ out_biz_no > < policy_no ></ policy_no > < status ></ status > < status_desc ></ status_desc > < sum_insured ></ sum_insured > </ model > </ result > </ alipay_baoxian_policy_info_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 > |
错误码 | 错误描述 | 解决方案 |
---|