All Products
Search
Document Center

RunInstance

Last Updated: Jan 15, 2021

Runs a specified instance to start a full data import task.

Description

Runs a specified instance to start a full data import task. After you call this API operation, the system creates a dataset. Then, the system imports all data from your data sources in the dataset for data training.

Method

POST

URI

/openapi/instances/{instanceId}/actions/import

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

Boolean

Indicates whether a dataset is created.

Examples

Sample requests

POST /openapi/instances/airec-cn-xxxxxxxx/actions/import

Sample success responses

JSON format

{
    "RequestId":"8F81A922-6C81-46D6-B78C-CC35E16B1691",
    "Result": true
}

Sample error responses

JSON format

{
    "Code":"InstanceNotFound",
    "Message":"The specified instance does not exist.",
    "RequestId":"829F38F6-E2D6-4109-90A6-888160BD16C2"
}

Error codes