web stats
Mirth Client API - Post Message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2017, 09:16 PM
emrmrith emrmrith is offline
What's HL7?
 
Join Date: Jul 2017
Posts: 1
emrmrith is on a distinguished road
Default Mirth Client API - Post Message

I'm currently testing the Mirth Client API to post messages to a give channel. I'm running Mirth 3.4.2. Based upon the api documentation, I can post a message to a channel with RawMessage object. The swagger documentation renders a JSON object, which is not accepted by the service. When I try to convert that as XML. It's still not happy. Is there a sample RawMessage xml that I can use? Below is what I used.

<RawMessage>
<Overwrite>false</Overwrite>
<Imported>false</Imported>
<OriginalMessageId>0</OriginalMessageId>
<RawData>hl7data</RawData>
<DestinationMetaDataIds>0</DestinationMetaDataIds>
<SourceMap />
<Binary>false</Binary>
</RawMessage>
Reply With Quote
Reply

Tags
mirth 3.4.2 client 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 01:07 AM.


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