Description

Get request information for an agent of an ABL application.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/agents/agentPID/requests
Note: Agent PID (for example, 1144) or agent ID (for example, W9UI_6dJQ-qSsk-o25mWAw) can be used to identify the multi-session agent. Both values can be obtained using the List agents API.

Media type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line example

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

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/agents/39028/requests')
      :UsingCredentials(new OpenEdge.Net.HTTP.Credentials('', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

{
   "operation":"GET AGENT REQUESTS",
   "outcome":"SUCCESS",
   "result":{
      "AgentRequest":[
         {
            "RequestProcName":"Progress.Web.InternalWebHandler:HandleRequest",
            "SessionId":7,
            "ConnectionId":1564,
            "StartTime":"2019-12-04T11:54:55.859",
            "EndTime":"2019-12-04T11:54:56.236",
            "RequestNum":0,
            "BrokerSessionId":"0DXjcGm2SxC208AbN1NF9g",
            "ClientId":"ROOT:w:00000002"
         },
         {
            "RequestProcName":"OpenEdge.Rest.Admin.AppServerStatus:ServerStatus",
            "SessionId":7,
            "ConnectionId":1564,
            "StartTime":"2019-12-04T11:55:35.079",
            "EndTime":"2019-12-04T11:55:35.079",
            "RequestNum":3,
            "BrokerSessionId":"yetFYGUhTl2s8ioJXq5J2A",
            "ClientId":"ROOT:r:00000006"
         },
         {
            "RequestProcName":"Progress.Web.InternalWebHandler:HandleRequest",
            "SessionId":7,
            "ConnectionId":1564,
            "StartTime":"2019-12-04T11:55:40.443",
            "EndTime":"2019-12-04T11:55:40.603",
            "RequestNum":4,
            "BrokerSessionId":"0DXjcGm2SxC208AbN1NF9g",
            "ClientId":"ROOT:w:00000007"
         },
         {
            "RequestProcName":"ServerGetCustNameSample.p",
            "SessionId":7,
            "ConnectionId":1564,
            "StartTime":"2019-12-04T11:58:45.154",
            "EndTime":"2019-12-04T11:58:45.154",
            "RequestNum":5,
            "BrokerSessionId":"B93D78F6F33B774D0BD1364965E7CFD8CB281E308DDA.oepas1",
            "ClientId":"ROOT:a:00000010"
         }
      ]
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}