Class

SolutionsService

mapsindoors.services.SolutionsService

Methods

# async getCategories(argsopt) → {Promise.<Array.<Category>>}

Get a list of all categories.
Parameters:
Name Type Attributes Description
args Object <optional>
lr string <optional>
Sets the preferred language that the result should be returned in.
Promise.<Array.<Category>>
Example
mapsindoors.services.SolutionsService.getCategories().then(categories => { ... });

# async getSolution() → {Promise.<Solution>}

Get details about the current solution.
Promise.<Solution>
Example
mapsindoors.services.SolutionsService.getSolution().then(solution => { ... });

# async getUserRoles(argsopt) → {Promise.<Array.<UserRole>>}

Gets a list of available user roles.
Parameters:
Name Type Attributes Default Description
args Object <optional>
{}
Promise.<Array.<UserRole>>
Example
mapsindoors.services.SolutionsService.getUserRoles().then(userRoles => { ... });