web stats
Base64 encoded string in JSON to FileWriter - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2017, 11:05 AM
theoldhat theoldhat is offline
What's HL7?
 
Join Date: Nov 2017
Posts: 3
theoldhat is on a distinguished road
Default Base64 encoded string in JSON to FileWriter

Hi All,

Brand new to MIRTH. Running version 3.5.1 of Mirth Connect. I am trying to set up a channel that will take in a JSON request, extract a base64 encoded document from the JSON and use that to write the PDF to a file. I have figured out how to get the JSON into MIRTH, but don't know where to go after that. Could someone provide some assistance or point me towards a tutorial? My configs are attached.

Sample input json is also attached.

Mirth Data Types.png

Mirth Destination.png

Mirth Source.png

sample input.txt

Thanks!
Reply With Quote
  #2  
Old 11-07-2017, 11:34 PM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

There are threads already on that subject in this forum. Did you have a look?
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 11-08-2017, 05:59 AM
theoldhat theoldhat is offline
What's HL7?
 
Join Date: Nov 2017
Posts: 3
theoldhat is on a distinguished road
Default

After some searching I did find other threads to help me out.

I also realize I posted the same thread twice on this subject. Sorry about that.
Reply With Quote
Reply

Tags
filewriter, httplistener, json

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 12:45 PM.


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