查询员工资产列表
https://openapi.guanaitong.tech/assets/account/employee/get
POST
(1)公共参数
发送请求是必须传入公共参数,详见公共参数
(2)私有参数
| 参数名称 | 是否必须 | 参数类型 | 长度限制 | 描述 |
| corp_code | 否 | string | [1,20] | 员工工号 |
| userid | 否 | string | [1,100] | 员工第三方唯一标识,工号和唯一标识必填其一 |
| enterprise_code | 否 | string | [1,20] | 企业编号(集团和运营商同步,企业不填) |
POST /assets/account/employee/get HTTP/1.1 Host: openapi.guanaitong.tech Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache access_token=ed7ea86cad31aa2fe4e4fc7183922cc2&sign=b83e4926fd4fa771895fb01a401c235a9825d4d4 timestamp=1492669228&corp_code=CJJ006
| 参数名称 | 描述 |
| code | 返回码。详见错误代码。 |
| msg | 如果错误,返回错误信息。 |
| data | 如果没有错误,返回员工资产数组 |
| data.account_openid | 账户的openid |
| data.name | 账户名称 |
| data.type | 账户类型,1:积分账户;4:额度账户 |
| data.balance | 账户余额 |
| data.status | 账户状态,1:有效;2:无效 |
{
"code":0,
"data":[
{
"account_openid":"ca1acca600b86d70b9d712e603fbe961",
"name":"基本户",
"balance":999840.28,
"type":1,
"status":1
},
{
"account_openid":"ac519f1ff12d10275f4ebe6b728bb30d",
"name":"午餐额度",
"balance":487.07,
"type":4,
"status":1
}
],
"msg":"OK"
}
{
"code": 1000210001,
"data": null,
"msg": "timestamp check failed!"
}