McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 473

↗ View in doc context
page
473
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::457

Field Details Description Name Duration in milliseconds that the OpenAjax request remains opened. ajaxRequestTimeout Number of the REST response status that is returned. restResponseStatus Methods addHandler(notifierType, callback, scope) Add a handler for the specific RestBase object. The callback function is invoked if the notifierType is triggered. Example // Handler for additions to the Dialogs collection object. // When Dialog (a RestBase object) is created, add a change handler. _handleDialogAdd = function(dialog) { dialog.addHandler('change', _handleDialogChange); } Parameters Required Description Type Name Yes The type of notifier to add to the load, change, add, delete, and error. String notifierType Yes An asynchronous callback function that is invoked when the type is notified. Function callback Optional The object on which the handler is invoked. Object scope getData() Retrieves the data for an object. Returns {Object} The object with the retrieved data. getId() Retrieves the unique identifier of the RestBase. Returns {String} Unique identifier of the RestBase. getProperty(obj, property) Retrieves the property from the object. Parameters Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 457 Cisco Finesse JavaScript APIs REST Base