McDewey

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

Page 530

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

}, '32762', 'NOT_READY'); _handleReasonCodeGet(_reasonCode) { var id = _reasonCode.id; var uri = _reasonCode.uri; var label = _reasonCode.label; ... } Parameters Required Description Type Name Yes An object containing the handlers for the request. For more information on handlers, see Request Handlers, on page 447. Object handlers Yes The lookup code for the reasonCode value. String reasonCodeValue Yes The lookup category for the reasonCode. The possible values are NOT_READY and LOGOUT. String reasonCodeCategory ReasonCodes Class finesse.restservices.ReasonCodes Represents an array of reasonCode objects. An object of this class is passed as a parameter for a success callback after fetching the reasonCodes available for the user using finesse.restservices.User.getNotReadyReasonCodes or finesse.restservices.User.getSignOutReasonCodes. Example _user.getNotReadyReasonCodes({ success: handleNotReadyReasonCodesSuccess, error: handleNotReadyReasonCodesError }); handleNotReadyReasonCodesSuccess = function(reasonCodes) { for (var i = 0; i < reasonCodes.length; i++) { var reasonCode = reasonCodes[i]; var reasonCodeId = reasonCode.id; var reasonCodeLabel = reasonCode.label; } } } For more information on handlers, see Request Handlers, on page 447. SystemInfo Class finesse.restservices.SystemInfo Extends finesse.restservices.RestBase Common Parameters Represents the SystemInfo object. For more information, see SystemInfo, on page 514. Example var systeminfo = new finesse.restservices.SystemInfo('',{ Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 514 Cisco Finesse JavaScript APIs ReasonCodes