GET http://hostname:port/apiv2/servers/integrationServerName/applications/applicationName/messageflows
For example, to display the message flows that are deployed in application
HTTPInputApplication
to integration server ACESERV1, which is managed by an
integration node, use the following curl command:
curl -X GET http://hostname:port/apiv2/servers/ACESERV1/applications/HTTPInputApplication/messageflows
If the command is successful and there are message flows deployed to the integration server, an
HTTP status code 200 and a response similar to the following are
returned:
{
"hasChildren": true,
"name": "messageflows",
"type": "messageFlows",
"uri": "/apiv2/servers/ACESERV1/applications/HTTPInputApplication/messageflows",
"properties": {},
"descriptiveProperties": {},
"active": {},
"actions": {
"available": {
"start": "/apiv2/servers/ACESERV1/applications/HTTPInputApplication/messageflows/start",
"stop": "/apiv2/servers/ACESERV1/applications/HTTPInputApplication/messageflows/stop"
}
},
"children": [
{
"hasChildren": true,
"name": "RequestService",
"type": "messageFlow",
"uri": "/apiv2/servers/ACESERV1/applications/HTTPInputApplication/messageflows/RequestService"
},
{
"hasChildren": true,
"name": "ResponseService",
"type": "messageFlow",
"uri": "/apiv2/servers/ACESERV1/applications/HTTPInputApplication/messageflows/ResponseService"
}
],
"links": []
}
Additionally, you can use the depth query parameter in the API call to obtain more information
about the message flows. For example, use the following curl
command:
curl -X GET http://hostname:port/apiv2/servers/integrationServerName/applications/applicationName/messageflows?depth=2