Home Manual Reference Source Test Repository
import ScheduleHistoryFinder from 'opengate-js/src/schedule/SchedulePipelineFinder.js'
public class | source

ScheduleHistoryFinder

Extends:

GenericFinder → ScheduleHistoryFinder

This class allow make get request to planner resource into Opengate North API.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

findByOrganization(organization: *): Promise

Download a complete list of scheduler history for the organization.

public

findByOrganizationAndType(organization: *, type: *): Promise

Download a complete list of scheduler history for the organization.

Public Constructors

public constructor(ogapi: InternalOpenGateAPI) source

Constructor

Override:

GenericFinder#constructor

Params:

NameTypeAttributeDescription
ogapi InternalOpenGateAPI

Reference to the API object.

Public Methods

public findByOrganization(organization: *): Promise source

Download a complete list of scheduler history for the organization. This execute a GET http method

Params:

NameTypeAttributeDescription
organization *

Return:

Promise

public findByOrganizationAndType(organization: *, type: *): Promise source

Download a complete list of scheduler history for the organization. This execute a GET http method

Params:

NameTypeAttributeDescription
organization *
type *

Return:

Promise