Skip to content

Beta - May 8th Release

Choose a tag to compare

@franck-boullier franck-boullier released this 08 May 11:13
· 88 commits to master since this release

New Functionalities:

See PR #774 and issue #773

API Key for each individual user:

When a user is created in the Unee-T Enterprise interface (aka via the MEFE API CREATE_USER) we now return a unique MEFE API for that user.
This API key can be used to get information from Unee-T via our REST API.

API to get information from Unee-T :

Input:

API key for the user

Output:

list of the unit that this user is allowed to see.
the format is

{
        "_id": String (ObjectId),
        "displayName": String,
        "unitType": String (enum),
        "createdAt": String (Date in ISO format),
        "streetAddress": String,
        "city": String,
        "zipCode": String,
        "state": String,
        "country": String,
        "moreInfo": String
    }

Bug fix:

When we do an update of a unit, if the field in the payload is empty, then the field in the database will be empty too.