調用ListDataServiceGroups查詢資料服務商務程序列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| PageNumber |
integer |
否 |
頁碼,從 1 開始,預設值為 1。 |
1 |
| PageSize |
integer |
否 |
每頁顯示的條數,預設為 10 條,最大 50 條。 |
10 |
| ProjectId |
integer |
是 |
工作空間的 ID。 |
10000 |
| TenantId |
integer |
否 |
該欄位已廢棄。租戶 ID。 |
10001 |
| GroupNameKeyword |
string |
否 |
商務程序名稱關鍵詞,可以進行子串匹配。 |
測試商務程序 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID,一次請求的唯一標識。 |
0000-ABCD-EF**** |
| GroupPagingResult |
object |
商務程序的分頁結果。 |
|
| PageNumber |
integer |
頁碼,和請求中的 PageNumber 一致。 |
1 |
| PageSize |
integer |
每頁顯示的條數,預設為 10 條,最大 100 條。 |
10 |
| TotalCount |
integer |
總記錄數。 |
100 |
| Groups |
array<object> |
商務程序列表。 |
|
|
object |
|||
| ModifiedTime |
string |
商務程序的編輯時間。 |
2020-09-24T18:37:51+0800 |
| Description |
string |
商務程序的描述。 |
商務程序描述 |
| GroupName |
string |
商務程序名稱。 |
商務程序名稱 |
| GroupId |
string |
商務程序的 ID。 |
ds_123abc |
| ProjectId |
integer |
工作空間的 ID。 |
10002 |
| ApiGatewayGroupId |
string |
商務程序綁定的 API Gateway分組 ID。 |
100abc |
| CreatorId |
string |
建立人 UID,部分歷史商務程序的建立人 UID 可能為空白。 |
10001 |
| CreatedTime |
string |
商務程序的建立時間。 |
2020-09-24T18:37:51+0800 |
| TenantId |
integer |
租戶 ID。 |
10003 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "0000-ABCD-EF****",
"GroupPagingResult": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"Groups": [
{
"ModifiedTime": "2020-09-24T18:37:51+0800",
"Description": "商務程序描述",
"GroupName": "商務程序名稱",
"GroupId": "ds_123abc",
"ProjectId": 10002,
"ApiGatewayGroupId": "100abc",
"CreatorId": "10001",
"CreatedTime": "2020-09-24T18:37:51+0800",
"TenantId": 10003
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | 沒有許可權,請授權 |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。