Module

roles

Methods

# async inner getMany(env, query) → {Promise.<Array.<Shift>>}

Get all roles from xMatters matching the query. Please refer to the link below for the available query parameters.

https://help.xmatters.com/xmapi/index.html#get-roles
Parameters:
Name Type Description
env module:environments.xMattersEnvironment The xmtoolbox representation of an xMatters instance.
query Object A json object representing the query string parameters for this request.

View Source roles.js, line 19

Array of Shift Objects Requested
Promise.<Array.<Shift>>