Creates an export task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateExportTask |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Data Management center. Select a region based on where your assets are located. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| ExportTaskParameter |
string |
No |
The parameters for the export task. The value is a JSON string that is generated based on the query conditions. |
{ "IncidentName": "name", "IncidentStatus": "1", "ThreatLevel":["1","2"], "IncidentUuids":"315EE627-39DC-560A-8DFD-CBF66AD9****" } |
| ExportTaskType |
string |
No |
The type of data to export. Valid values:
|
incident_list |
| RoleFor |
integer |
No |
The user ID of a member. An administrator can use this parameter to switch to the perspective of a member. |
113091674488**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
6276D891-*****-55B2-87B9-74D413F7**** |
| FileName |
string |
The name of the exported file. |
event_1193842352994186_17344888****.xlsx |
| Id |
integer |
The ID of the export task. |
400151 |
Examples
Success response
JSON format
{
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****",
"FileName": "event_1193842352994186_17344888****.xlsx",
"Id": 400151
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.