ImportInterveneFileAsync

Updated at:

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.

Debug

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 resources is 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.

OperationAccess levelResource typeCondition keyDependent operation
aimiaobi:ImportInterveneFileAsynccreate
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier of the workspace: AgentKey

c160c841c8e54295bf2f441432785944_p_efm
DocNamestringNo

Name of the uploaded file

import.xls
FileUrlstringNo

File URL

https://xxx/import.xls
FileKeystringNo

OSS key of the file

import.xls

Response parameters

NameTypeDescriptionExample value
object

PlainResult

Codestring

Status code

success
Dataobject

Business data

FailIdListarray

List of failed index IDs

FailIdListstring

ID of a failed intervention item

123
TaskIdstring

Task ID

3f7045e099474ba28ceca1b4eb6d6e21
Codeinteger

Status code returned by the intervention service

200
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

successful
RequestIdstring

Unique request identifier

94512A33-8EC1-5452-A793-5C91F18ED2F0
Successboolean

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.