Subscriptions

POST

Returns an XML string that contains the current Subscriptions for the KEY.

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


Methods

   POST    DELETE    PUT


Consumes

   application/x-www-form-urlencoded


Produces

   text/html


Returns

    Returns an XML string that contains the current Subscriptions for the KEY.


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    Register

Code Example

   https://YourEnthAppliance/EnthAPI/users/subscriptions

Subscriptions

DELETE

Returns an XML string that contains the current Subscriptions for the KEY.

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


Methods

   POST    DELETE    PUT


Consumes

   application/x-www-form-urlencoded


Produces

   text/html


Returns

    Returns an XML string that contains the current Subscriptions for the KEY.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required Administrator A valid Enth Key (refer to Login). Must be an Owner or Administrator.
USERKEY String Required Administrator a valid Enth User Key, for whose subscriptions is modified.
GUID String Required Administrator GUID a valid Schema GUID to be Deleted from the User's subscriptions.
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    Register

Code Example

   https://YourEnthAppliance/EnthAPI/users/subscriptions

Subscriptions

PUT

Adds a Subscription to the account associated with the USERKEY Key.

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


Methods

   POST    DELETE    PUT


Consumes

   application/x-www-form-urlencoded


Produces

   text/html


Returns

    Returns an XML string that contains the current Subscriptions for the KEY.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required Administrator A valid Enth Key (refer to Login). Must be an Owner or Administrator.
USERKEY String Required Administrator a valid Enth User Key, for whose subscriptions is modified.
GUID String Required Administrator GUID a valid Schema GUID to be Added from the User's subscriptions.
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    Register

Code Example

   https://YourEnthAppliance/EnthAPI/users/subscriptions