web stats
REST API, problem with _export call - Mirth Community

Go Back   Mirth Community > Mirth Connect > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2018, 11:33 PM
mkopeyka mkopeyka is offline
What's HL7?
 
Join Date: Jun 2018
Posts: 2
mkopeyka is on a distinguished road
Question REST API, problem with _export call

Hello,

I'm trying to call /channels/{channelId}/messages/_export with these parameters
Code:
filter=<messageFilter></messageFilter>
writerOptions=<messageWriterOptions><contentType>RAW</contentType><rootFolder>/tmp</rootFolder><filePattern>message_${message.messageId}.txt</filePattern></messageWriterOptions>
But mirth returns "415 Unsupported Media Type". The version of Mirth connect is 3.5.1

I would like to export raw messages like it works via UI "Export results"
Reply With Quote
  #2  
Old 11-22-2018, 07:59 PM
Rajkapor Rajkapor is offline
What's HL7?
 
Join Date: Nov 2018
Posts: 1
Rajkapor is on a distinguished road
Default

I am facing the same issue. could someone help on this...
Reply With Quote
Reply

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 08:05 AM.


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