A module related to xMatters dynamic teams.
https://help.xmatters.com/xmapi/index.html#dynamic-teams
https://help.xmatters.com/xmapi/index.html#dynamic-teams
Members
Methods
# async inner create(env, dynamicTeam) → {Promise.<DynamicTeam>}
Parameters:
Name | Type | Description |
---|---|---|
env |
module:environments.xMattersEnvironment | The xmtoolbox representation of an xMatters instance. |
dynamicTeam |
DynamicTeam |
Dynamic Team Object Created
Promise.<DynamicTeam>
# async inner exportToImport(destination, dynamicTeams, destinationData, options)
Transforms an array of records exported from xMatters to the format needed to import into xMatters.
Parameters:
Name | Type | Description |
---|---|---|
destination |
module:environments.xMattersEnvironment | The xmtoolbox representation of the target or destination xMatters instance. |
dynamicTeams |
Array.<DynamicTeam> | Array of Dynamic Teams to transform. |
destinationData |
xMattersObjects | The xMatters data for the destination. |
options |
Object |
# async inner get(env, dynamicTeamId, query) → {Promise.<DynamicTeam>}
Parameters:
Name | Type | Description |
---|---|---|
env |
module:environments.xMattersEnvironment | The xmtoolbox representation of an xMatters instance. |
dynamicTeamId |
string | The unique id of the dynamic team. |
query |
Object | A json object representing the query string parameters for this request. |
Dynamic Team Object Requested
Promise.<DynamicTeam>
# async inner getMany(env, query) → {Promise.<Array.<DynamicTeam>>}
Get all dynamic teams from xMatters matching the query. Please refer to the link below for the available query parameters.
https://help.xmatters.com/xmapi/index.html#get-dynamic-teams
https://help.xmatters.com/xmapi/index.html#get-dynamic-teams
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 Dynamic Team Objects Requested
Promise.<Array.<DynamicTeam>>
# async inner getMembers(env, query, dynamicTeamId) → {Promise.<Array.<module:people.Person>>}
Get all dynamic teams members from xMatters matching the query. Please refer to the link below for the available query parameters.
https://help.xmatters.com/xmapi/index.html#get-dynamic-team-members
https://help.xmatters.com/xmapi/index.html#get-dynamic-team-members
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. |
dynamicTeamId |
string | The unique id or targetNameof the dynamic team. |
Array of Person Objects from the Dynamic Team Requested
Promise.<Array.<module:people.Person>>
# async inner sync(destination, sourceDynamicTeams, destination, options) → {Promise.<module:sync.SyncResults>}
Synchronizes an array of objects from a source with destination objects and updates the destination as necessary.
Parameters:
Name | Type | Description |
---|---|---|
destination |
module:environments.xMattersEnvironment | The xmtoolbox representation of the target or destination xMatters instance. |
sourceDynamicTeams |
Array.<DynamicTeam> | An array of the dynamic team objects to synchronize from the source data. |
destination |
Array.<DynamicTeam> | An array of the dynamic team objects to synchronize from the destination data. |
options |
Object |
Promise.<module:sync.SyncResults>
# async inner update(env, dynamicTeam, dynamicTeamId) → {Promise.<DynamicTeam>}
Parameters:
Name | Type | Description |
---|---|---|
env |
module:environments.xMattersEnvironment | The xmtoolbox representation of an xMatters instance. |
dynamicTeam |
DynamicTeam | |
dynamicTeamId |
string | The unique identifier (id) of the dynamic team you want to modify. |
Dynamic Team Object Updated
Promise.<DynamicTeam>