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

RestRequestFinder

Extends:

GenericFinder → RestRequestFinder

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 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