Returns the processing result sent by an extension after a process in Operation Center is blocked by the extension.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateWorkbenchEventResult |
The operation that you want to perform. Set the value to UpdateWorkbenchEventResult. |
RegionId | String | Yes | cn-shanghai |
The ID of the region in which the DataWorks workspace resides. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint that is used to call the operation. |
MessageId | String | Yes | 03400b03-b721-4c34-8727-2d6884077091 |
The ID of the message received when the related extension point event is triggered after you enable message subscription by using the OpenEvent module. |
ExtensionCode | String | Yes | 58e95e2acd6f408e8707f1bf2591f9e9 |
The code of the extension. |
CheckResult | String | Yes | FAIL |
The check status of the extension point event. Valid values: OK and Fail. A value of OK indicates that the event passes the check. A value of FAIL indicates that the event fails to pass the check. |
CheckResultTip | String | No | The SQL statement exceeds the maximum length. |
The cause of the check failure. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 0bc1ec92159376**** |
The ID of the request. |
Success | Boolean | true |
Indicates whether the call is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateWorkbenchEventResult
&MessageId=03400b03-b721-4c34-8727-2d6884077091
&ExtensionCode=58e95e2acd6f408e8707f1bf2591f9e9
&CheckResult=FAIL
&CheckResultTip=The SQL statement exceeds the maximum length.
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateWorkbenchEventResultResponse>
<RequestId>0bc1ec92159376****</RequestId>
<Success>true</Success>
</UpdateWorkbenchEventResultResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "0bc1ec92159376****",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.