All Products
Search
Document Center

DataWorks:CreateDataServiceFolder

Last Updated:Nov 21, 2024

Creates a folder in DataService Studio.

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
TenantIdlongNo

The tenant ID.

10002
ProjectIdlongYes

The ID of the workspace.

10001
FolderNamestringYes

The name of the folder.

Test folder
ParentIdlongYes

The ID of the desired parent folder of the folder. The ID of the root folder in a workflow is 0. The ID of the folder created by users in a workflow is greater than 0.

0
GroupIdstringYes

The ID of the desired workflow to which the folder belongs.

1000abcd

Response parameters

ParameterTypeDescriptionExample
object
FolderIdlong

The ID of the created folder.

123
RequestIdstring

The request ID.

0000-ABCD-E****

Examples

Sample success responses

JSONformat

{
  "FolderId": 123,
  "RequestId": "0000-ABCD-E****"
}

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