Membuat folder.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
No |
ID ruang kerja DataWorks. Anda dapat memperoleh ID ruang kerja dari halaman konfigurasi ruang kerja di Konsol DataWorks. Parameter ini atau ProjectIdentifier harus ditentukan untuk menentukan ruang kerja DataWorks tempat panggilan API ini beroperasi. |
10000 |
| ProjectIdentifier |
string |
No |
Nama ruang kerja DataWorks. Anda dapat memperoleh nama ruang kerja dari halaman konfigurasi ruang kerja di Konsol DataWorks. Parameter ini atau ProjectId harus ditentukan untuk menentukan ruang kerja DataWorks tempat panggilan API ini beroperasi. |
dw_project |
| FolderPath |
string |
Yes |
Jalur folder. |
Business_process/System_Data/MaxCompute/import_layer |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
string |
The unique identifier of the newly created folder. |
bdfd68**** |
| RequestId |
string |
The request ID. Used for troubleshooting when errors occur. |
0000-ABCD-EFG |
| ErrorMessage |
string |
The error message. |
The connection does not exist. |
| Success |
boolean |
Indicates whether the call succeeded. Valid values: true false |
true |
| ErrorCode |
string |
The error code. |
Invalid.Tenant.ConnectionNotExists |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"Data": "bdfd68****",
"RequestId": "0000-ABCD-EFG",
"ErrorMessage": "The connection does not exist.",
"Success": true,
"ErrorCode": "Invalid.Tenant.ConnectionNotExists"
}
Kode kesalahan
|
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. | No permission, please authorize |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.