Description

Query to get the current in-memory max available ABL Sessions (dynmaxablsessions) limit.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/agents/agent_ID/dynamicSessionLimit
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/dynamicSessionLimit

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

Request body example

NA

Response body example

{
   "operation":"GetDynamicABLSessionInfo",
   "outcome":"SUCCESS",
   "result":{
      "AgentSessionInfo":[
         {
            "ABLOutput":{
               "numABLSessions":2,
               "numAvailableSessions":2,
               "dynmaxablsessions":200
            },
            "ABLReturnVal":true,
            "agentId":"iDpJxd-FTmyZ7CnX0IJpMw",
            "pid":"10291"
         }
      ]
   },
   "errmsg":"",
   "versionStr":"v12.2.0 ( 2019-12-18 )",
   "versionNo":1
}