Models

POST

POST manages Schema information for the MODELS. Returns an XML or JSON string that contains Schema information for the MODELS installed on this Enth Appliance.

NOTE: Enth Internal, KEY must contains Enth Administrator privileges.


Methods

   POST

   DELETE


Consumes

   application/x-www-form-urlencoded


Produces

   text/html, application/xml, application/json


Returns

    An XML or JSON string containing information about the configuration of the MODELS.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required A valid Enth Key (refer to Login). Must be an Owner or Administrator.
LONGITUDE Double Administrator A valid Longitude, typically generated from the requesting device.
LATITUDE Double Administrator A valid Latitude, typically generated from the requesting device.
SOURCE String Administrator The name or type of requesting source or device.

Also See:    Login    Model    Node    Nodes

Code Example

   https://YourEnthAppliance/EnthAPI/users/models

   KEY=YourKey

Models

DELETE

DELETE removes STATICALLY installed MODELs as specified in GUID from this Appliance. Returns an XML or JSON string that contains Schema information for the current collection of MODELs

NOTE: Enth Internal, KEY must contains Enth Administrator privileges.


Methods

   POST    DELETE


Consumes

   application/x-www-form-urlencoded


Produces

   text/html, application/xml, application/json


Returns

    An XML string containing the information about the configuration of the MODELS.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required A valid Enth Key (refer to Login). Must be an Owner or Administrator.
GUID String Required Administrator The GUID of the MODEL to be removed.
LONGITUDE Double Administrator A valid Longitude, typically generated from the requesting device.
LATITUDE Double Administrator A valid Latitude, typically generated from the requesting device.
SOURCE String Administrator The name or type of requesting source or device.

Also See:    Login    Models    Node    Nodes

Code Example

   https://YourEnthAppliance/EnthAPI/users/models

   KEY=YourKey&GUID=123