Description

Cancel the request identified by a Request ID and a Session ID. You can obtain Request IDs and Session IDs by executing the oemanager/applications/ABL_app_name/sessionsservice.

HTTP Operation

DELETE

URI

//host_name:port/oemanager/applications/ABL_app_name/requests?requestID=value&sessionID=value

Media type

NA

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X DELETE -u username:password -v "http://localhost:16680/oemanager/applications/oepas1
/requests?requestID=z9WHoRgGY4fnExrFWKWVlw&sessionID=G1TTNRPT3KiSOhkbyeSow"

ABL HTTP client example

define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Delete('http://localhost:16680/oemanager/applications/oepas1
/requests?requestID=z9WHoRgGY4fnExrFWKWVlw&sessionID=G1TTNRPT3KiSOhkbyeSow')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

{
   "operation":"CANCEL ACTIVE REQUEST ON SERVER",
   "outcome":"FAILURE",
   "result":"",
   "errmsg":null,
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}