History Finder
HistoryFinder
HistoryFinder Objects
class HistoryFinder()This class allow make get request to planner resource into Opengate North API.
constructor
function constructor()Constructor
Arguments:
ogapiInternalOpenGateAPI - Reference to the API object.
findByOrganization
function findByOrganization(organization: *) -> 'Promise'Download a complete list of scheduler history for the organization. This execute a GET http method
Arguments:
organization*
Returns:
Promise
findByOrganizationAndSchedulerId
function findByOrganizationAndSchedulerId(organization: *,schedulerId: *) -> 'Promise'Download a complete list of scheduler history for the organization and type selected. This execute a GET http method
Arguments:
organization*schedulerId*
Returns:
Promise
findByOrganizationAndType
function findByOrganizationAndType(organization: *,type: *) -> 'Promise'Download a complete list of scheduler history for the organization and type selected. This execute a GET http method
Arguments:
organization*type*
Returns:
Promise
withLimit
function withLimit(limit: *) -> 'this'Marks results limit
Arguments:
limit*
Returns:
this
withSchedulerId
function withSchedulerId(schedulerId: *) -> 'this'Set parameter schedulerIds
Arguments:
schedulerId*
Returns:
this
withSchedulerType
function withSchedulerType(schedulerType: *) -> 'this'Set parameter schedulerIds
Arguments:
schedulerType*
Returns:
this