使用场景:

企业查询用户待过期的积分



接口地址 /api/open/point/toExpirePoint

请求方式 GET

consumes ["application/x-www-form-urlencoded"]

produces ["application/json"]

应用权限 无需授权

#请求参数


###请求头参数

参数名称参数说明请求类型是否必须数据类型schema
X-Token自建应用访问tokenheadertruestring

###公共参数

参数名称参数说明请求类型是否必须数据类型schema
nonce6位随机字符串paramtruestring
timestampunix时间戳(毫秒)paramtruelong

###用户积分查询条件

参数名称参数说明请求类型是否必须数据类型schema
audienceUserId用户IDparamfalseLong
thirdId第三方用户IDparamfalseString

###请求示例

https://

#响应参数


参数名称参数说明请求类型是否必须数据类型schema
code状态码bodytruestring
errorCode异常码bodytruestring
msg描述bodytruestring
data响应数据bodytruearray待过期积分

###待过期积分 | 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | | ------ | ------ | ------ | ------ | ------ | ------ | | toExpireTime| 待过期时间 | body | true | Date | | | toExpirePoint| 待过期积分值 | body | true | Integer | |

###响应状态

状态码说明schema
200OK
201Created
401Unauthorized
403Forbidden
404Not Found

###响应示例

{
  "code": "200",
  "errorCode": "SUCCESS",
  "msg": "ok",
  "data": {
    "toExpireTime": null,
    "toExpirePoint": 0
  }
}
  • 无标签