Asset Search

AssetSearch

AssetSearch Objects

class AssetSearch()

This extends Search and allow make request to any available resource into Opengate North API.

constructor
function constructor()

Constructor

Arguments:

  • ogapi InternalOpenGateAPI - this is configuration about Opengate North API.
  • url string - this define a specific resource to make the search
  • filter object - this is the filter
  • limit object - this is the pagination about the search
  • sort object - this defined parameters to order the result of search
  • group object - this defined the group by

execute
function execute() -> 'Promise'

This invoke a request to OpenGate North API and the callback is managed by promises

Returns:

  • Promise