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
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. |
Array of Shift Objects Requested
Promise.<Array.<Shift>>