Description

Query an ABL application to get a list of all the requests currently in process.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/requests[?requestId=VALUE]

Media type

application/vnd.progress+json

Response codes

200 Success  
500 Unexpected Server Error

Command-line examples with and without request ID

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

curl -X GET -v http://localhost:16680/oemanager/applications/oepas1/requests?requestId=ROOT:s:00000002 -u username:password

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/requests)
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

{
"operation": "GET ACTIVE REQUESTS ON SERVER",
"outcome": "SUCCESS",
"result": {
    "Request": [
        {
        "requestID": "ROOT:s:00000002",
            "tomcat": {
                "methodType": "POST",
                "startTime": "2019-07-15T02:58:21.816-0400",
                "url": "http://localhost:16680/soap"
            },
            "sessionManager": {
                "sessionId": "C0SS-8CkRbOhSv-QvyaYUA",
                "requestState": "RUNNING",
                "userId": "anonymousUser",
                "requestStartTimeStamp": "2019-07-15T02:58:21.997-0400",
                "requestElapsedTime": 197563
            },
            "agent": {
                "sessionId": “8”,
                "requestProcName": "server.p",
                "connectionId": "35",
                "startTime": "2019-07-10T07:43:30.517",
                "endTime": "",
                "requestNum": 1
            }
        },
    },
"errmsg": "",
"versionStr": "v12.1.0",
"versionNo": 2
}
Note: Identify requestID from the body of the response received when querying information about currently active requests.
Note: For more information about request states, see About session and request states in Manage Progress Application Server (PAS) for OpenEdge.