The second part of the URI must be chinit to call the
ChannelInitiatorController. This controller is only useable for queuemanagers
running on z/OS.
inquire
Get info about the channel initiator. This api executes the MQCMD_INQUIRE_CHANNEL_INIT
pcf command.
On success, the returned JSON object will have a data array, on failure an
error object.
URL Parameters
/api/chinit/inquire/<QueueManager>
QueueManager
The name of the queuemanager. This parameter is required.
Query Parameters
CommandScope
Specifies how the command is executed when the queuemanager is a member of a
queue-sharing group. This parameter applies to z/OS only.
Example
/api/chinit/inquire/PIGEON
JSON Object
When using an application/json POST request you can post a JSON object with
names like the query parameters.
All URL parameters and query parameters are ignored except for the URL
parameter for the name of the queuemanager.
There are some differences between query parameters and a JSON object:
JSON property names are case-sensitive
This sample is a Perl script that inquires the channel initiator: