Class

SolutionsService

mapsindoors.services.SolutionsService

Methods

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

Returns a list of all categories associated with the current solution.
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:>>}

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