Namespace: Responses

Specifies response objects for various request types

Members

<private, static, constant> ObjectValidation

Response is returned by object validators

<static, constant> Promise

jQuery promise, created from jQuery.Deferred object. See jQuery docs for more detailed information.
Promised are used to resolve server responses to requests performed by AvayaClientServices.

Note that since all Promise methods return themselves, the methods can be easily chained.

Examples

Get Meetings list

var successCallback = function(){
     console.log("Meeting list was fetched successfully");
};
var failCallback = function(){
     console.log("Error");
};
service.getMeetingListByStatus(status).then(successCallback, failCallback);
// do something else...
// when the Promise is resolved, console will print "Meeting list was fetched successfully"

Chaining methods

service.getMeetingListByStatus(status).done(doOneThing).done(doOther).done(doAnother).fail(onError);

<private, static, constant> QueryMeetingResponse

Response is returned to query meeting request

<private, static, constant> SimpleObjectResponse

Response is returned to query program request

Copyright 2017 Avaya Inc. All Rights Reserved.