Call the interface to register a new event handler callBind
BX24.callBind(
String event,
String handler[
Integer auth_type[
Function callback
]
]
);
This interface is for the method event.bind, which registers a new event handler.
Note
Works only when authorized as a user with portal administration rights.
Parameters
Required parameters are marked with *
|
Name |
Description |
|
event* |
Event name |
|
handler* |
Link to the event handler |
|
auth_type |
Identifier of the user under which the event handler is authorized. By default, the authorization of the user whose actions triggered the event will be used |
|
callback |
Function to handle the result of the method call |
Example
BX24.callBind('OnAppUninstall', 'http://www.my-domain.com/handler/');
How to Use Examples in Documentation
Continue your exploration
- Call the interface to remove a registered event handler BX24.callUnbind
- Call the REST service method with specified parameters BX24.callMethod
- Send a batch of requests with BX24.callBatch
Copied