企业(或集团,需传enterprise_code)回收所属企业员工的积分(积分回收到企业的基本户中)
https://openapi.guanaitong.tech/assets/jifen/enterprise/recycle
POST
(1)公共参数
发送请求是必须传入公共参数,详见公共参数
(2)私有参数
| 参数名称 | 是否必须 | 参数类型 | 长度限制 | 描述 |
| corp_code | 否 | string | [1,20] | 员工工号 |
| userid | 否 | string | [1,100] | 员工第三方唯一标识,工号和唯一标识必填其一 |
| enterprise_code | 否 | string | [1,20] | 企业编号(集团和运营商同步,企业不填) |
| amount | 是 | decimal(10,2) | [0.01,99999999.99] | 回收积分金额 |
| reason | 是 | string | [1,254] | 发放原因 |
| external_code | 是 | string | [2,22] | 外部交易号,最小长度2位。 |
POST /assets/jifen/enterprise/recycle HTTP/1.1 Host: openapi.guanaitong.tech Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache access_token=b7822dd9becb912d540e0bbe3935be69&amount=30&corp_code=CJJ006&external_code=1494314484245&reason=test& timestamp=1494314484&sign=3c4b2808af200af362f291979f35ece6a9594e50
| 参数名称 | 描述 |
| code | 返回码。详见错误代码。 |
| msg | 如果错误,返回错误信息。 |
| data | 如果没有错误,返回业务数据 |
{
"code": 0,
"data": "1495094893309",
"msg": "OK"
}
{
"code": 1000210006,
"data": null,
"msg": "parameter check failed!"
}