All Products
Search
Document Center

:CreateDataServiceFolder

更新時間:May 08, 2024

Creates a folder in DataService Studio.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

CreateDataServiceFolder

The operation that you want to perform. Set the value to CreateDataServiceFolder.

TenantId

Long

No

10002

The tenant ID.

ProjectId

Long

Yes

10001

The workspace ID.

FolderName

String

Yes

Test folder

The name of the folder.

ParentId

Long

Yes

0

The ID of the parent folder of the folder that you want to create. The ID of the root folder in a business process is 0. The ID of the folder created by users in a business process is greater than 0.

GroupId

String

Yes

1000abcd

The ID of the business process to which the folder belongs.

Response parameters

Parameter

Type

Example

Description

FolderId

Long

123

The ID of the created folder.

RequestId

String

0000-ABCD-E****

The request ID.

Examples

Sample requests

http(s)://[Endpoint]/?Action=CreateDataServiceFolder
&FolderName=Test folder
&GroupId=1000abcd
&ParentId=0
&ProjectId=10001
&RegionId=cn-shanghai
&TenantId=10002
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<RequestId>0000-ABCD-E****</RequestId>
<FolderId>123</FolderId>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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

Error codes

HTTP status code

Error code

Error message

Description

429

Throttling.Api

The request for this resource has exceeded your available limit.

The number of requests for the resource has exceeded the upper limit.

429

Throttling.System

The DataWorks system is busy. Try again later.

The DataWorks system is busy. Try again later.

429

Throttling.User

Your request is too frequent. Try again later.

Excessive requests have been submitted within a short period of time. Try again later.

500

InternalError.System

An internal system error occurred. Try again later.

An internal error has occurred. Try again later.

500

InternalError.UserId.Missing

An internal system error occurred. Try again later.

An internal error has occurred. Try again later.

For a list of error codes, see Service error codes.