TeamSignOutReasonCodes

Class finesse.restservices.TeamSignOutReasonCodes

Represents a collection of TeamSignOutReasonCode objects and also exposes methods to operate on the object against the server.

Example

Code Snippet
Copynew_team.getTeamSignOutReasonCodes({
id: id,
onLoad: _onTeamLoad,
onChange: _onTeamChange,
onError: _onTeamError
})

For additional parameters and methods, see RestCollectionBase Common Parameters.

Methods

get()

Retrieves the sign out reason codes.

Returns

{finesse.restservices.TeamSignOutReasonCodes} The TeamSignOutReasonCodes object.

getRestUrl()

Retrieves the URL for the SignOutReasonCodes resource.

update(newValues, handlers)

Updates the sign out reason codes with new values.

Parameters

Name

Type

Description

Required

newValues

Object

The new values to be set which is triggered after user signs out such as, reasoncode name, label or code, global status.

Yes

handlers

Object

An object containing the handlers for the request.

For more information on handlers, see Request Handlers.

Yes

Returns

{finesse.restservices.TeamSignOutReasonCodes} The TeamSignOutReasonCodes object.