You can call this operation to accept the default operation for a system event in the Inquiring state and to authorize the system to perform the operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
EventId String Yes e-2zeielxl1qzq8slbl***

The ID of the system event.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.

Action String No AcceptInquiredSystemEvent

The operation that you want to perform. Set the value to AcceptInquiredSystemEvent.

Response parameters

Parameter Type Example Description
RequestId String 4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D

The ID of the request.

Examples

Sample requests

http(s)://ecs.aliyuncs.com/? Action=AcceptInquiredSystemEvent
&EventId=e-2zeielxl1qzq8slbl***
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<AcceptInquiredSystemEventResponse>
      <RequestId>4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D</RequestId>
</AcceptInquiredSystemEventResponse>

JSON format

{
	"RequestId":"4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D"
}

Error codes

HTTP status code Error code Error message Description
400 MissingParameter %s The error message returned because a required parameter is not specified.
400 InvalidParameter %s The error message returned because the specified parameter is invalid.
404 InvalidEventId.NoInquiringEventFound %s The error message returned because the specified event does not exist or is not in the Inquiring state.
403 OperationConflict %s The error message returned because other operations that conflict with the current event operation are in progress. Try again later.
403 OperationFail.DiskCategoryNotSupported %s The error message returned because the disk category does not support the current event operation.
403 OperationFail.DiskStatusNotSupported %s The error message returned because the disk is in a state that does not support the current event operation.
403 OperationFail.InstanceStatusNotSupported %s The error message returned because the instance is in a state that does not support the current event operation.

For a list of error codes, visit the API Error Center.