ImportInterveneFile

Updated at:

Imports 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:ImportInterveneFilecreate
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier of the workspace: AgentKey

xxxxx_p_efm
DocNamestringNo

Name of the uploaded file.

import.xls
FileUrlstringNo

URL of the file.

http://xxx/xxx.xls
FileKeystringNo

OSS key of the file.

import.xsl

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

123456
TaskIdstring

Task ID

"3f7045e099474ba28ceca1b4eb6d6e21"
Codeinteger

Intervention status code

200
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
RequestIdstring

Unique request identifier

3f7045e099474ba28ceca1b4eb6d6e21
Successboolean

Indicates whether the request is successful. true indicates success and false indicates failure.

true

Examples

Success response

JSON format

{
  "Code": "success",
  "Data": {
    "FailIdList": [
      123456
    ],
    "TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
    "Code": 200
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "3f7045e099474ba28ceca1b4eb6d6e21",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.