文档首页/ ISDP/ API参考/ API接口/ 消息及短信/ 根据规则id分页查询报表信息(API名称:getReportByRuleId)
更新时间:2024-01-18 GMT+08:00
分享

根据规则id分页查询报表信息(API名称:getReportByRuleId)

功能介绍

根据规制ID分页来查询相关报表的信息

相关接口

接口名称

调用说明

获取Token

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

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/report/getReportByRuleId

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

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

请求参数

参数

类型

是否必填

描述

ruleId

Long

规则ID

sort

Int

排序

Page

Int

分页参数

searchFieldList

String

搜索字段列表集合

响应参数

请求示例

{"page": {"start": 0, "count": 5},
 "sort": {"sortBy": null, "sortType": null},
 "ruleId": 1385,
"searchFieldList": []
}

响应示例

{
"status": "success",
"msg": null,
"data": {
"data": [{
"customerGroupId": -1,
"lastUpdatedBy": 1,
"supplierId": -1,
"address": "******",
"appName": "pub-cs",
"lastUpdateDate": "2020-04-24 15:23:23",
"customerClassify": null,
"description": null,
"customerCode": "tes1t",
"telephone": "******",
"creationDate": "2020-04-24 15:23:20",
"customerName": "-1",
"deleteFlag": null,
"buOrgId": null,
"customerOrgCode": "1",
"createdBy": 1,
"entityName": "customer",
"contact": null,
"tenantId": 1,
"customerId": -1
},
{
"customerGroupId": null,
"lastUpdatedBy": -1,
"supplierId": null,
"address": "******",
"appName": "pub-server",
"lastUpdateDate": "2021-02-22 23:01:16",
"customerClassify": "",
"description": "API Testing",
"customerCode": "1013.1844785653699",
"telephone": "******",
"creationDate": "2021-01-21 16:13:21",
"customerName": "1013.1844785653699",
"deleteFlag": null,
"buOrgId": null,
"customerOrgCode": "",
"createdBy": -1,
"entityName": "customer",
"contact": "",
"tenantId": 1,
"customerId": 31062
} ,
{"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…},
{"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…},
{"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…}
],
"pos": 0,
"total_count": 238,
"entityName": null
}
}

状态码

状态码请参见状态码

错误码

错误码请参见错误码

相关文档