查询指定人员积分数据详情(API名称:queryBonusValDetails)
功能介绍
查询指定人员积分数据详情
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/bonusDetail/queryBonusValDetails |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
userId |
Long |
是 |
人员Id |
|
beginTimestamp |
Long |
是 |
开始时间段 |
|
endTimestamp |
Long |
是 |
结束时间段 |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
stateCode |
String |
响应状态码:0-成功 其他-失败 |
|
errorMessage |
String |
响应描述 |
|
result |
List<Object> |
业务出参 |
result 出参详情
|
参数 |
类型 |
描述 |
|---|---|---|
|
userAccount |
String |
人员账号 |
|
userId |
Long |
人员ID |
|
userName |
String |
人员名称 |
|
bonusVal |
Integer |
积分数值 |
|
bonusSourceId |
Object |
任务ID |
|
bonusDate |
String |
任务完成时间 |
请求示例
{
"userId": 170515,
"beginTimestamp": 1699488297218,
"endTimestamp": 1699688297218
}
响应示例
[
{
"bonusId": 5002465,
"bonusType": 2,
"bonusVal": 30,
"userId": 170515,
"userName": "fc0001",
"userAccount": "fc0001",
"adminOrganization": 1543,
"adminOrganizationName": "1508098844233300",
"bonusTermId": 440,
"bonus_date": 1699545600000,
"bonusSourceId": 5014614,
"bonusTimestamp": 1699588297218,
"lastUpdateName": null,
"lastUpdateDate": 1699588918000,
"realLastUpdateName": null,
"lastUpdateTimestamp": 1699588917590,
"deleteFlag": 0
},
{
"bonusId": 5002466,
"bonusType": 2,
"bonusVal": 30,
"userId": 170515,
"userName": "fc0001",
"userAccount": "fc0001",
"adminOrganization": 1543,
"adminOrganizationName": "1508098844233300",
"bonusTermId": 440,
"bonus_date": 1699545600000,
"bonusSourceId": 5014611,
"bonusTimestamp": 1699588297218,
"lastUpdateName": null,
"lastUpdateDate": 1699588918000,
"realLastUpdateName": null,
"lastUpdateTimestamp": 1699588917597,
"deleteFlag": 0
},
{
"bonusId": 5002467,
"bonusType": 2,
"bonusVal": 30,
"userId": 170515,
"userName": "fc0001",
"userAccount": "fc0001",
"adminOrganization": 1543,
"adminOrganizationName": "1508098844233300",
"bonusTermId": 440,
"bonus_date": 1699545600000,
"bonusSourceId": 5014608,
"bonusTimestamp": 1699588297218,
"lastUpdateName": null,
"lastUpdateDate": 1699588918000,
"realLastUpdateName": null,
"lastUpdateTimestamp": 1699588917597,
"deleteFlag": 0
},
{
"bonusId": 5002468,
"bonusType": 2,
"bonusVal": 30,
"userId": 170515,
"userName": "fc0001",
"userAccount": "fc0001",
"adminOrganization": 1543,
"adminOrganizationName": "1508098844233300",
"bonusTermId": 440,
"bonus_date": 1699545600000,
"bonusSourceId": 5014605,
"bonusTimestamp": 1699588297218,
"lastUpdateName": null,
"lastUpdateDate": 1699588918000,
"realLastUpdateName": null,
"lastUpdateTimestamp": 1699588917598,
"deleteFlag": 0
},
{
"bonusId": 5002469,
"bonusType": 2,
"bonusVal": 30,
"userId": 170515,
"userName": "fc0001",
"userAccount": "fc0001",
"adminOrganization": 1543,
"adminOrganizationName": "1508098844233300",
"bonusTermId": 440,
"bonus_date": 1699545600000,
"bonusSourceId": 5013040,
"bonusTimestamp": 1699588297218,
"lastUpdateName": null,
"lastUpdateDate": 1699588918000,
"realLastUpdateName": null,
"lastUpdateTimestamp": 1699588917598,
"deleteFlag": 0
}
]