web stats
Mirth Connect Local ID - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2018, 09:33 AM
tendaz tendaz is offline
What's HL7?
 
Join Date: Sep 2018
Posts: 2
tendaz is on a distinguished road
Default Mirth Connect Local ID

Hello,

How do I get the local ID of a specific channel via REST Api? Is it possible?

If not, in which table of the database can I check this mapping?

Thank you in advance.
Reply With Quote
  #2  
Old 11-03-2018, 12:47 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 967
agermano is on a distinguished road
Default

From the REST API you can call POST /channels/_getSummary with a body of <map/> and parameter ignoreNewChannels=false. This will download every channel, and you'll have to search through the xml to find the one you want.

From the database you can query:
Code:
SELECT CHANNEL_ID, LOCAL_CHANNEL_ID
FROM D_CHANNELS
The easiest way is probably using the internal mirth donkey classes, but I get the impression you are trying to get the id from an external system.
Reply With Quote
Reply

Tags
rest api

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 11:50 AM.


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