All Products
Search
Document Center

DataWorks:ListDataServiceGroups

Last Updated:Nov 21, 2024

Queries business processes.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberintegerYes

The page number. Pages start from page 1. Default value: 1.

1
PageSizeintegerYes

The number of entries per page. Valid values: 1 to 100. Default value: 10.

10
ProjectIdlongYes

The workspace ID.

10000
TenantIdlongNo

The tenant ID. This parameter is deprecated.

10001
GroupNameKeywordstringNo

The keyword of a business process name. The keyword is used to search for business processes whose names contain this keyword.

Test business process

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

0000-ABCD-EF****
GroupPagingResultobject

The paging result for the business processes.

PageNumberinteger

The page number. The value of this parameter is the same as that of the PageNumber parameter in the request.

1
PageSizeinteger

The number of entries per page. Valid values: 1 to 100. Default value: 10.

10
TotalCountinteger

The total number of entries returned.

100
Groupsarray<object>

The business processes.

Groupobject
ModifiedTimestring

The time when the business process was modified.

2020-09-24T18:37:51+0800
Descriptionstring

The description of the business process.

Test
GroupNamestring

The name of the business process.

Test
GroupIdstring

The business process ID.

ds_123abc
ProjectIdlong

The workspace ID.

10002
ApiGatewayGroupIdstring

The ID of the API Gateway group to which the workflow is bound.

100abc
CreatorIdstring

The user identifier (UID) of the creator of the business process. The value of this parameter may be empty for creators of some existing business processes.

10001
CreatedTimestring

The time when the business process was created.

2020-09-24T18:37:51+0800
TenantIdlong

The tenant ID.

10003

Examples

Sample success responses

JSONformat

{
  "RequestId": "0000-ABCD-EF****",
  "GroupPagingResult": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 100,
    "Groups": [
      {
        "ModifiedTime": "2020-09-24T18:37:51+0800",
        "Description": "Test\n",
        "GroupName": "Test\n",
        "GroupId": "ds_123abc",
        "ProjectId": 10002,
        "ApiGatewayGroupId": "100abc",
        "CreatorId": "10001",
        "CreatedTime": "2020-09-24T18:37:51+0800",
        "TenantId": 10003
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.AccessAccess is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.No permission, please authorize
429Throttling.ApiThe request for this resource has exceeded your available limit.-
429Throttling.SystemThe DataWorks system is busy. Try again later.-
429Throttling.UserYour request is too frequent. Try again later.-
500InternalError.SystemAn internal system error occurred. Try again later.-
500InternalError.UserId.MissingAn internal system error occurred. Try again later.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-10-09The Error code has changedView Change Details