123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8">
- <style type="text/css">
- <!--
- @import url(md.css);
- -->
- </style>
-
-
- </head>
- <body>
- <h2>4购买单列表</h2>
- <blockquote>
- <p>提交了,没有支付的订单。重新支付时需要跑计算金额、提交订单等接口。<br>
- 补缴订单标识的跳转到补缴下单的对应接口; <br>
- 正常订单跳转到正常下单的对应接口</p>
- </blockquote>
- <ul>
- <li><p>2018-12-14 新增社保流水字段 <strong>sb_wage</strong> 。</p></li>
- <li><p>2017-06-05 新增v2接口。<strong>id_card</strong> 值部分<em>号替换,增加 **sbuId</em>* 字段。 <a href="pre/4%E8%B4%AD%E4%B9%B0%E5%8D%95%E5%88%97%E8%A1%A8v1.html">旧接口文档</a></p></li>
- <li><p>2016-11-22 增加new_card字段。newCard字段废止,兼容旧版本暂不移除。</p></li>
- <li><p>2016-10-26 增加 <code>pay_no, time, pay_channel</code> 三个字段。</p></li>
- <li><p>2016-05-09 增加买单号(buy_no)字段</p></li>
- <li><p>2016-05-04 增加全部购买单接口。</p></li>
- <li><p>2016-05-03 增加首次购买的两个字段。</p></li>
- <li><p>2016-1-18 增加added字段 </p></li>
- </ul>
- <h2>请求</h2>
- <blockquote>
- <p>URI</p>
- </blockquote>
- <pre><code>/sbl/outbuy/list/v2 POST 待支付购买单列表
- /sbl/buy/list/v2 POST 全部购买单列表
- v1接口不再使用 (2017-06-21)
- </code></pre>
- <blockquote>
- <p>参数</p>
- </blockquote>
- <pre><code>String key; 登录标识
- </code></pre>
- <h2>响应</h2>
- <p>支付宝支付与微信支付的返回数据不同</p>
- <blockquote>
- <p>状态码</p>
- </blockquote>
- <pre><code>601 无效的用户标识
- 10004 需要登录
- </code></pre>
- <blockquote>
- <p>DATA字段说明</p>
- </blockquote>
- <pre><code> String buy_no 买单号
- String title 标题
- int cid 配置参数标识
- int hukou_type 户籍类型
- int sbuId; 参保用户标识
- String id_card 身份证号
- String u_name 参保人姓名
- int city_code 城市代号
- String city_name 城市名称
- int start_month 起始月份
- int nums 购买月份数
- double total_fee 总金额
- boolean newCard 【废止】是否办社保卡
- int new_card 办卡(0不办卡 1新办卡 2补办卡)
- double fund 公积金缴纳总额
- double fund_charge 公积金总服务费
- double shebao 社保金额(不包含 社保卡金额、服务费)
- double shebao_charge 社保总服务费金额
- double shebao_card 社保卡金额
- int pay_for 见 [通用数据]
- boolean added 是否补缴订单 true: 是补缴订单
- short first_sb 此城市首次购买社保
- short first_fund 此城市首次购买公积金
- String pay_no 支付平台的流水号
- String pay_channel 支付方式名称
- short status 购买单状态
- String time 生成时间
- double sb_wage 公积金总服务费
- </code></pre>
- <blockquote>
- <p>数据范例</p>
- </blockquote>
- <pre><code>{
- "data": [{
- "buy_no": "B0110140000008197201605",
- "title": "社保 无忧购",
- "cid": 21,
- "hukou_type": 1,
- "sbuId": 134,
- "id_card": "44**************15",
- "u_name": "先生",
- "city_code": 3902,
- "city_name": "阳泉",
- "start_month": 201601,
- "nums": 1,
- "total_fee": 1049.3,
- "newCard": false,
- "new_card": 1,
- "fund": 0.0,
- "fund_charge": 0.0,
- "shebao": 1049.3,
- "shebao_charge": 59.0,
- "shebao_card": 0.0,
- "pay_for": 1,
- "added": false,
- "first_sb": 0,
- "first_fund": 1,
- "pay_channel": "微信",
- "pay_no": "",
- "status": 1,
- "time": "2016-10-26 16:01:39",
- "sb_wage": 2600.0
- },
- {
- "buy_no": "B0310140000008197201606",
- "title": "社保 无忧购(打包公积金)",
- "cid": 20,
- "hukou_type": 1,
- "sbuId": 134,
- "id_card": "44**************15",
- "u_name": "先生",
- "city_code": 3901,
- "city_name": "太原",
- "start_month": 201601,
- "nums": 2,
- "total_fee": 5181.08,
- "newCard": false,
- "fund": 3000.0,
- "fund_charge": 80.0,
- "shebao": 2101.08,
- "shebao_charge": 118.0,
- "shebao_card": 0.0,
- "pay_for": 3,
- "added": true,
- "first_sb": 0,
- "first_fund": 1,
- "pay_channel": "支付宝",
- "pay_no": "4007492001201610267776827897",
- "status": 2,
- "time": "2016-10-26 16:01:39",
- "sb_wage": 0.0
- }],
- "msg": "",
- "code": 200
- }
- </code></pre>
- </body>
- </html>
|