ListDataServiceApplications
Lists basic information about Data Service applications.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
Yes |
The page number. Pages start from 1. Default value: 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return on each page. Default value: 10. Maximum value: 50. |
10 |
| ProjectIdList |
string |
Yes |
The IDs of the workspaces used to query applications. Separate multiple IDs with commas (,). You can specify 1 to 50 workspace IDs. |
10000,100001 |
| TenantId |
integer |
No |
The tenant ID. To obtain the ID, log on to the DataWorks console and go to Data Studio. Click the signed-in username in the upper-right corner and choose Menu > User Information. |
100002 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The ID of the request. |
0000-ABCD-EFG*** |
| ErrorMessage |
string |
The error message. |
Normal |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| ErrorCode |
string |
The error code. |
0 |
| Data |
object |
The basic information about the queried applications. |
|
| PageNumber |
integer |
The page number, which is the same as the PageNumber parameter in the request. |
1 |
| PageSize |
integer |
The number of entries returned per page. Default value: 10. Maximum value: 100. |
10 |
| TotalCount |
integer |
The total number of entries. |
100 |
| Applications |
array<object> |
The list of basic information about the applications. |
|
|
object |
|||
| ApplicationName |
string |
The name of the application. |
My application |
| ApplicationId |
integer |
The ID of the application. |
20000 |
| ProjectId |
integer |
The ID of the workspace. |
10000 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG***",
"ErrorMessage": "Normal",
"Success": true,
"ErrorCode": "0",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"Applications": [
{
"ApplicationName": "My application",
"ApplicationId": 20000,
"ProjectId": 10000
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.