REST API as Destination

0 votes
asked Jul 14, 2020 by david-g-2503 (170 points)
I am trying to use a REST API that expects JSON in the body of the message as a Destination.

I created mapping to convert an HL7 source into JSON, but it is not being sent in the body of the request to the destination. How do I get the output from the mapping to be sent in the body of the request to the Destination web service?

1 Answer

0 votes

For Content-based Webservice connections you need to put something in the content. Either a hardcoded value or a nodetag that evaluates to the message or source.

Note for json the nodetag needs /*{ before and }*/ after.

answered Jul 15, 2020 by brandon-w-8204 (30,630 points)