调用ListDataServiceGroups查询数据服务业务流程列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ListDataServiceGroups

要执行的操作。

PageNumber Integer 1

页码,从1开始,默认值为1。

PageSize Integer 10

每页显示的条数,默认为10条,最大100条。

ProjectId Long 10000

工作空间的ID。

RegionId String cn-shanghai

地域ID。

TenantId Long 10001

租户ID。

GroupNameKeyword String 测试业务流程

业务流程名称关键词,可以进行子串匹配。

返回数据

名称 类型 示例值 描述
GroupPagingResult Struct

业务流程的分页结果。

Groups Array of Group

业务流程列表。

ApiGatewayGroupId String 100abc

业务流程绑定的API网关分组ID。

CreatedTime String 2020-09-24T18:37:51+0800

业务流程的创建时间。

CreatorId String 10001

创建人UID,部分历史业务流程的创建人UID可能为空。

Description String 业务流程描述

业务流程的描述。

GroupId String ds_123abc

业务流程的ID。

GroupName String 业务流程名称

业务流程名称。

ModifiedTime String 2020-09-24T18:37:51+0800

业务流程的编辑时间。

ProjectId Long 10002

工作空间的ID。

TenantId Long 10003

租户ID。

PageNumber Integer 1

页码,和请求中的PageNumber一致。

PageSize Integer 10

每页显示的条数,默认为10条,最大100条。

TotalCount Integer 100

总记录数。

RequestId String 0000-ABCD-EF****

请求ID,一次请求的唯一标识。

示例

请求示例

http(s)://[Endpoint]/?Action=ListDataServiceGroups
&PageNumber=1
&PageSize=10
&ProjectId=10000
&RegionId=cn-shanghai
&TenantId=10001
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>0000-ABCD-EF****</RequestId>
<GroupPagingResult>
    <TotalCount>100</TotalCount>
    <PageSize>10</PageSize>
    <PageNumber>1</PageNumber>
    <Groups>
        <GroupName>业务流程名称</GroupName>
        <TenantId>10003</TenantId>
        <Description>业务流程描述</Description>
        <CreatedTime>2020-09-24T18:37:51+0800</CreatedTime>
        <ModifiedTime>2020-09-24T18:37:51+0800</ModifiedTime>
        <CreatorId>10001</CreatorId>
        <ApiGatewayGroupId>100abc</ApiGatewayGroupId>
        <ProjectId>10002</ProjectId>
        <GroupId>ds_123abc</GroupId>
    </Groups>
</GroupPagingResult>

JSON 格式

{
    "RequestId": "0000-ABCD-EF****",
    "GroupPagingResult": {
        "TotalCount": 100,
        "PageSize": 10,
        "PageNumber": 1,
        "Groups": {
            "GroupName": "业务流程名称",
            "TenantId": 10003,
            "Description": "业务流程描述",
            "CreatedTime": "2020-09-24T18:37:51+0800",
            "ModifiedTime": "2020-09-24T18:37:51+0800",
            "CreatorId": 10001,
            "ApiGatewayGroupId": "100abc",
            "ProjectId": 10002,
            "GroupId": "ds_123abc"
        }
    }
}

错误码

HttpCode 错误码 错误信息 描述
500 InternalError.System An internal system error occurred. Try again later. 系统内部错误,请稍后再试。
500 InternalError.UserId.Missing An internal system error occurred. Try again later. 系统内部错误,请稍后再试。
429 Throttling.Api The request for this resource has exceeded your available limit. 对该资源的请求已超过您的可用上限。
429 Throttling.System The DataWorks system is busy. Try again later. DataWorks系统繁忙,请稍后再试。
429 Throttling.User Your request is too frequent. Try again later. 您的请求过于频繁,请尝试放缓请求速度。
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. 您被限制访问,请开通DataWorks企业版或旗舰版。

访问错误中心查看更多错误码。