文档首页/ ISDP/ API参考/ API接口/ 课程和积分管理/ 查询积分项(API名称:queryBonusTerm)
更新时间:2024-01-23 GMT+08:00
分享

查询积分项(API名称:queryBonusTerm)

功能介绍

查询租户项的积分项。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/bonusTerm/queryBonusTerm

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

响应参数

参数

类型

描述

errorMessage

String

错误信息:接口错误时有值,正常调用时为空

stateCode

String

响应状态:“0”成功 其他值失败

result

Object

积分项出参

result 出参详情

参数

类型

描述

bonusTermId

Long

积分项ID

bonusTermVal

String

积分项名称

请求示例

{}

响应示例

{
    "stateCode": "0",
    "errorMessage": null,
    "result": [
        {
            "bonusTermId": 482,
            "bonusTermVal": "课程学习",
            "creationDate": "2021-07-02T02:25:10.000+00:00",
            "creationTimestamp": 1625192693288,
            "createdBy": 232,
            "createdName": "张三",
            "lastUpdateDate": "2021-07-02T02:25:10.000+00:00",
            "lastUpdateTimestamp": 1625192693288,
            "lastUpdatedBy": 232,
            "lastUpdateName": "张三"
        },
        {
            "bonusTermId": 483,
            "bonusTermVal": "问题处理",
            "creationDate": "2021-07-02T02:25:10.000+00:00",
            "creationTimestamp": 1625192693288,
            "createdBy": 232,
            "createdName": "张三",
            "lastUpdateDate": "2021-07-02T02:25:10.000+00:00",
            "lastUpdateTimestamp": 1625192693289,
            "lastUpdatedBy": 232,
            "lastUpdateName": "张三"
        },
        {
            "bonusTermId": 484,
            "bonusTermVal": "任务执行",
            "creationDate": "2021-07-02T02:25:10.000+00:00",
            "creationTimestamp": 1625192693289,
            "createdBy": 232,
            "createdName": "张三",
            "lastUpdateDate": "2021-07-02T02:25:10.000+00:00",
            "lastUpdateTimestamp": 1625192693289,
            "lastUpdatedBy": 232,
            "lastUpdateName": "张三"
        },
        {
            "bonusTermId": 485,
            "bonusTermVal": "课程发布",
            "creationDate": "2021-07-02T02:25:10.000+00:00",
            "creationTimestamp": 1625192693289,
            "createdBy": 232,
            "createdName": "张三",
            "lastUpdateDate": "2021-07-02T02:25:10.000+00:00",
            "lastUpdateTimestamp": 1625192693289,
            "lastUpdatedBy": 232,
            "lastUpdateName": "张三"
        },
        {
            "bonusTermId": 5241,
            "bonusTermVal": "李四",
            "creationDate": "2023-09-07T03:45:40.000+00:00",
            "creationTimestamp": 1694058340775,
            "createdBy": 153169,
            "createdName": "lyl04",
            "lastUpdateDate": "2023-09-07T07:50:48.000+00:00",
            "lastUpdateTimestamp": 1694073048013,
            "lastUpdatedBy": 153169,
            "lastUpdateName": "lyl04"
        },
        {
            "bonusTermId": 5242,
            "bonusTermVal": "111111",
            "creationDate": "2023-09-07T07:50:47.000+00:00",
            "creationTimestamp": 1694073047961,
            "createdBy": 153169,
            "createdName": "lyl04",
            "lastUpdateDate": "2023-09-07T07:50:47.000+00:00",
            "lastUpdateTimestamp": 1694073047961,
            "lastUpdatedBy": 153169,
            "lastUpdateName": "lyl04"
        }
    ]
}

状态码

状态码请参见状态码

错误码

错误码请参见错误码

相关文档