Methods
# async inner get(env, importId, query) → {Promise.<ImportJob>}
Parameters:
Name | Type | Description |
---|---|---|
env |
module:environments.xMattersEnvironment | The xmtoolbox representation of an xMatters instance. |
importId |
* | |
query |
Object | A json object representing the query string parameters for this request. |
Import Job Object Requested
Promise.<ImportJob>
# async inner getMany(env, query) → {Promise.<Array.<ImportJob>>}
Get all import jobs from xMatters matching the query. Please refer to the link below for the available query parameters.
https://help.xmatters.com/xmapi/index.html#get-import-jobs
https://help.xmatters.com/xmapi/index.html#get-import-jobs
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 Import Job Objects Requested
Promise.<Array.<ImportJob>>
# async inner getMessages(env, query, importId) → {Promise.<Array.<ImportMessage>>}
Get all Import Job Messages from xMatters matching the query. Please refer to the link below for the available query parameters.
https://help.xmatters.com/xmapi/index.html#get-import-job-messages
https://help.xmatters.com/xmapi/index.html#get-import-job-messages
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. |
importId |
* |
Array of Import Message Objects Requested
Promise.<Array.<ImportMessage>>