Lists data service APIs with pagination support.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryDataServiceList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
Data service name. |
测试sql |
| UserId |
string |
No |
User ID. |
dasdfdsa-csddf-dsadsa |
| PageNo |
integer |
No |
Page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
Items per page.
|
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
78C1AA2D-9201-599E-A0BA-6FC462E57A95 |
| Result |
object |
Query result. |
|
| Data |
array<object> |
Data service list. |
|
|
array<object> |
|||
| Content |
object |
Data service model in JSON format. |
|
| CubeId |
string |
Cube ID. |
56f9f34a-bdba-496a-91a3-a18b1ff73a80 |
| CubeName |
string |
Dataset name. |
测试数据集 |
| Detail |
boolean |
Detail or Summary |
true |
| Filter |
object |
Request parameters. |
|
| Filters |
array<object> |
Combined conditions. |
|
|
object |
Filter condition details. Properties:
|
[{ "field": { "fid": "1c1f88cb7d", "granularity": "yearRegion", "dataType": "datetime", "column": "s_date", "caption": "日期(year)", "type": "dimension" }, "defaultValue": ["2024"], "alias": "s_date", "type": "basic", "operator": "equal-to", "essential": true }] |
|
| LogicalOperator |
string |
Logical relationship between multiple SQL text keywords.
|
and |
| Type |
string |
Type.
|
basic |
| ReturnFields |
array<object> |
Return fields. |
|
|
array<object> |
|||
| Aggregator |
string |
Aggregation operator, such as SUM, AVG, or MAX. |
SUM |
| Alias |
string |
Field alias. |
s_number |
| Desc |
string |
Return field description. |
主题配置已存在。 |
| Field |
object |
Cube field details. |
|
| Caption |
string |
Display name in the cube model (can be in Chinese or English). |
日期(year) |
| Column |
string |
Physical field name. |
shid_star |
| DataType |
string |
Data type.
|
datetime |
| Fid |
string |
Unique field identifier. |
1c1f88cb7d |
| Granularity |
string |
Granularity for date and geographic dimensions. |
yearRegion |
| Name |
string |
Unique cube field name for identifying fields in the response. |
sss |
| Type |
string |
Type.
|
dimension |
| Orderby |
string |
Sort order.
|
no |
| CreatorId |
string |
Creator ID. |
7cb94cd48701 |
| CreatorName |
string |
Creator name. |
张仔龙 |
| CubeId |
string |
Cube ID. |
d14e7448-0eb3-40d3-9375-4afef8de29fd |
| CubeName |
string |
Dataset name. |
测试数据集 |
| Desc |
string |
Description. " colspan="1" rowspan="1">测试用 |
|
| GmtCreate |
string |
Creation time. |
2023-05-18 14:00:02.0 |
| GmtModified |
string |
Modification time. |
2023-03-21 18:02:36 |
| ModifierId |
string |
Modifier user ID. |
7cb94cd48701 |
| ModifierName |
string |
Modifier name. |
张仔龙 |
| Name |
string |
Data service name. |
测试报表 |
| OwnerId |
string |
Owner ID |
862801339 |
| OwnerName |
string |
Owner name. |
李四 |
| Sid |
string |
Unique ID of the data service. |
dtsuq3i31f5j8v848b |
| WorkspaceId |
string |
Workspace ID. |
7350a155-0e94-4c6c-8620-57bbec38**** |
| WorkspaceName |
string |
Workspace name. |
测试工作空间 |
| PageNum |
integer |
Page number. |
1 |
| PageSize |
integer |
Records per page. |
10 |
| TotalNum |
integer |
Total rows. |
1 |
| TotalPages |
integer |
Total pages. |
1 |
| Success |
boolean |
Whether the request succeeded. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "78C1AA2D-9201-599E-A0BA-6FC462E57A95",
"Result": {
"Data": [
{
"Content": {
"CubeId": "56f9f34a-bdba-496a-91a3-a18b1ff73a80",
"CubeName": "测试数据集",
"Detail": true,
"Filter": {
"Filters": [
[
{
"field": {
"fid": "1c1f88cb7d",
"granularity": "yearRegion",
"dataType": "datetime",
"column": "s_date",
"caption": "日期(year)",
"type": "dimension"
},
"defaultValue": [
"2024"
],
"alias": "s_date",
"type": "basic",
"operator": "equal-to",
"essential": true
}
]
],
"LogicalOperator": "and",
"Type": "basic"
},
"ReturnFields": [
{
"Aggregator": "SUM",
"Alias": "s_number",
"Desc": "主题配置已存在。",
"Field": {
"Caption": "日期(year)",
"Column": "shid_star",
"DataType": "datetime",
"Fid": "1c1f88cb7d",
"Granularity": "yearRegion",
"Name": "sss",
"Type": "dimension"
},
"Orderby": "no"
}
]
},
"CreatorId": "7cb94cd48701",
"CreatorName": "张仔龙",
"CubeId": "d14e7448-0eb3-40d3-9375-4afef8de29fd",
"CubeName": "测试数据集",
"Desc": "测试用",
"GmtCreate": "2023-05-18 14:00:02.0",
"GmtModified": "2023-03-21 18:02:36",
"ModifierId": "7cb94cd48701",
"ModifierName": "张仔龙\n",
"Name": "测试报表",
"OwnerId": "862801339",
"OwnerName": "李四",
"Sid": "dtsuq3i31f5j8v848b",
"WorkspaceId": "7350a155-0e94-4c6c-8620-57bbec38****",
"WorkspaceName": "测试工作空间"
}
],
"PageNum": 1,
"PageSize": 10,
"TotalNum": 1,
"TotalPages": 1
},
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | |
| 400 | Invalid.User.Organization | The user is not in your organization. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.