Skip to content

Repository files navigation

MirthApi

The MirthApi is a simple promised based Node.js client for calling Mirth API endpoints. It heavily relies on swagger-client.

Table of Contents

Read First

Use at your own risk! I built this in about 2 hours and then spent another 3-4 hours working on the documentation. This is very much a project in the ALPHA stage. That said it should be very solid as it is build on top of swagger-client. The reason I qualify this as a ALPHA release is there has been little to no testing beyond login and a few other calls to other functions. I don't know how much time I will have to take this project forward as I have a very full life. If you are interesting in helping out then please contact me. Pull request are more than welcome!

Notices

Currently the documentation is badly lacking on any function that has body as one of the inputs. This will be addressed in the next week or so. For now use the following as an example of how to craft a body.

// minimal example - body requires a user object and a user object has a number of propsletres=awaitmirthClient.Users.createUser({body: {user: {username: 'test'}}}).catch(console.error)

Installation

npm install mirth-api --save

Usage

Promise

constMirthApi=require('../src/index')newMirthApi({host: '127.0.0.1',port: '8443',username: 'admin',password: 'admin',noLogin: false}).then((mirthClient)=>{mirthClient.Users.getCurrentUser().then(res=>console.log(res.data))})

Async

constMirthApi=require('../src/index')asyncfunctionmain(){letmirthClient=awaitnewMirthApi({host: '127.0.0.1',port: '8443',username: 'admin',password: 'admin'})letres=awaitmirthClient.Users.getCurrentUser()console.log(res.data)}main()

Response

letres=awaitmirthClient.Users.getCurrentUser()
letres={ok: true,url: 'https://127.0.0.1:8443/api/users/current',status: 200,statusText: 'OK',headers: {connection: 'close',date: 'Sat, 26 Oct 2019 21:56:52 GMT','access-control-allow-origin': '*','access-control-allow-credentials': 'false','access-control-allow-methods': 'GET, POST, DELETE, PUT','access-control-allow-headers': 'Content-Type','content-security-policy': "frame-ancestors 'none'",'x-frame-options': 'DENY','content-type': 'application/xml','content-length': '348',server: 'Jetty(9.4.9.v20180320)'},text: 'xml string',data: 'xml string',body: 'xml string',obj: 'xml string'}

Swagger Client

If for some reason you need to access the Swagger Client, it is available via getter:

letswaggerClient=mirthClient.swaggerClient

Session cookies

The Swagger Client has a requestInterceptor to apply cookies that are caught in the hooked User Login function.

Mirth Version

(This is a work in progress.) As each version of Mirth is likely to have a slightly different API please see the documents folder for auto generated version specific APIs.

Browser Support

A this time there is no planned support for browsers. It would likely be very easy to create a fork of this project and create a version that supports browsers. Pull request is welcome!

Changes

Version 0.0.5

  • Fixed Bug #1
  • Added feature to responseInterceptor where it will attempt to parse the response body into xml and then json ie res.json

TODO

  • Better auto generate documentation
  • More version of auto generate documentation
  • schema generation in auto generate documentation
  • TypeDef file generation
  • Add Test

Functions And Properties

Core Properties

MirthApi.cookie

Summary: Get/Set the session cookie - This will be overwritten if you call MirthApi.Users.Login

Type: String


MirthApi.host

Summary: Get/Set the host IP or address of Mirth instance

Type: String


MirthApi.port

Summary: Get/Set the host port of Mirth instance

Type: String


MirthApi.username

Summary: Get/Set the username to use when logging into the Mirth instance

Type: String


MirthApi.password

Summary: Get/Set the password to use when logging into the Mirth instance

Type: String


MirthApi.swaggerClient

Summary: Get the swaggerClient

Type: SwaggerClient


MirthApi.url

Summary: Get the generate url to Mirth's swagger.json

Type: String

Example: https://127.0.0.1:8433/api/swagger.json


Core Functions

MirthApi.constructor({host = '127.0.0.1', port = '8443', username = 'admin', password = 'admin', noLogin = false, , disableTLSCheck = false})

Summary: Returns an instance of MirthApi

Parameters:

NameDescriptionDefault ValueRequired
hostThe Mirth host ip or address.127.0.0.1No
portThe Mirth port.8443No
usernameThe username to use for login.adminNo
passwordThe password to use for login.adminNo
noLoginIf true will not attempt a login when instantiated.falseNo
disableTLSCheckDisabled Node.js rejection of invalid SSL certs! Please use with causation as this will disable the check for the entire process not just to the Mirth instance! It's far better to add the self-signed cert to the list of trusted certs.falseNo

MirthApi.login({username*, password*})

Summary: Login is a hook function for SwaggerClient.apis.User.login({username, password}). It catches the response and pull out the header 'set-cookie' and sets the cookie so MirthApi users don't have to deal with the session token.

Parameters:

NameDescriptionDefault ValueRequired
usernameThe username.MirthApi.userNo
passwordThe password.MirthApi.passwordNo

Generated Functions from Swagger

Alerts.getAlerts({alertId})

Summary: Retrieves multiple alerts by ID, or all alerts if not specified.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert(s). If absent, all alerts will be returned.No

Responses:

NameDescriptionSchema
200successful operation

Alerts.createAlert({body*})

Summary: Creates a new alert.

Description:

Parameters:

NameDescriptionRequired
bodyThe alert to create.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Alerts.getAlertsPost({body})

Summary: Retrieves multiple alerts by ID, or all alerts if not specified. This is a POST request alternative to GET /alerts that may be used when there are too many alert IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe ID of the alert(s). If absent, all alerts will be returned.No

Responses:

NameDescriptionSchema
200successful operation

Alerts.getAlertInfo1({body*})

Summary: Returns an AlertInfo object containing alert protocol options and any updated channel summaries.

Description:

Parameters:

NameDescriptionRequired
bodyA map of ChannelHeader objects telling the server the state of the client-side channel cache.Yes

Responses:

NameDescriptionSchema
200successful operation

Alerts.getAlertProtocolOptions()

Summary: Returns all alert protocol options.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Alerts.getAlertStatusList()

Summary: Returns all alert dashboard statuses.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Alerts.getAlert({alertId*})

Summary: Retrieves an alert by ID.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert.Yes

Responses:

NameDescriptionSchema
200successful operation

Alerts.updateAlert({alertId*, body*})

Summary: Updates the specified alert.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert.Yes
bodyThe alert to create.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Alerts.removeAlert({alertId*})

Summary: Removes the specified alert.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Alerts.disableAlert({alertId*})

Summary: Disables the specified alert.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Alerts.enableAlert({alertId*})

Summary: Enables the specified alert.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Alerts.getAlertInfo2({alertId*, body*})

Summary: Returns an AlertInfo object containing the alert model, alert protocol options, and any updated channel summaries.

Description:

Parameters:

NameDescriptionRequired
alertIdThe ID of the alert.Yes
bodyA map of ChannelHeader objects telling the server the state of the client-side channel cache.Yes

Responses:

NameDescriptionSchema
200successful operation

ChannelGroups.getChannelGroups({channelGroupId})

Summary: Retrieve a list of all channel groups, or multiple channel groups by ID.

Description:

Parameters:

NameDescriptionRequired
channelGroupIdThe IDs of the channel groups to retrieve. If absent, all groups will be retrieved.No

Responses:

NameDescriptionSchema
200successful operation

ChannelGroups.updateChannelGroups({channelGroups, removedChannelGroupIds, override})

Summary: Updates all channel groups in one request.

Description:

Parameters:

NameDescriptionRequired
channelGroupsThe channel group object to update or create.No
removedChannelGroupIdsAll channel group IDs known to be removed.No
overrideIf true, the channel groups will be updated even if different revisions exist on the server.No

Responses:

NameDescriptionSchema
200successful operation

ChannelGroups.getChannelGroupsPost({body})

Summary: Retrieve a list of all channel groups, or multiple channel groups by ID. This is a POST request alternative to GET /channelgroups that may be used when there are too many channel group IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe IDs of the channel groups to retrieve. If absent, all groups will be retrieved.No

Responses:

NameDescriptionSchema
200successful operation

Channels.getChannels({channelId, pollingOnly})

Summary: Retrieve a list of all channels, or multiple channels by ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe IDs of the channels to retrieve. If absent, all channels will be retrieved.No
pollingOnlyIf true, only channels with polling source connectors will be returned.No

Responses:

NameDescriptionSchema
200successful operation

Channels.createChannel({body*})

Summary: Creates a new channel.

Description:

Parameters:

NameDescriptionRequired
bodyThe Channel object to create.Yes

Responses:

NameDescriptionSchema
200successful operation

Channels.removeChannels({channelId*})

Summary: Removes the channels with the specified IDs.

Description:

Parameters:

NameDescriptionRequired
channelIdThe IDs of the channels to remove.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.getChannelsPost({body, pollingOnly})

Summary: Retrieve a list of all channels, or multiple channels by ID. This is a POST request alternative to GET /channels that may be used when there are too many channel IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe IDs of the channels to retrieve. If absent, all channels will be retrieved.No
pollingOnlyIf true, only channels with polling source connectors will be returned.No

Responses:

NameDescriptionSchema
200successful operation

Channels.getChannelSummary({body*, ignoreNewChannels*})

Summary: Returns a list of channel summaries, indicating to a client which channels have changed (been updated, deleted, undeployed, etc.). If a channel was modified, the entire Channel object will be returned.

Description:

Parameters:

NameDescriptionRequired
bodyA map of ChannelHeader objects telling the server the state of the client-side channel cache.Yes
ignoreNewChannelsIf true, summaries will only be returned for channels in the map's entry set.Yes

Responses:

NameDescriptionSchema
200successful operation

Channels.removeChannelsPost({body*})

Summary: Removes the channels with the specified IDs. This is a POST request alternative to DELETE /channels that may be used when there are too many channel IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe IDs of the channels to remove.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.setChannelEnabled1({channelId, enabled*})

Summary: Enables/disables the specified channels.

Description:

Parameters:

NameDescriptionRequired
channelIdThe IDs of the channels to enable/disable. If absent, all channels will be enabled/disabled.No
enabledIndicates whether the channels should be enabled or disabled.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.setChannelInitialState1({channelId, initialState*})

Summary: Sets the initial state for the specified channels.

Description:

Parameters:

NameDescriptionRequired
channelIdThe IDs of the channels to modify initial states on. If absent, the initial state will be set on all channels.No
initialStateThe initial state of the channel.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.getChannelIdsAndNames()

Summary: Returns a map of all channel IDs and names.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Channels.getChannel({channelId*})

Summary: Retrieve a single channel by ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

Channels.updateChannel({channelId*, body*, override})

Summary: Updates the specified channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to update.Yes
bodyThe Channel object to update with.Yes
overrideIf true, the channel will be updated even if a different revision exists on the server.No

Responses:

NameDescriptionSchema
200successful operation

Channels.removeChannel({channelId*})

Summary: Removes the channel with the specified ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to remove.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.getConnectorNames({channelId*})

Summary: Returns all connector names for a channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes

Responses:

NameDescriptionSchema
200successful operation

Channels.setChannelEnabled2({channelId*, enabled*})

Summary: Enables/disables the specified channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
enabledThe enabled flag (true/false) to set.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.setChannelInitialState2({channelId*, initialState*})

Summary: Sets the initial state for a single channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
initialStateThe initial state of the channel.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Channels.getMetaDataColumns({channelId*})

Summary: Returns all metadata columns for a channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes

Responses:

NameDescriptionSchema
200successful operation

ChannelStatistics.clearAllStatistics()

Summary: Clears all statistics (including lifetime) for all channels/connectors.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatistics.clearStatistics({body*, received, filtered, sent, error})

Summary: Clears the statistics for the given channels and/or connectors.

Description:

Parameters:

NameDescriptionRequired
bodyChannel IDs mapped to lists of metaDataIds (connectors). If the metaDataId list is null, then all statistics for the channel will be cleared.Yes
receivedIf true, received stats will be cleared.No
filteredIf true, filtered stats will be cleared.No
sentIf true, sent stats will be cleared.No
errorIf true, error stats will be cleared.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatistics.getStatistics1({channelId, includeUndeployed, includeMetadataId, excludeMetadataId, aggregateStats})

Summary: Returns the Statistics for all channels.

Description:

Parameters:

NameDescriptionRequired
channelIdThe IDs of the channels to retrieve. If absent, all channels will be retrieved.No
includeUndeployedIf true, statistics for undeployed channels will also be included.No
includeMetadataIdThe ids of connectors to include. Cannot include and exclude connectors.No
excludeMetadataIdThe ids of connectors to exclude. Cannot include and exclude connectors.No
aggregateStatsIf true, statistics will be aggregated into one resultNo

Responses:

NameDescriptionSchema
200successful operation

ChannelStatistics.getStatisticsPost({channelIds, includeUndeployed, includeMetadataIds, excludeMetadataIds, aggregateStats})

Summary: Returns the Statistics for all channels. This is a POST request alternative to GET /statistics that may be used when there are too many channel IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
channelIdsThe IDs of the channels to retrieve. If absent, all channels will be retrieved.No
includeUndeployedIf true, statistics for undeployed channels will also be included.No
includeMetadataIdsThe ids of connectors to include. Cannot include and exclude connectors.No
excludeMetadataIdsThe ids of connectors to exclude. Cannot include and exclude connectors.No
aggregateStatsIf true, statistics will be aggregated into one resultNo

Responses:

NameDescriptionSchema
200successful operation

ChannelStatistics.getStatistics2({channelId*})

Summary: Returns the Statistics for the channel with the specified id.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to retrieve statistics for.Yes

Responses:

NameDescriptionSchema
200successful operation

ChannelDeploymentOperations.deployChannels({body, returnErrors})

Summary: Deploys (or redeploys) selected channels.

Description:

Parameters:

NameDescriptionRequired
bodyThe ID of the channel(s) to deploy. If absent, all channels will be deployed.No
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelDeploymentOperations.redeployAllChannels({returnErrors})

Summary: Redeploys all channels.

Description:

Parameters:

NameDescriptionRequired
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelDeploymentOperations.undeployChannels({body, returnErrors})

Summary: Undeploys selected channels.

Description:

Parameters:

NameDescriptionRequired
bodyThe ID of the channel(s) to undeploy. If absent, all channels will be undeployed.No
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelDeploymentOperations.deployChannel({channelId*, returnErrors})

Summary: Deploys (or redeploys) a single channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to deploy.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelDeploymentOperations.undeployChannel({channelId*, returnErrors})

Summary: Undeploys a single channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to undeploy.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.haltChannels({channelId*, returnErrors})

Summary: Halts the channels with the specified IDs.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel IDs to halt.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.pauseChannels({channelId*, returnErrors})

Summary: Pauses the channels with the specified IDs.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel IDs to pause.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.resumeChannels({channelId*, returnErrors})

Summary: Resume the channels with the specified IDs.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel IDs to resume.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.startChannels({channelId*, returnErrors})

Summary: Starts the channels with the specified IDs.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel IDs to start.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.startConnectors({body*, returnErrors})

Summary: Starts the connectors with the specified channel and metadata IDs.

Description:

Parameters:

NameDescriptionRequired
bodyA map of channel and metadata IDs to start connectors for.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.stopChannels({channelId*, returnErrors})

Summary: Stops the channels with the specified IDs.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel IDs to stop.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.stopConnectors({body*, returnErrors})

Summary: Stops the connectors with the specified channel and metadata IDs.

Description:

Parameters:

NameDescriptionRequired
bodyA map of channel and metadata IDs to stop connectors for.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.getChannelStatusList({channelId, filter, includeUndeployed})

Summary: Returns all channel dashboard statuses, or multiple statuses by channel ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel IDs to return dashboard statuses for. If absent, all statuses will be returned.No
filterThe filter string to limit dashboard statuses with.No
includeUndeployedIf true, statuses for undeployed channels will also be included.No

Responses:

NameDescriptionSchema
200successful operation

ChannelStatusOperations.getChannelStatusListPost({body, filter, includeUndeployed})

Summary: Returns all channel dashboard statuses, or multiple statuses by channel ID. This is a POST request alternative to GET /statuses that may be used when there are too many channel IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe channel IDs to return dashboard statuses for. If absent, all statuses will be returned.No
filterThe filter string to limit dashboard statuses with.No
includeUndeployedIf true, statuses for undeployed channels will also be included.No

Responses:

NameDescriptionSchema
200successful operation

ChannelStatusOperations.getDashboardChannelInfo({fetchSize*, filter})

Summary: Returns a DashboardChannelInfo object containing a partial channel status list and a set of remaining channel IDs.

Description:

Parameters:

NameDescriptionRequired
fetchSizeSpecifies the maximum number of statuses to return.Yes
filterThe filter string to limit dashboard statuses with.No

Responses:

NameDescriptionSchema
200successful operation

ChannelStatusOperations.haltChannel({channelId*, returnErrors})

Summary: Halts the channel with the specified ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to halt.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.pauseChannel({channelId*, returnErrors})

Summary: Pauses the channel with the specified ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to pause.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.resumeChannel({channelId*, returnErrors})

Summary: Resumes the channel with the specified ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to resume.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.startChannel({channelId*, returnErrors})

Summary: Starts the channel with the specified ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to start.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.stopChannel({channelId*, returnErrors})

Summary: Stops the channel with the specified ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to stop.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.startConnector({channelId*, metaDataId*, returnErrors})

Summary: Starts the connector with the specified channel and metadata ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to start a connector for.Yes
metaDataIdThe connector metadata ID to start.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.stopConnector({channelId*, metaDataId*, returnErrors})

Summary: Stops the connector with the specified channel and metadata ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to stop a connector for.Yes
metaDataIdThe connector metadata ID to stop.Yes
returnErrorsIf true, an error response code and the exception will be returned.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

ChannelStatusOperations.getChannelStatus({channelId*})

Summary: Returns the dashboard status for a single channel ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to return a dashboard status for.Yes

Responses:

NameDescriptionSchema
200successful operation

Messages.removeAllMessages1({channelId*, restartRunningChannels, clearStatistics})

Summary: Removes all messages for multiple specified channels.

Description:

Parameters:

NameDescriptionRequired
channelIdThe IDs of the channels.Yes
restartRunningChannelsIf true, currently running channels will be stopped and restarted as part of the remove process. Otherwise, currently running channels will not be included.No
clearStatisticsIf true, message statistics will also be cleared.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.removeAllMessagesPost({body*, restartRunningChannels, clearStatistics})

Summary: Removes all messages for multiple specified channels. This is a POST request alternative to DELETE /_removeAllMessages that may be used when there are too many channel IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe IDs of the channels.Yes
restartRunningChannelsIf true, currently running channels will be stopped and restarted as part of the remove process. Otherwise, currently running channels will not be included.No
clearStatisticsIf true, message statistics will also be cleared.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.getMessages1({channelId*, minMessageId, maxMessageId, minOriginalId, maxOriginalId, minImportId, maxImportId, startDate, endDate, textSearch, textSearchRegex, status, includedMetaDataId, excludedMetaDataId, serverId, rawContentSearch, processedRawContentSearch, transformedContentSearch, encodedContentSearch, sentContentSearch, responseContentSearch, responseTransformedContentSearch, processedResponseContentSearch, connectorMapContentSearch, channelMapContentSearch, sourceMapContentSearch, responseMapContentSearch, processingErrorContentSearch, postprocessorErrorContentSearch, responseErrorContentSearch, metaDataSearch, metaDataCaseInsensitiveSearch, textSearchMetaDataColumn, minSendAttempts, maxSendAttempts, attachment, error, includeContent, offset, limit})

Summary: Search for messages by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
minMessageIdThe minimum message ID to query.No
maxMessageIdThe maximum message ID to query.No
minOriginalIdThe minimum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
maxOriginalIdThe maximum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
minImportIdThe minimum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
maxImportIdThe maximum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
startDateThe earliest original received date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest original received date to query by. Example: 2015-10-21T07:28:00.000-0700No
textSearchSearches all message content for this string. This process could take a long time depending on the amount of message content currently stored. Any message content that was encrypted by this channel will not be searchable.No
textSearchRegexIf true, text search input will be considered a regular expression pattern to be matched. Only supported by PostgreSQL, MySQL and Oracle databases.No
statusDetermines which message statuses to query by.No
includedMetaDataIdIf present, only connector metadata IDs in this list will be queried.No
excludedMetaDataIdIf present, connector metadata IDs in this list will not be queried.No
serverIdThe server ID associated with messages.No
rawContentSearchSearches the raw content of messages.No
processedRawContentSearchSearches the processed raw content of messages.No
transformedContentSearchSearches the transformed content of messages.No
encodedContentSearchSearches the encoded content of messages.No
sentContentSearchSearches the sent content of messages.No
responseContentSearchSearches the response content of messages.No
responseTransformedContentSearchSearches the response transformed content of messages.No
processedResponseContentSearchSearches the processed response content of messages.No
connectorMapContentSearchSearches the connector map content of messages.No
channelMapContentSearchSearches the channel map content of messages.No
sourceMapContentSearchSearches the source map content of messages.No
responseMapContentSearchSearches the response map content of messages.No
processingErrorContentSearchSearches the processing error content of messages.No
postprocessorErrorContentSearchSearches the postprocessor error content of messages.No
responseErrorContentSearchSearches the response error content of messages.No
metaDataSearchSearches a custom metadata column. Value should be in the form: COLUMN_NAME <operator> value, where operator is one of the following: =, !=, <, <=, >, >=, CONTAINS, DOES NOT CONTAIN, STARTS WITH, DOES NOT START WITH, ENDS WITH, DOES NOT END WITHNo
metaDataCaseInsensitiveSearchSearches a custom metadata column, ignoring case. Value should be in the form: COLUMN_NAME <operator> value.No
textSearchMetaDataColumnWhen using a text search, these custom metadata columns will also be searched.No
minSendAttemptsThe minimum number of send attempts for connector messages.No
maxSendAttemptsThe maximum number of send attempts for connector messages.No
attachmentIf true, only messages with attachments are included in the results.No
errorIf true, only messages with errors are included in the results.No
includeContentIf true, message content will be returned with the results.No
offsetUsed for pagination, determines where to start in the search results.No
limitUsed for pagination, determines the maximum number of results to return.No

Responses:

NameDescriptionSchema
200successful operation

Messages.processMessage1({channelId*, body*, destinationMetaDataId, sourceMapEntry, overwrite, imported, originalMessageId})

Summary: Processes a new message through a channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe raw message data to process.Yes
destinationMetaDataIdIndicates which destinations to send the message to.No
sourceMapEntryThese entries will be injected into the source map for the message. Value should be in the format: key=valueNo
overwriteIf true and a valid original message ID is given, this message will overwrite the existing one.No
importedIf true, marks this message as being imported. If the message is overwriting an existing one, then statistics will not be decremented.No
originalMessageIdThe original message ID this message is associated with.No

Responses:

NameDescriptionSchema
200successful operation

Messages.removeMessages1({channelId*, minMessageId, maxMessageId, minOriginalId, maxOriginalId, minImportId, maxImportId, startDate, endDate, textSearch, textSearchRegex, status, includedMetaDataId, excludedMetaDataId, serverId, rawContentSearch, processedRawContentSearch, transformedContentSearch, encodedContentSearch, sentContentSearch, responseContentSearch, responseTransformedContentSearch, processedResponseContentSearch, connectorMapContentSearch, channelMapContentSearch, sourceMapContentSearch, responseMapContentSearch, processingErrorContentSearch, postprocessorErrorContentSearch, responseErrorContentSearch, metaDataSearch, metaDataCaseInsensitiveSearch, textSearchMetaDataColumn, minSendAttempts, maxSendAttempts, attachment, error})

Summary: Remove messages by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
minMessageIdThe minimum message ID to query.No
maxMessageIdThe maximum message ID to query.No
minOriginalIdThe minimum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
maxOriginalIdThe maximum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
minImportIdThe minimum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
maxImportIdThe maximum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
startDateThe earliest original received date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest original received date to query by. Example: 2015-10-21T07:28:00.000-0700No
textSearchSearches all message content for this string. This process could take a long time depending on the amount of message content currently stored. Any message content that was encrypted by this channel will not be searchable.No
textSearchRegexIf true, text search input will be considered a regular expression pattern to be matched. Only supported by PostgreSQL, MySQL and Oracle databases.No
statusDetermines which message statuses to query by.No
includedMetaDataIdIf present, only connector metadata IDs in this list will be queried.No
excludedMetaDataIdIf present, connector metadata IDs in this list will not be queried.No
serverIdThe server ID associated with messages.No
rawContentSearchSearches the raw content of messages.No
processedRawContentSearchSearches the processed raw content of messages.No
transformedContentSearchSearches the transformed content of messages.No
encodedContentSearchSearches the encoded content of messages.No
sentContentSearchSearches the sent content of messages.No
responseContentSearchSearches the response content of messages.No
responseTransformedContentSearchSearches the response transformed content of messages.No
processedResponseContentSearchSearches the processed response content of messages.No
connectorMapContentSearchSearches the connector map content of messages.No
channelMapContentSearchSearches the channel map content of messages.No
sourceMapContentSearchSearches the source map content of messages.No
responseMapContentSearchSearches the response map content of messages.No
processingErrorContentSearchSearches the processing error content of messages.No
postprocessorErrorContentSearchSearches the postprocessor error content of messages.No
responseErrorContentSearchSearches the response error content of messages.No
metaDataSearchSearches a custom metadata column. Value should be in the form: COLUMN_NAME <operator> value, where operator is one of the following: =, !=, <, <=, >, >=, CONTAINS, DOES NOT CONTAIN, STARTS WITH, DOES NOT START WITH, ENDS WITH, DOES NOT END WITHNo
metaDataCaseInsensitiveSearchSearches a custom metadata column, ignoring case. Value should be in the form: COLUMN_NAME <operator> value.No
textSearchMetaDataColumnWhen using a text search, these custom metadata columns will also be searched.No
minSendAttemptsThe minimum number of send attempts for connector messages.No
maxSendAttemptsThe maximum number of send attempts for connector messages.No
attachmentIf true, only messages with attachments are included in the results.No
errorIf true, only messages with errors are included in the results.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.exportMessagesServer1({channelId*, minMessageId, maxMessageId, minOriginalId, maxOriginalId, minImportId, maxImportId, startDate, endDate, textSearch, textSearchRegex, status, includedMetaDataId, excludedMetaDataId, serverId, rawContentSearch, processedRawContentSearch, transformedContentSearch, encodedContentSearch, sentContentSearch, responseContentSearch, responseTransformedContentSearch, processedResponseContentSearch, connectorMapContentSearch, channelMapContentSearch, sourceMapContentSearch, responseMapContentSearch, processingErrorContentSearch, postprocessorErrorContentSearch, responseErrorContentSearch, metaDataSearch, metaDataCaseInsensitiveSearch, textSearchMetaDataColumn, minSendAttempts, maxSendAttempts, attachment, error, pageSize, contentType, destinationContent, encrypt, includeAttachments, baseFolder, rootFolder, filePattern, archiveFileName, archiveFormat, compressFormat, password, encryptionType})

Summary: Exports messages into a specific directory path accessible by the server.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
minMessageIdThe minimum message ID to query.No
maxMessageIdThe maximum message ID to query.No
minOriginalIdThe minimum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
maxOriginalIdThe maximum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
minImportIdThe minimum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
maxImportIdThe maximum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
startDateThe earliest original received date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest original received date to query by. Example: 2015-10-21T07:28:00.000-0700No
textSearchSearches all message content for this string. This process could take a long time depending on the amount of message content currently stored. Any message content that was encrypted by this channel will not be searchable.No
textSearchRegexIf true, text search input will be considered a regular expression pattern to be matched. Only supported by PostgreSQL, MySQL and Oracle databases.No
statusDetermines which message statuses to query by.No
includedMetaDataIdIf present, only connector metadata IDs in this list will be queried.No
excludedMetaDataIdIf present, connector metadata IDs in this list will not be queried.No
serverIdThe server ID associated with messages.No
rawContentSearchSearches the raw content of messages.No
processedRawContentSearchSearches the processed raw content of messages.No
transformedContentSearchSearches the transformed content of messages.No
encodedContentSearchSearches the encoded content of messages.No
sentContentSearchSearches the sent content of messages.No
responseContentSearchSearches the response content of messages.No
responseTransformedContentSearchSearches the response transformed content of messages.No
processedResponseContentSearchSearches the processed response content of messages.No
connectorMapContentSearchSearches the connector map content of messages.No
channelMapContentSearchSearches the channel map content of messages.No
sourceMapContentSearchSearches the source map content of messages.No
responseMapContentSearchSearches the response map content of messages.No
processingErrorContentSearchSearches the processing error content of messages.No
postprocessorErrorContentSearchSearches the postprocessor error content of messages.No
responseErrorContentSearchSearches the response error content of messages.No
metaDataSearchSearches a custom metadata column. Value should be in the form: COLUMN_NAME <operator> value, where operator is one of the following: =, !=, <, <=, >, >=, CONTAINS, DOES NOT CONTAIN, STARTS WITH, DOES NOT START WITH, ENDS WITH, DOES NOT END WITHNo
metaDataCaseInsensitiveSearchSearches a custom metadata column, ignoring case. Value should be in the form: COLUMN_NAME <operator> value.No
textSearchMetaDataColumnWhen using a text search, these custom metadata columns will also be searched.No
minSendAttemptsThe minimum number of send attempts for connector messages.No
maxSendAttemptsThe maximum number of send attempts for connector messages.No
attachmentIf true, only messages with attachments are included in the results.No
errorIf true, only messages with errors are included in the results.No
pageSizeThe maximum number of messages that will be queried at a time.No
contentTypeThe ContentType that will be extracted from the message for writing. If null or not provided, the entire message will be written in serialized format.No
destinationContentIf true, the content to write will be extracted from the destination message(s), rather than the source message.No
encryptIf true, message content will be encrypted before writing.No
includeAttachmentsDetermines whether attachments will be included with messages.No
baseFolderThe base directory to use when resolving relative paths in the root folder.No
rootFolderThe root folder to contain the written messages/sub-folders.No
filePatternA string defining the folder/filename(s) for writing messages. It may contain variables to be replaced.No
archiveFileNameThe file name to use for archive exports.No
archiveFormatThe archiver format to use to archive messages/folders that are written to the root folder. Valid values: zip, tarNo
compressFormatThe compressor format to use to compress the archive file. Only valid when using the TAR archive format. Valid values: gz, bzip2No
passwordThe password used to protect the archive file. Only valid when using the ZIP archive format.No
encryptionTypeThe algorithm used to encrypt the password-protected archive file. Only valid when using the ZIP archive format. Valid values: STANDARD, AES128, AES256No

Responses:

NameDescriptionSchema
200successful operation

Messages.exportMessagesServer2({channelId*, filter*, pageSize, writerOptions})

Summary: Exports messages into a specific directory path accessible by the server.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
filterThe MessageFilter object to use to query messages by.Yes
pageSizeThe maximum number of messages that will be queried at a time.No
writerOptionsThe MessageWriterOptions object containing various export options.No

Responses:

NameDescriptionSchema
200successful operation

Messages.importMessage({channelId*, body*})

Summary: Imports a Message object into a channel. The message will not actually be processed through the channel, only imported.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe Message object to import.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.importMessagesServer({channelId*, body*, includeSubfolders})

Summary: Imports messages into a channel from a path accessible by the server. The messages will not actually be processed through the channel, only imported.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe directory path on the server side to import messages from.Yes
includeSubfoldersIf true, sub-folders will also be scanned recursively for messages.No

Responses:

NameDescriptionSchema
200successful operation

Messages.removeMessages2({channelId*, body*})

Summary: Remove messages by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe MessageFilter object to use to query messages by.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.removeAllMessages2({channelId*, restartRunningChannels, clearStatistics})

Summary: Removes all messages for the specified channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
restartRunningChannelsIf true, currently running channels will be stopped and restarted as part of the remove process. Otherwise, currently running channels will not be included.No
clearStatisticsIf true, message statistics will also be cleared.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.reprocessMessages1({channelId*, minMessageId, maxMessageId, minOriginalId, maxOriginalId, minImportId, maxImportId, startDate, endDate, textSearch, textSearchRegex, status, includedMetaDataId, excludedMetaDataId, serverId, rawContentSearch, processedRawContentSearch, transformedContentSearch, encodedContentSearch, sentContentSearch, responseContentSearch, responseTransformedContentSearch, processedResponseContentSearch, connectorMapContentSearch, channelMapContentSearch, sourceMapContentSearch, responseMapContentSearch, processingErrorContentSearch, postprocessorErrorContentSearch, responseErrorContentSearch, metaDataSearch, metaDataCaseInsensitiveSearch, textSearchMetaDataColumn, minSendAttempts, maxSendAttempts, attachment, error, replace, filterDestinations, metaDataId})

Summary: Reprocesses messages through a channel by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
minMessageIdThe minimum message ID to query.No
maxMessageIdThe maximum message ID to query.No
minOriginalIdThe minimum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
maxOriginalIdThe maximum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
minImportIdThe minimum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
maxImportIdThe maximum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
startDateThe earliest original received date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest original received date to query by. Example: 2015-10-21T07:28:00.000-0700No
textSearchSearches all message content for this string. This process could take a long time depending on the amount of message content currently stored. Any message content that was encrypted by this channel will not be searchable.No
textSearchRegexIf true, text search input will be considered a regular expression pattern to be matched. Only supported by PostgreSQL, MySQL and Oracle databases.No
statusDetermines which message statuses to query by.No
includedMetaDataIdIf present, only connector metadata IDs in this list will be queried.No
excludedMetaDataIdIf present, connector metadata IDs in this list will not be queried.No
serverIdThe server ID associated with messages.No
rawContentSearchSearches the raw content of messages.No
processedRawContentSearchSearches the processed raw content of messages.No
transformedContentSearchSearches the transformed content of messages.No
encodedContentSearchSearches the encoded content of messages.No
sentContentSearchSearches the sent content of messages.No
responseContentSearchSearches the response content of messages.No
responseTransformedContentSearchSearches the response transformed content of messages.No
processedResponseContentSearchSearches the processed response content of messages.No
connectorMapContentSearchSearches the connector map content of messages.No
channelMapContentSearchSearches the channel map content of messages.No
sourceMapContentSearchSearches the source map content of messages.No
responseMapContentSearchSearches the response map content of messages.No
processingErrorContentSearchSearches the processing error content of messages.No
postprocessorErrorContentSearchSearches the postprocessor error content of messages.No
responseErrorContentSearchSearches the response error content of messages.No
metaDataSearchSearches a custom metadata column. Value should be in the form: COLUMN_NAME <operator> value, where operator is one of the following: =, !=, <, <=, >, >=, CONTAINS, DOES NOT CONTAIN, STARTS WITH, DOES NOT START WITH, ENDS WITH, DOES NOT END WITHNo
metaDataCaseInsensitiveSearchSearches a custom metadata column, ignoring case. Value should be in the form: COLUMN_NAME <operator> value.No
textSearchMetaDataColumnWhen using a text search, these custom metadata columns will also be searched.No
minSendAttemptsThe minimum number of send attempts for connector messages.No
maxSendAttemptsThe maximum number of send attempts for connector messages.No
attachmentIf true, only messages with attachments are included in the results.No
errorIf true, only messages with errors are included in the results.No
replaceIf true, the message will overwrite the current oneNo
filterDestinationsIf true, the metaDataId parameter will be used to determine which destinations to reprocess the message through.No
metaDataIdIndicates which destinations to send the message to.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.reprocessMessages2({channelId*, body*, replace, filterDestinations, metaDataId})

Summary: Reprocesses messages through a channel filtering with a MessageFilter.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe MessageFilter object to use to query messages by.Yes
replaceIf true, the message will overwrite the current oneNo
filterDestinationsIf true, the metaDataId parameter will be used to determine which destinations to reprocess the message through.No
metaDataIdIndicates which destinations to send the message to.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.getMessages2({channelId*, body*, includeContent, offset, limit})

Summary: Search for messages by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe MessageFilter object to use to query messages by.Yes
includeContentIf true, message content will be returned with the results.No
offsetUsed for pagination, determines where to start in the search results.No
limitUsed for pagination, determines the maximum number of results to return.No

Responses:

NameDescriptionSchema
200successful operation

Messages.getMessageCount1({channelId*, minMessageId, maxMessageId, minOriginalId, maxOriginalId, minImportId, maxImportId, startDate, endDate, textSearch, textSearchRegex, status, includedMetaDataId, excludedMetaDataId, serverId, rawContentSearch, processedRawContentSearch, transformedContentSearch, encodedContentSearch, sentContentSearch, responseContentSearch, responseTransformedContentSearch, processedResponseContentSearch, connectorMapContentSearch, channelMapContentSearch, sourceMapContentSearch, responseMapContentSearch, processingErrorContentSearch, postprocessorErrorContentSearch, responseErrorContentSearch, metaDataSearch, metaDataCaseInsensitiveSearch, textSearchMetaDataColumn, minSendAttempts, maxSendAttempts, attachment, error})

Summary: Count number for messages by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
minMessageIdThe minimum message ID to query.No
maxMessageIdThe maximum message ID to query.No
minOriginalIdThe minimum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
maxOriginalIdThe maximum original message ID to query. Messages that have been reprocessed will retain their original message ID.No
minImportIdThe minimum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
maxImportIdThe maximum import message ID to query. Messages that have been imported will retain their original message ID under this value.No
startDateThe earliest original received date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest original received date to query by. Example: 2015-10-21T07:28:00.000-0700No
textSearchSearches all message content for this string. This process could take a long time depending on the amount of message content currently stored. Any message content that was encrypted by this channel will not be searchable.No
textSearchRegexIf true, text search input will be considered a regular expression pattern to be matched. Only supported by PostgreSQL, MySQL and Oracle databases.No
statusDetermines which message statuses to query by.No
includedMetaDataIdIf present, only connector metadata IDs in this list will be queried.No
excludedMetaDataIdIf present, connector metadata IDs in this list will not be queried.No
serverIdThe server ID associated with messages.No
rawContentSearchSearches the raw content of messages.No
processedRawContentSearchSearches the processed raw content of messages.No
transformedContentSearchSearches the transformed content of messages.No
encodedContentSearchSearches the encoded content of messages.No
sentContentSearchSearches the sent content of messages.No
responseContentSearchSearches the response content of messages.No
responseTransformedContentSearchSearches the response transformed content of messages.No
processedResponseContentSearchSearches the processed response content of messages.No
connectorMapContentSearchSearches the connector map content of messages.No
channelMapContentSearchSearches the channel map content of messages.No
sourceMapContentSearchSearches the source map content of messages.No
responseMapContentSearchSearches the response map content of messages.No
processingErrorContentSearchSearches the processing error content of messages.No
postprocessorErrorContentSearchSearches the postprocessor error content of messages.No
responseErrorContentSearchSearches the response error content of messages.No
metaDataSearchSearches a custom metadata column. Value should be in the form: COLUMN_NAME <operator> value, where operator is one of the following: =, !=, <, <=, >, >=, CONTAINS, DOES NOT CONTAIN, STARTS WITH, DOES NOT START WITH, ENDS WITH, DOES NOT END WITHNo
metaDataCaseInsensitiveSearchSearches a custom metadata column, ignoring case. Value should be in the form: COLUMN_NAME <operator> value.No
textSearchMetaDataColumnWhen using a text search, these custom metadata columns will also be searched.No
minSendAttemptsThe minimum number of send attempts for connector messages.No
maxSendAttemptsThe maximum number of send attempts for connector messages.No
attachmentIf true, only messages with attachments are included in the results.No
errorIf true, only messages with errors are included in the results.No

Responses:

NameDescriptionSchema
200successful operation

Messages.getMessageCount2({channelId*, body*})

Summary: Count number for messages by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe MessageFilter object to use to query messages by.Yes

Responses:

NameDescriptionSchema
200successful operation

Messages.getMaxMessageId({channelId*})

Summary: Returns the maximum message ID for the given channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes

Responses:

NameDescriptionSchema
200successful operation

Messages.getMessageContent({channelId*, messageId*, metaDataId})

Summary: Retrieve a message by ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
metaDataIdThe metadata IDs of the connectors.No

Responses:

NameDescriptionSchema
200successful operation

Messages.removeMessage({channelId*, messageId*, metaDataId})

Summary: Remove a single message by ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
metaDataIdIf present, only the specific connector message will be removed. If the metadata ID is 0, the entire message will be removed.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.getDICOMMessage({channelId*, messageId*, body*})

Summary: Given a ConnectorMessage object, reattaches any DICOM attachment data and returns the raw Base64 encoded message data.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
bodyThe ConnectorMessage to retrieve DICOM data for.Yes

Responses:

NameDescriptionSchema
200successful operation

Messages.reprocessMessage({channelId*, messageId*, replace, filterDestinations, metaDataId})

Summary: Reprocesses and overwrites a single message.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
replaceIf true, the message will overwrite the current oneNo
filterDestinationsIf true, the metaDataId parameter will be used to determine which destinations to reprocess the message through.No
metaDataIdIndicates which destinations to send the message to.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.getAttachmentsByMessageId({channelId*, messageId*, includeContent})

Summary: Retrieve a list of attachments by message ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
includeContentIf false, only the attachment ID and type will be returned.No

Responses:

NameDescriptionSchema
200successful operation

Messages.getAttachment({channelId*, messageId*, attachmentId*})

Summary: Retrieve a message attachment by ID.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
attachmentIdThe ID of the attachment.Yes

Responses:

NameDescriptionSchema
200successful operation

Messages.exportAttachmentServer({channelId*, messageId*, attachmentId*, body*, binary})

Summary: Exports a message attachment into a specific file path accessible by the server.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
messageIdThe ID of the message.Yes
attachmentIdThe ID of the attachment.Yes
bodyThe file path to export the attachment to.Yes
binaryIndicates that the attachment is binary and should be Base64 decoded before writing to file.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Messages.processMessage2({channelId*, body*})

Summary: Processes a new message through a channel, using the RawMessage object.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
bodyThe RawMessage object to process.Yes

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplateLibraries({libraryId, includeCodeTemplates})

Summary: Retrieves multiple code template libraries by ID, or all libraries if not specified.

Description:

Parameters:

NameDescriptionRequired
libraryIdThe ID of the library(s) to retrieve.No
includeCodeTemplatesIf true, full code templates will be included inside each library.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.updateCodeTemplateLibraries({body*, override})

Summary: Replaces all code template libraries.

Description:

Parameters:

NameDescriptionRequired
bodyThe list of code template libraries to replace with.Yes
overrideIf true, the code template library will be updated even if a different revision exists on the server.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.updateLibrariesAndTemplates({libraries, removedLibraryIds, updatedCodeTemplates, removedCodeTemplateIds, override})

Summary: Updates all libraries and updates/removes selected code templates in one request.

Description:

Parameters:

NameDescriptionRequired
librariesThe set of code template libraries to replace with.No
removedLibraryIdsAll library IDs known to be removed.No
updatedCodeTemplatesThe set of code templates to update.No
removedCodeTemplateIdsAll code template IDs known to be removed.No
overrideIf true, the libraries and code templates will be updated even if different revisions exist on the server.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplateLibrariesPost({body, includeCodeTemplates})

Summary: Retrieves multiple code template libraries by ID, or all libraries if not specified. This is a POST request alternative to GET /codeTemplateLibraries that may be used when there are too many library IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe ID of the library(s) to retrieve.No
includeCodeTemplatesIf true, full code templates will be included inside each library.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplateLibrary({libraryId*, includeCodeTemplates})

Summary: Retrieves a single code template library.

Description:

Parameters:

NameDescriptionRequired
libraryIdThe ID of the library to retrieve.Yes
includeCodeTemplatesIf true, full code templates will be included inside each library.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplates({codeTemplateId})

Summary: Retrieves multiple code templates by ID, or all templates if not specified.

Description:

Parameters:

NameDescriptionRequired
codeTemplateIdThe ID of the code template(s) to retrieve.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplatesPost({body})

Summary: Retrieves multiple code templates by ID, or all templates if not specified. This is a POST request alternative to GET /codeTemplates that may be used when there are too many code template IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe ID of the code template(s) to retrieve.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplateSummary({body*})

Summary: Returns a list of code template summaries, indicating to a client which code templates have changed. If a code template was modified, the entire CodeTemplate object will be returned.

Description:

Parameters:

NameDescriptionRequired
bodyA map of revisions telling the server the state of the client-side code template cache.Yes

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.getCodeTemplate({codeTemplateId*})

Summary: Retrieves a single code template.

Description:

Parameters:

NameDescriptionRequired
codeTemplateIdThe ID of the code template to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.updateCodeTemplate({codeTemplateId*, body*, override})

Summary: Updates a single code template.

Description:

Parameters:

NameDescriptionRequired
codeTemplateIdThe ID of the code template.Yes
bodyThe CodeTemplate object to update with.Yes
overrideIf true, the code template will be updated even if a different revision exists on the server.No

Responses:

NameDescriptionSchema
200successful operation

CodeTemplates.removeCodeTemplate({codeTemplateId*})

Summary: Removes a single code template.

Description:

Parameters:

NameDescriptionRequired
codeTemplateIdThe ID of the code template.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ConnectorServices.testWrite1({channelId*, channelName*, body*})

Summary: Tests whether a file can be written to the specified directory.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe directory to test writing to.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.testRead({channelId*, channelName*, body*})

Summary: Tests whether a file can be read from the specified directory.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe File Reader properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.testWrite2({channelId*, channelName*, body*})

Summary: Tests whether a file can be written to the specified directory.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe File Writer properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.testConnection1({channelId*, channelName*, body*})

Summary: Tests whether a connection can be successfully established to the destination endpoint.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe HTTP Sender properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.getTables({channelId*, channelName*, driver*, url*, username, password, tableNamePattern, selectLimit, resourceId})

Summary: Executes a query to retrieve database table metadata.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
driverThe JDBC driver class to use.Yes
urlThe JDBC connection URL to use.Yes
usernameThe username to authenticate with.No
passwordThe password to authenticate with.No
tableNamePatternIf specified, filters by table name. Wildcards (* or %) are allowed.No
selectLimitA simple query to use to retrieve database metadata information.No
resourceIdLibrary resource IDs to use, if a custom driver is necessary.No

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.getTemplates()

Summary: Retrieves JMS connector settings templates.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.getTemplate({templateName*})

Summary: Retrieves a single JMS connector settings template.

Description:

Parameters:

NameDescriptionRequired
templateNameThe name of the template.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.saveTemplate({templateName*, body*})

Summary: Creates or updates a JMS connector settings template.

Description:

Parameters:

NameDescriptionRequired
templateNameThe name of the template.Yes
bodyThe JMS connector properties to save.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.deleteTemplate({templateName*})

Summary: Creates or updates a JMS connector settings template.

Description:

Parameters:

NameDescriptionRequired
templateNameThe name of the template.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.sendTestEmail1({channelId*, channelName*, body*})

Summary: Sends a test e-mail, replacing any connector properties first.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe SMTP Sender properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.testConnection2({channelId*, channelName*, body*})

Summary: Tests whether a connection can be successfully established to the destination endpoint.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe TCP Sender properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.cacheWsdlFromUrl({channelId*, channelName*, body*})

Summary: Downloads the WSDL at the specified URL and caches the web service definition tree.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe Web Service Sender properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.generateEnvelope({channelId*, channelName*, wsdlUrl*, username, password, service, port, operation, buildOptional})

Summary: Generate SOAP envelope for a given WSDL operation.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
wsdlUrlThe WSDL URL to check.Yes
usernameUsername used to authenticate to the web server.No
passwordPassword used to authenticate to the web server.No
serviceThe service name for the WSDL operation.No
portThe port / endpoint name for the service.No
operationThe name of the operation to generate an envelope for.No
buildOptionalWhether to include optional fields in the envelope.No

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.getDefinition({channelId*, channelName*, wsdlUrl*, username, password})

Summary: Retrieves the definition service map corresponding to the specified WSDL.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
wsdlUrlThe WSDL URL to check.Yes
usernameUsername used to authenticate to the web server.No
passwordPassword used to authenticate to the web server.No

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.getSoapAction({channelId*, channelName*, wsdlUrl*, username, password, service, port, operation})

Summary: Retrieves the default SOAP Action for a given WSDL operation.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
wsdlUrlThe WSDL URL to check.Yes
usernameUsername used to authenticate to the web server.No
passwordPassword used to authenticate to the web server.No
serviceThe service name for the WSDL operation.No
portThe port / endpoint name for the service.No
operationThe name of the operation to generate an envelope for.No

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.isWsdlCached({channelId*, channelName*, wsdlUrl*, username, password})

Summary: Returns true if the definition tree for the WSDL is cached by the server.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
wsdlUrlThe WSDL URL to check.Yes
usernameUsername used to authenticate to the web server.No
passwordPassword used to authenticate to the web server.No

Responses:

NameDescriptionSchema
200successful operation

ConnectorServices.testConnection3({channelId*, channelName*, body*})

Summary: Tests whether a connection can be successfully established to the destination endpoint.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel.Yes
channelNameThe name of the channel.Yes
bodyThe Web Service Sender properties to use.Yes

Responses:

NameDescriptionSchema
200successful operation

DatabaseTasks.getDatabaseTasks()

Summary: Retrieves all current database tasks.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

DatabaseTasks.getDatabaseTask({databaseTaskId*})

Summary: Retrieves a single database task.

Description:

Parameters:

NameDescriptionRequired
databaseTaskIdThe ID of the database task.Yes

Responses:

NameDescriptionSchema
200successful operation

DatabaseTasks.cancelDatabaseTask({databaseTaskId*})

Summary: Cancels execution of the specified database task.

Description:

Parameters:

NameDescriptionRequired
databaseTaskIdThe ID of the database task.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

DatabaseTasks.runDatabaseTask({databaseTaskId*})

Summary: Executes the specified database task.

Description:

Parameters:

NameDescriptionRequired
databaseTaskIdThe ID of the database task.Yes

Responses:

NameDescriptionSchema
200successful operation

Events.getEvents1({maxEventId, minEventId, level, startDate, endDate, name, outcome, userId, ipAddress, serverId, offset, limit})

Summary: Search for events by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
maxEventIdThe maximum event ID to query.No
minEventIdThe minimum event ID to query.No
levelThe type of events to query.No
startDateThe earliest event date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest event date to query by. Example: 2015-10-21T07:28:00.000-0700No
nameSearches the event name for this string.No
outcomeSearches on whether the event outcome was successful or not.No
userIdThe user ID to query events by.No
ipAddressThe IP address that originated the event.No
serverIdThe ID of the server that the event was created from.No
offsetUsed for pagination, determines where to start in the search results.No
limitUsed for pagination, determines the maximum number of results to return.No

Responses:

NameDescriptionSchema
200successful operation

Events.removeAllEvents({export})

Summary: Remove all events.

Description:

Parameters:

NameDescriptionRequired
exportIf true, messages will be exported into the application data directory on the server before being removed.No

Responses:

NameDescriptionSchema
200successful operation

Events.exportAllEvents()

Summary: Exports all events to the application data directory on the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Events.getEvents2({body*, offset, limit})

Summary: Search for events by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
bodyThe EventFilter object to use to query events by.Yes
offsetUsed for pagination, determines where to start in the search results.No
limitUsed for pagination, determines the maximum number of results to return.No

Responses:

NameDescriptionSchema
200successful operation

Events.getEventCount1({maxEventId, minEventId, level, startDate, endDate, name, outcome, userId, ipAddress, serverId})

Summary: Count number for events by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
maxEventIdThe maximum event ID to query.No
minEventIdThe minimum event ID to query.No
levelThe type of events to query.No
startDateThe earliest event date to query by. Example: 1985-10-26T09:00:00.000-0700No
endDateThe latest event date to query by. Example: 2015-10-21T07:28:00.000-0700No
nameSearches the event name for this string.No
outcomeSearches on whether the event outcome was successful or not.No
userIdThe user ID to query events by.No
ipAddressThe IP address that originated the event.No
serverIdThe ID of the server that the event was created from.No

Responses:

NameDescriptionSchema
200successful operation

Events.getEventCount2({body*})

Summary: Count number for events by specific filter criteria.

Description:

Parameters:

NameDescriptionRequired
bodyThe EventFilter object to use to query events by.Yes

Responses:

NameDescriptionSchema
200successful operation

Events.getMaxEventId()

Summary: Returns the maximum event ID currently in the database.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Events.getEvent({eventId*})

Summary: Retrieves an event by ID.

Description:

Parameters:

NameDescriptionRequired
eventIdThe ID of the event.Yes

Responses:

NameDescriptionSchema
200successful operation

Extensions.installExtension({file})

Summary: Installs an extension.

Description:

Parameters:

NameDescriptionRequired
fileThe extension file to upload.No

Responses:

NameDescriptionSchema
defaultsuccessful operation

Extensions.uninstallExtension({body*})

Summary: Uninstalls an extension.

Description:

Parameters:

NameDescriptionRequired
bodyThe path attribute of the extension to uninstall.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Extensions.getConnectorMetaData()

Summary: Returns all active connector metadata.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Extensions.getPluginMetaData()

Summary: Returns all active plugin metadata.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Extensions.getExtensionMetaData({extensionName*})

Summary: Returns extension metadata by name.

Description:

Parameters:

NameDescriptionRequired
extensionNameThe name of the extension to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

Extensions.setExtensionEnabled({extensionName*, enabled*})

Summary: Enables or disables an extension.

Description:

Parameters:

NameDescriptionRequired
extensionNameThe name of the extension to retrieve.Yes
enabledThe new enabled status to set.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Extensions.isExtensionEnabled({extensionName*})

Summary: Returns the enabled status of an extension.

Description:

Parameters:

NameDescriptionRequired
extensionNameThe name of the extension to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

Extensions.getPluginProperties({extensionName*})

Summary: Returns properties for a specified extension.

Description:

Parameters:

NameDescriptionRequired
extensionNameThe name of the extension to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

Extensions.setPluginProperties({extensionName*, body*})

Summary: Sets properties for a specified extension.

Description:

Parameters:

NameDescriptionRequired
extensionNameThe name of the extension to retrieve.Yes
bodyThe new properties to set.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ExtensionServices.getChannelStates()

Summary: Retrieves all dashboard channel states.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getChannelState({channelId*})

Summary: Retrieves a single dashboard channel state.

Description:

Parameters:

NameDescriptionRequired
channelIdThe channel ID to return a dashboard status for.Yes

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getAllChannelLogs({serverId, fetchSize*, lastLogId})

Summary: Retrieves connection logs for all channels.

Description:

Parameters:

NameDescriptionRequired
serverIdThe server ID to retrieve logs for. Logs for all servers are retrieved is this parameter is not specified.No
fetchSizeSpecifies the maximum number of log items to return.Yes
lastLogIdThe last log ID the client retrieved. Only log items with a greater ID will be returned.No

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getChannelLog({serverId, channelId*, fetchSize*, lastLogId})

Summary: Retrieves connection logs for a specific channel.

Description:

Parameters:

NameDescriptionRequired
serverIdThe server ID to retrieve logs for. Logs for all servers are retrieved is this parameter is not specified.No
channelIdThe channel ID to retrieve logs for.Yes
fetchSizeSpecifies the maximum number of log items to return.Yes
lastLogIdThe last log ID the client retrieved. Only log items with a greater ID will be returned.No

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getConnectorStateMap({serverId})

Summary: Retrieves all dashboard connector states.

Description:

Parameters:

NameDescriptionRequired
serverIdThe server ID to retrieve connector statuses for. Connector Statuses across all servers are retrieved is this parameter is not specified.No

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.start()

Summary: Starts the data pruner on-demand.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.stop()

Summary: Stops the data pruner if currently running.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
defaultsuccessful operation

ExtensionServices.getStatusMap()

Summary: Retrieves the current data pruner status.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getLibraries({resourceId*})

Summary: Retrieves all library URLs for the given directory resource.

Description:

Parameters:

NameDescriptionRequired
resourceIdThe ID of the directory resource.Yes

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getAllMapsPost({body, includeGlobalMap})

Summary: Retrieves global and/or global channel map information. This is a POST request alternative to GET /maps/all that may be used when there are too many channel IDs to include in the query parameters.

Description:

Parameters:

NameDescriptionRequired
bodyThe ID of the channel to retrieve global channel map information for.No
includeGlobalMapIf true, the global map will be returned.No

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getAllMaps({channelId, includeGlobalMap})

Summary: Retrieves global and/or global channel map information.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to retrieve global channel map information for.No
includeGlobalMapIf true, the global map will be returned.No

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getGlobalMap()

Summary: Retrieves global map information.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getGlobalChannelMap({channelId*})

Summary: Retrieves global channel map information for a single channel.

Description:

Parameters:

NameDescriptionRequired
channelIdThe ID of the channel to retrieve global channel map information for.Yes

Responses:

NameDescriptionSchema
200successful operation

ExtensionServices.getServerLogs({fetchSize*, lastLogId})

Summary: Retrieves server log entries.

Description:

Parameters:

NameDescriptionRequired
fetchSizeSpecifies the maximum number of log items to return.Yes
lastLogIdThe last log ID the client retrieved. Only log items with a greater ID will be returned.No

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getGuid()

Summary: Returns a globally unique id.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.sendTestEmail2({body*})

Summary: Sends a test e-mail.

Description:

Parameters:

NameDescriptionRequired
bodyContains all properties needed to send the e-mail. Properties include: port, encryption, host, timeout, authentication, username, password, toAddress, fromAddressYes

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getAbout()

Summary: Returns a map of common information about the Mirth Connect server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getBuildDate()

Summary: Returns the build date of the Mirth Connect server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getChannelDependencies()

Summary: Returns all channel dependencies for the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setChannelDependencies({body*})

Summary: Updates all channel dependencies for the server.

Description:

Parameters:

NameDescriptionRequired
bodyThe channel dependencies to set.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getChannelMetadata()

Summary: Returns all channel metadata for the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setChannelMetadata({body*})

Summary: Updates all channel metadata for the server.

Description:

Parameters:

NameDescriptionRequired
bodyThe map of channel metadata to set.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getChannelTags()

Summary: Returns a set containing all channel tags for the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setChannelTags({body*})

Summary: Updates all channel tags.

Description:

Parameters:

NameDescriptionRequired
bodyThe channel tags to set.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getAvailableCharsetEncodings()

Summary: Returns a List of all of the charset encodings supported by the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getServerConfiguration({initialState, pollingOnly, disableAlerts})

Summary: Returns a ServerConfiguration object which contains all of the channels, alerts, configuration map, and properties stored on the Mirth Connect server.

Description:

Parameters:

NameDescriptionRequired
initialStateThe initial state to set all channels in the configuration to.No
pollingOnlyIf true, and the initialState parameter is set, only channels with polling source connectors will have their initial states overwritten in the returned server configuration.No
disableAlertsIf true, all alerts returned in the server configuration will be disabled.No

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setServerConfiguration({body*, deploy, overwriteConfigMap})

Summary: Updates all of the channels, alerts and properties stored on the Mirth Connect server.

Description:

Parameters:

NameDescriptionRequired
bodyThe ServerConfiguration object containing all channels, users, alerts, and properties to update.Yes
deployIf true, all enabled channels will be deployed after the configuration is restored.No
overwriteConfigMapIf true, overwrite the Configuration MapNo

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getConfigurationMap()

Summary: Returns all entries in the configuration map.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setConfigurationMap({body*})

Summary: Updates all entries in the configuration map.

Description:

Parameters:

NameDescriptionRequired
bodyThe new configuration map to update with.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getDatabaseDrivers()

Summary: Returns the database driver list.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getEncryptionSettings()

Summary: Returns an EncryptionSettings object with all encryption settings.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getGlobalScripts()

Summary: Returns a map containing all of the global scripts.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setGlobalScripts({body*})

Summary: Updates all of the global scripts.

Description:

Parameters:

NameDescriptionRequired
bodyThe map of global scripts to update with. Script keys: Deploy, Undeploy, Preprocessor, PostprocessorYes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getServerId()

Summary: Returns the server id.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getJVMName()

Summary: Returns the name of the JVM running Mirth Connect.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getLicenseInfo()

Summary: Returns a LicenseInfo object with the expiration date and other information.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getPasswordRequirements()

Summary: Returns all password requirements for the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getProtocolsAndCipherSuites()

Summary: Returns a map containing all supported and enabled TLS protocols and cipher suites.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getResources()

Summary: Returns all resources for the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setResources({body*})

Summary: Updates all resources for the server.

Description:

Parameters:

NameDescriptionRequired
bodyThe new list of resource properties to update with.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.reloadResource({resourceId*})

Summary: Reloads a resource and all libraries associated with it.

Description:

Parameters:

NameDescriptionRequired
resourceIdThe unique ID of the resource to reload.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getRhinoLanguageVersion()

Summary: Returns the language version that the Rhino engine should use.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getServerSettings()

Summary: Returns a ServerSettings object with all server settings.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setServerSettings({body*})

Summary: Updates the server configuration settings.

Description:

Parameters:

NameDescriptionRequired
bodyThe ServerSettings object containing all of the settings to update.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getStatus()

Summary: Returns the status of the Mirth Connect server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getServerTime()

Summary: Returns the time of the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getServerTimezone()

Summary: Returns the time zone of the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.getUpdateSettings()

Summary: Returns an UpdateSettings object with all update settings.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

ServerConfiguration.setUpdateSettings({body*})

Summary: Updates the update settings.

Description:

Parameters:

NameDescriptionRequired
bodyThe UpdateSettings object containing all of the settings to update.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

ServerConfiguration.getVersion()

Summary: Returns the version of the Mirth Connect server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

SystemInformationAndStatistics.getInfo()

Summary: Returns information about the underlying system.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

SystemInformationAndStatistics.getStats()

Summary: Returns statistics for the underlying system.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

UsageData.getUsageData({body*})

Summary: Generates usage document using data from both the client and server.

Description:

Parameters:

NameDescriptionRequired
bodyThe map of client usage data to use.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.getAllUsers()

Summary: Returns a List of all users.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Users.createUser({body*})

Summary: Creates a new user.

Description:

Parameters:

NameDescriptionRequired
bodyThe User object to create.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Users.checkUserPassword({body*})

Summary: Checks the password against the configured password policies.

Description:

Parameters:

NameDescriptionRequired
bodyThe plaintext password to check.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.login({username*, password*})

Summary: Logs in to the Mirth Connect server using the specified name and password.

Description:

Parameters:

NameDescriptionRequired
usernameThe username to login with.Yes
passwordThe password to login with.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.logout()

Summary: Logs out of the server.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
defaultsuccessful operation

Users.getCurrentUser()

Summary: Returns the current logged in user.

Description:

Parameters:

NameDescriptionRequired

Responses:

NameDescriptionSchema
200successful operation

Users.getUser({userIdOrName*})

Summary: Returns a specific user by ID or username.

Description:

Parameters:

NameDescriptionRequired
userIdOrNameThe unique ID or username of the user to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.updateUser({userId*, body*})

Summary: Updates a specified user.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user to update.Yes
bodyThe User object to update.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Users.removeUser({userId*})

Summary: Removes a specific user.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user to remove.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Users.isUserLoggedIn({userId*})

Summary: Returns a true if the specified user is logged in to the server.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.updateUserPassword({userId*, body*})

Summary: Updates a user's password.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user to update the password for.Yes
bodyThe plaintext password to update with.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.getUserPreferences({userId*, name})

Summary: Returns a Map of user preferences, optionally filtered by a set of property names.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user.Yes
nameAn optional set of property names to filter by.No

Responses:

NameDescriptionSchema
200successful operation

Users.setUserPreferences({userId*, body*})

Summary: Updates multiple user preferences.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user.Yes
bodyThe properties to update for the user.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

Users.getUserPreference({userId*, name*})

Summary: Returns a specific user preference.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user.Yes
nameThe name of the user property to retrieve.Yes

Responses:

NameDescriptionSchema
200successful operation

Users.setUserPreference({userId*, name*, body*})

Summary: Updates a user preference.

Description:

Parameters:

NameDescriptionRequired
userIdThe unique ID of the user.Yes
nameThe name of the user property to update.Yes
bodyThe value to update the property with.Yes

Responses:

NameDescriptionSchema
defaultsuccessful operation

About

A simple Node.js Mirth API client.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages