Description

Query an ABL application to get a information on client connections.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/clients[?timeoutms=n]
timeoutms
The period of time, specified in milliseconds (ranging from 1 to n), to report on client connections, including hung clients.

Media type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line examples

curl -X GET -u username:password -v http://localhost:16680/oemanager/applications/oepas1/clients

curl -X GET -u username:password -v http://localhost:16680/oemanager/applications/oepas1/clients?timeoutms=100000

ABL HTTP client example

define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Get('http://localhost:16680/oemanager/applications/oepas1/clients')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

{
"operation":"GET CLIENT CONNECTIONS",
"result":
    {
    "ClientConnection":
        [
        {
        "elapsedTimeMs":427133,
        "requestProcedure":"ngasPing.p",
        "requestUrl":
        "http:\/\/localhost.com:16680\/apsv",
        "clientName":"172.21.75.148",
        "httpSessionId":"732277EE12485DDEC3A937DD30D7EF3267B3FE669C76.pas1",
        "executerThreadId":"catalina-exec-8",
        "reqStartTimeStr":"2014-09-17T08:41:48.138-0400",
        "requestID":"ngasPing.p",
        "adapterType":"HTTP",
        "sessionID":"Iphz68lUQKexuHibyy6S+A"
        }
        ]
    },
    "outcome":"SUCCESS",
    "errmsg":"",
    "versionStr":"PASOE 11.5.0",
    "versionNo":1
}