Methods
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.SolutionsService.getCategories().then(categories => { ... });
getSolution() → {Promise.<Solution>}
Get details about the current solution.
Promise.<Solution>
Example
mapsindoors.SolutionsService.getSolution().then(solution => { ... });
getUserRoles(argsopt) → {Promise.<Array.<UserRoles>>}
Gets a list of available user roles.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
args |
* |
<optional> |
{} |
Promise.<Array.<UserRoles>>
Example
mapsindoors.SolutionsService.getUserRoles().then(userRoles => { ... });