McDewey

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

Page 467

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

onAdd: function(restObj){}, onDelete: function(restObj){}, onError: function(response){}, } Example Description Parameter For a Us Each Jav of it on t An ID that uniquely identifies the JavaScript object. id An exam var _us id: onL } }); A callback that is invoked one time in the life of the object, which is when the initialization is successful and the data is loaded into the JavaScript object successfully. This JavaScript object is then passed to the handler as a parameter. This is equivalent to the success handler of a GET REST API request. onLoad An exam var _us id: onL onC } }); In the ab A callback that is invoked upon the successful update of the object. The updated object is then passed to the handler as a parameter. This is equivalent to the success handler of a PUT REST API request. onChange Currentl A callback that is invoked when an object is created in the upstream system by doing a POST request from the client. The client receives a success response for the creation. The newly created object is passed to the handler as a parameter. This is unlike the other scenarios where the JavaScript object is pre-existing in the system and you are creating a JavaScript version that creates a new object in the system. onAdd Currentl A callback that is invoked when an object is deleted in the upstream system by doing a DELETE request from the client. The client receives a success response for the deletion. onDelete Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 451 Cisco Finesse JavaScript APIs RestBase Common Parameters