Datamodels Finder

DatamodelsFinder

DatamodelsFinder Objects

class DatamodelsFinder()

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

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

findByOrganizationAndId
function findByOrganizationAndId(organization: string,id: string) -> 'Promise'

Download a specific IoT Datamodel by its organization and id. This execute a GET http method

Arguments:

  • organization string - datamodel organization .
  • id string - datamodel id.

Returns:

  • Promise