web stats
Client API + /_stopConnectors - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 07-24-2018, 06:56 AM
15ema4 15ema4 is offline
What's HL7?
Join Date: Jul 2018
Posts: 1
15ema4 is on a distinguished road
Post Client API + /_stopConnectors

When using the client API, a required parameter for /_stopConnectors is "a map of channel and metadata IDs to stop connectors for." What should that map look like? From https://github.com/freemed/mirth/blo...Interface.java it's looking for a Map<String, List<Integer>>, and so I tried something like:

"channelID" = [metaDataId,metaDataId,..]

Using this in the client API gives a 500 error so I'm guessing I'm doing it wrong, any insight would be much appreciated.

Update: I am using Mirth Connect 3.5.2. I found a workaround using /channels/{channelId}/connector/{metaDataId}/_stop, so I'll have that if this doesn't pan out.

Last edited by 15ema4; 07-25-2018 at 12:14 PM. Reason: Had a breakthrough
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 06:42 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation