Crea un conjunto de datos a partir de una tabla física.
Pruébelo ahora
Test
Autorización de RAM
Sintaxis de la solicitud
POST HTTP/1.1
Parámetros de la solicitud
|
Parámetro |
Tipo |
Obligatorio |
Descripción |
Ejemplo |
| DsId |
string |
Sí |
El ID del origen de datos. |
7AAB95D-*****-****-*4FC0C976 |
| TableName |
string |
Sí |
El nombre de la tabla. |
st_trd_user_purchase_day_inc |
| UserDefineCubeName |
string |
Sí |
El nombre del conjunto de datos. |
test |
| WorkspaceId |
string |
Sí |
El ID del espacio de trabajo. |
726bee5a-****-43e1-9a8e-b550f0120f35 |
| UserId |
string |
Sí |
El ID de usuario de un usuario de Quick BI que tiene permisos para crear conjuntos de datos. Este no es su ID de cuenta de Alibaba Cloud. Para obtener el ID de usuario, llame a la operación QueryUserInfoByAccount. |
726bee5a-****-43e1-9a8e-b550f0120f35 |
| TargetDirectoryId |
string |
No |
El ID de la carpeta de destino. |
asah-fsdfsf*****92342 |
Elementos de la respuesta
|
Elemento |
Tipo |
Descripción |
Ejemplo |
|
object |
El esquema de la respuesta. |
||
| RequestId |
string |
El ID de la solicitud. |
F68B***********A3DF743 |
| Result |
string |
El resultado de la operación. Valores válidos:
|
true |
| Success |
boolean |
Indica si la solicitud se realizó correctamente. Valores válidos:
|
true |
Ejemplos
Respuesta exitosa
JSON Formato
{
"RequestId": "F68B***********A3DF743",
"Result": "true",
"Success": true
}
Códigos de error
|
Código de estado HTTP |
Código de error |
Mensaje de error |
Descripción |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | invalid parameter: ${0}. |
| 400 | Cube.Not.Exist | The Cube does not exist. | The Cube does not exist. |
| 400 | Invalid.User.Organization | The user is not in your organization. | The user is not in your organization. |
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | The workspace is not owned by the organization. |
| 400 | Datasource.NotFound.Error | The specified data source does not exist: %s. | The specified data source does not exist: %s. |
| 400 | DatasourceId.IsNull.Error | You must select a data source before selecting the table. | You must select a data source before selecting the table. |
| 400 | Name.RegularExpression.Error | Name format validation failed. | |
| 400 | NameExceeded.MaxLength.Error | The name cannot exceed %s characters in length. | The name cannot be longer than% s characters. |
| 400 | User.NotIn.Workspace | The user is not a member of the group workspace. | The user is not a member of the group workspace. |
| 400 | Cube.DuplicatedName.Error | The dataset name already exists. Modify the name before saving. | The dataset name already exists. Modify the name before saving. |
| 400 | Directory.NotExist.Error | The directory does not exist. | The directory does not exist. |
Consulte Códigos de error para ver la lista completa.
Notas de la versión
Consulte Notas de la versión para ver la lista completa.