GetInterveneTemplateFileUrl
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.
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.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetInterveneTemplateFileUrl | get | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | The unique identifier of the workspace: AgentKey | c160c841c8e54295bf2f441432785944_p_efm |
Response elements
| Element | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | The status code. | 0 |
| Data | object | The returned data. | |
| FileUrl | string | The URL of the template file. | http://xxx/xxx.xls |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error message. | successful |
| RequestId | string | The unique ID of the request. | DA021073-17CE-5CCF-9FEB-93226C766887 |
| Success | boolean | 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.