CallbackExtension
Returns an extension’s check result to DataWorks after an extension point event is triggered.
Operation description
Prerequisites: DataWorks is activated and a workspace is created. An extension is registered and bound to the target extension point event. The target operation has triggered the extension point event and generated a valid MessageId.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExtensionCode |
string |
Yes |
The unique code of the extension. |
8abcb91f-d266-4073-b907-2**** |
| MessageId |
string |
Yes |
The message ID of the DataWorks open message. After an extension point event is triggered, you can obtain the message ID from the received event message. For the message format, refer to Message format. |
034********091 |
| CheckResult |
string |
Yes |
The check status of the extension for the current extension point event. Valid values:
Valid values:
|
FAIL |
| CheckMessage |
string |
No |
The reason for the failure when CheckResult is set to FAIL. |
The xxx rule is hit. Modify it and try again. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The unique request ID. |
7C352CB7-CD88-50CF-9D0D-E81BDF020E7F |
| Success |
string |
Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails. |
true |
Examples
Success response
JSON format
{
"RequestId": "7C352CB7-CD88-50CF-9D0D-E81BDF020E7F",
"Success": "true"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.