The REST URL for this would be,
http://host:8085/actions/DEMO/QBROWSE/LMX.REPLY.Q (Browse Only)
or
http://host:8085/actions/DEMO/QGET/LMX.REPLY.Q (Destructive GET)
Example Output,
{
"messages": [
{
"messageBrokerName": "DEMO",
"objectName": "LMX.REPLY.Q",
"objectType": "MSG_DATA",
"entryTime": "14/05/2019 8:23:38 PM",
"fields": {
"msgString": "Test 1",
"correlId": "000000000000000000000000000000000000000000000000",
"msgLength": "6",
"messageId": "414D512044454D4F20202020202020207A1BF45AD2D15C20",
"expiry": "-1",
"putDateTime": "Mon, 14 May 2019 20:14:43 PM"
}
},
{
"messageBrokerName": "DEMO",
"objectName": "LMX.REPLY.Q",
"objectType": "MSG_DATA",
"entryTime": "14/05/2019 8:23:38 PM",
"fields": {
"msgString": "Test 2",
"correlId": "000000000000000000000000000000000000000000000000",
"msgLength": "6",
"messageId": "414D512044454D4F20202020202020207A1BF45AD5D15C20",
"expiry": "-1",
"putDateTime": "Mon, 14 May 2019 20:14:46 PM"
}
},
{
"messageBrokerName": "DEMO",
"objectName": "LMX.REPLY.Q",
"objectType": "MSG_DATA",
"entryTime": "14/05/2019 8:23:38 PM",
"fields": {
"msgString": "Test 3",
"correlId": "000000000000000000000000000000000000000000000000",
"msgLength": "6",
"messageId": "414D512044454D4F20202020202020207A1BF45AD8D15C20",
"expiry": "-1",
"putDateTime": "Mon, 14 May 2019 20:14:49 PM"
}
}
]
}