Class Index | File Index

Classes


Class finesse.restservices.ReasonCodeLookup

Utility class for looking up a ReasonCode using the code and category.
Defined in: finesse.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
lookupReasonCode(handlers, reasonCodeValue, reasonCodeCategory)
Performs a GET against the Finesse server, for looking up the reason code with its reason code value, and category.
Class Detail
finesse.restservices.ReasonCodeLookup()
Method Detail
lookupReasonCode(handlers, reasonCodeValue, reasonCodeCategory)
Performs a GET against the Finesse server, for looking up the reason code with its reason code value, and category. Note that there is no return value; use the success handler to process a valid return.
     new finesse.restservices.ReasonCodeLookup().lookupReasonCode({
                                             success: _handleReasonCodeGet,
                                             error: _handleReasonCodeGetError
                                             }, '32762', 'NOT_READY');
     _handleReasonCodeGet(_reasonCode) {
         var id = _reasonCode.id;
         var uri = _reasonCode.uri;
         var label = _reasonCode.label;
         ...
     }
Parameters:
{finesse.interfaces.RequestHandlers} handlers
An object containing the handlers for the request
{String} reasonCodeValue
The code for the reason code to lookup
{String} reasonCodeCategory
The category for the reason code to lookup. The possible values are "NOT_READY" and "LOGOUT".

Documentation generated by JsDoc Toolkit 2.3.2 on Thu Jan 02 2020 09:55:47 GMT-0500 (EST)