This class allows making GET requests to the IoT datamodel resource of the OpenGate North API.

constructor

Constructor

Parámetros

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

findByOrganizationAndId(organization, id)

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

Parámetros

Nombre Tipo Opcional Descripción
organization string ❌ datamodel organization .
id string ❌ datamodel id.

Retorna

Tip

Tipo: Promise