WrapUpReason

Class finesse.restservices.WrapUpReason

Extends finesse.restservices.RestBase Common Parameters

Represents the reasons that agents can apply to calls. The administrator configures the WrapUp reasons to be available globally to all agents or only to specific teams. Finesse supports WrapUp functionality for incoming calls, outgoing calls, and outbound option dialer calls (Finesse does not support outbound option direct preview mode).

WrapUp reasons are set on a per-call basis. If you apply a WrapUp reason for a call, the same is reflected on the desktops of all other participants (agents) of the call. Finesse desktop users can enter a WrapUp reason during a call or while you are in WrapUp state after the call ends (this includes usual call termination, transfer, and conference drop scenarios).

The WrapUp reason is a code and the description identifies a particular reason that a user is in WORK (WrapUp) mode.

Example

Code Snippet
Copy_wrapUpReasons = _user.getWrapUpReasons({
    onCollectionAdd: _handleWrapUpReasonAdd,
    onCollectionDelete: _handleWrapUpReasonDelete,
    onLoad: _handleWrapUpReasonsLoaded
});
_wrapUpReasonCollection = _wrapUpReasons.getCollection();
for (var wrapUpReasonId in _wrapUpReasonCollection) {
    if (_wrapUpReasonCollection.hasOwnProperty(wrapUpReasonId)) {
        _wrapUpReason = _wrapUpReasonCollection[wrapUpReasonId];
        etc...
    }
}

For additional parameters and methods, see RestBase Common Parameters.

Method

getLabel()

Retrieves the WrapUp reason label.

Returns

{String} The WrapUp reason label.