Accepts the operation for a system event and authorizes the system to perform the operation. For system events in the Inquiring state, this operation accepts the default operations for the system events and authorizes the system to perform the default operations.
Debugging
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | AcceptInquiredSystemEvent | The operation that you want to perform. Set the value to AcceptInquiredSystemEvent. |
RegionId | String | Yes | cn-hangzhou | The region ID of the system event. You can call the DescribeRegions operation to query the most recent region list. |
EventId | String | Yes | e-2zeielxl1qzq8slb**** | The ID of the system event. |
Choice | String | No | hide | Note This parameter is in invitational preview and is not publicly available. |
Response parameters
Parameter |
Type |
Example |
Description |
RequestId | String | 4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D | The ID of the request. |
Examples
Sample requests
https://ecs.aliyuncs.com/?Action=AcceptInquiredSystemEvent
&EventId=e-2zeielxl1qzq8slb****
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<AcceptInquiredSystemEventResponse>
<RequestId>4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D</RequestId>
</AcceptInquiredSystemEventResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D"
}
Error codes
HTTP status code |
Error code |
Error message |
Description |
400 | MissingParameter | %s | A required parameter is not specified. |
400 | InvalidParameter | %s | Invalid parameter value. |
403 | OperationConflict | %s | This operation conflicts with another operation in progress. Try again later. |
403 | OperationFail.DiskCategoryNotSupported | %s | The disk category does not support this operation. |
403 | OperationFail.DiskStatusNotSupported | %s | This operation cannot be performed on the disk in the current state. |
403 | OperationFail.InstanceStatusNotSupported | %s | This operation cannot be performed on the instance in the current state. |
403 | IncorrectInstanceStatus | %s | This operation cannot be performed on the instance in the current state. |
404 | InvalidEventId.NoInquiringEventFound | %s | Invalid EventId value. |
For a list of error codes, see Service error codes.