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

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI Reference to the API object.

findByOrganization(organization)

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

Parámetros

Nombre Tipo Opcional Descripción
organization *

Retorna

Tip

Tipo: Promise


findByOrganizationAndSchedulerId(organization, schedulerId)

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

Parámetros

Nombre Tipo Opcional Descripción
organization *
schedulerId *

Retorna

Tip

Tipo: Promise


findByOrganizationAndType(organization, type)

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

Parámetros

Nombre Tipo Opcional Descripción
organization *
type *

Retorna

Tip

Tipo: Promise


withLimit(limit)

Marks results limit

Parámetros

Nombre Tipo Opcional Descripción
limit *

Retorna

Tip

Tipo: this


withSchedulerId(schedulerId)

Set parameter schedulerIds

Parámetros

Nombre Tipo Opcional Descripción
schedulerId *

Retorna

Tip

Tipo: this


withSchedulerType(schedulerType)

Set parameter schedulerIds

Parámetros

Nombre Tipo Opcional Descripción
schedulerType *

Retorna

Tip

Tipo: this