Device Search
DeviceSearch
DeviceSearch Objects
class DeviceSearch()This extends Search and allow make request to any available resource into Opengate North API.
constructor
function constructor()Constructor
Arguments:
ogapiInternalOpenGateAPI - this is configuration about Opengate North API.urlstring - this define a specific resource to make the searchfilterobject - this is the filterlimitobject - this is the pagination about the searchsortobject - this defined parameters to order the result of searchgroupobject - 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