Description

Get configuration information (properties) of agents for an ABL application.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/agents/properties

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/properties

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

Request body example

NA

Response body example

{
   "operation":"GET AGENT PROPERTIES",
   "outcome":"SUCCESS",
   "result":{
      "sessionConnectProc":"",
      "agentMaxPort":"62202",
      "sessionStartupProcParam":"",
      "allowRuntimeUpdates":"0",
      "flushStatsData":"0",
      "lockAllNonThreadSafeExtLib":"",
      "sessionShutdownProc":"",
      "agentStartupProcParam":"",
      "uuid":"http://localhost:16680/pas1",
      "statusEnabled":"1",
      "collectStatsData":"0",
      "sessionStartupProc":"",
      "collectMetrics":"1",
      "sessionDisconnProc":"",
      "updateProperties":"false",
      "binaryUploadMaxSize":"0",
      "fileUploadDirectory":"",
      "sessionDeactivateProc":"",
      "workDir":"C:\\OpenEdge\\WRK\\oepas1/work",
      "agentShutdownProc":"",
      "usingThreadSafeExtLib":"",
      "sessionActivateProc":"",
      "agentStartupProc":"",
      "PROPATH":"C:\\OpenEdge\\WRK\\oepas1/webapps/pas1/WEB-INF/openedge,C:/OpenEdge/WRK/oepas1/webapps/ROOT/WEB-INF/openedge,C:/OpenEdge/WRK/oepas1/openedge,C:/Progress/OpenEdge/tty,C:/Progress/OpenEdge/tty/netlib/OpenEdge.Net.pl",
      "sessionExecutionTimeLimit":"0",
      "agentMinPort":"62002",
      "infoVersion":"9010",
      "lockAllExtLib":"",
      "numInitialSessions":"2",
      "applications":"oepas1"
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}