Description

Enable or disable the tracking of ABL objects. When enabled, ABL objects are tracked to identify potential memory leaks. To generate a report of these objects, see Get a report of tracked ABL objects. When object tracking is not required, disable. Disabled by default.

HTTP Operation

PUT

URI

http(s)://host_name:port/oemanager/applications/ABL_app_name/agents/agentPID/ABLObjects/status
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 PUT -u username:password -v http://localhost:16680/oemanager/applications/oepas1/agents/18668/ABLObjects/status

ABL HTTP client example

using Progress.Json.ObjectModel.*.
define variable resp as OpenEdge.Net.HTTP.IHttpResponse.
define variable jsonData as JsonObject.

jsonData = new Progress.Json.ObjectModel.JsonObject().
jsonData:Add('enable',  'true').
resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Put('http://localhost:16680/oemanager/applications/oepas1/agents/18668/ABLObjects/status, jsonData)
      :ContentType('application/vnd.progress+json') 
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

{"enable":{"true" |  "false"} }

Response body example

Result returns true when value is changed. To get the current value, see Check ABL object tracking status.

{
   "operation":"TRACKING ABL OBJECTS",
   "outcome":"SUCCESS",
   "result":true,
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}