How do I return a JSON response package to a REST API WebReport call

Options

I have an authenticated REST call successfully hitting a WebReport in a CS 16.2.11 install. The results of the WR with a LR source are currently returning as html in the response data. My destination on the WR is "browser" with a mime-type of "text/html". To simply display the page I would have something like this in the WR row data…

Name: [LL_REPTAG_1 /]
LinkID1: [LL_REPTAG_2 /]
LinkID2: [LL_REPTAG_3 /]

Assuming I want the above results to actually return as JSON response data, how would I format the actual WR (including any subtags) ? Also, what would the destination and mime-type settings need to be?

Best Answer

Answers