ImportInterveneFileAsync
Asynchronously import an intervention file.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details are as follows:
-
Operation: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details are as follows:
- Required resource types are marked with a leading asterisk (*).
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent operation: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent operations for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Dependent operation |
|---|---|---|---|---|
| aimiaobi:ImportInterveneFileAsync | create | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | Unique identifier of the workspace: AgentKey | c160c841c8e54295bf2f441432785944_p_efm |
| DocName | string | No | Name of the uploaded file | import.xls |
| FileUrl | string | No | File URL | https://xxx/import.xls |
| FileKey | string | No | OSS key of the file | import.xls |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | success |
| Data | object | Business data | |
| FailIdList | array | List of failed index IDs | |
| FailIdList | string | ID of a failed intervention item | 123 |
| TaskId | string | Task ID | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Code | integer | Status code returned by the intervention service | 200 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | successful |
| RequestId | string | Unique request identifier | 94512A33-8EC1-5452-A793-5C91F18ED2F0 |
| Success | boolean | Indicates whether the operation succeeded. true indicates success, and false indicates failure. | true |
Examples
Success response
JSON format
{
"Code": "success",
"Data": {
"FailIdList": [
123
],
"TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
"Code": 200
},
"HttpStatusCode": 200,
"Message": "successful",
"RequestId": "94512A33-8EC1-5452-A793-5C91F18ED2F0",
"Success": true
}
Error codes
Visit the Error Center to view more error codes.