GetInterveneTemplateFileUrl

Updated at:

Retrieves the download URL for the intervention import template.

Try it now

You can run this API directly in OpenAPI Explorer, which saves you the trouble of calculating signatures. After the API runs successfully, OpenAPI Explorer can automatically generate SDK code examples.

Try it now

RAM authorization

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 RAM users or RAM roles the permission to call this API. The details are as follows:

  • Action: 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. The details are as follows:

    • For required resource types, an asterisk (*) is added before the resource type.
    • 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 action: the other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetInterveneTemplateFileUrlget
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

The unique identifier of the workspace: AgentKey

c160c841c8e54295bf2f441432785944_p_efm

Response elements

ElementTypeDescriptionExample value
object

PlainResult

Codestring

The status code.

0
Dataobject

The returned data.

FileUrlstring

The URL of the template file.

http://xxx/xxx.xls
HttpStatusCodeinteger

The HTTP status code.

200
Messagestring

The error message.

successful
RequestIdstring

The unique ID of the request.

DA021073-17CE-5CCF-9FEB-93226C766887
Successboolean

Whether the request succeeded: true indicates success and false indicates failure.

true

Examples

Success response

JSON format

{
  "Code": 0,
  "Data": {
    "FileUrl": "http://xxx/xxx.xls",
    "Code": 0
  },
  "HttpStatusCode": 200,
  "Message": "successful",
  "RequestId": "DA021073-17CE-5CCF-9FEB-93226C766887",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.