web stats
Client API and GET message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 03-22-2017, 01:02 PM
stephenprouse stephenprouse is offline
OBX.1 Kenobi
Join Date: Dec 2013
Location: Baltimore Maryland
Posts: 41
stephenprouse is on a distinguished road
Default Client API and GET message

Using the client API I'm able to do perform a textSearch on a string but not able to perform a metaDataSearch. Is this a bug or do I not have the metaDataSearch field entered correctly as in my attached image?

textSearch (working)
Response Body

metaDataSearch (not working)
Attached Images
File Type: jpg metaDataSearch.JPG (28.7 KB, 16 views)
Reply With Quote
Old 03-22-2017, 03:58 PM
narupley's Avatar
narupley narupley is offline
Mirth Employee
Join Date: Oct 2010
Posts: 7,125
narupley is on a distinguished road

That is indeed a bug, thanks for finding it! I've created an issue for it: MIRTH-4129

To work around it in the meantime, you could use the POST /channels/{channelId}/messages/_search endpoint instead. In that case you would have to use an XML serialized MessageFilter object, something like this:

            <value class="string">SH</value>
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote

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

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