Description

Reset runtime metrics for a SOAP service in a web application deployed in an ABL application.

HTTP Operation

DELETE

URI

host_name:port/oemanager/applications/ABL_app_name/webapps/Web_app_name/transports/soap/oeservices/SoapServiceName/metrics

Content-Type

application/vnd.progress+json 

Request body

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/webapps/ROOT/transports/soap/oeservices/SimpleTest/metrics

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/webapps/ROOT/transports/soap/oeservices/SimpleTest/metrics')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Response body example

{
 "result":"NA",
 "outcome":"SUCCESS",
 "versionNo":1,
 "errmsg":"NA",
 "versionStr":null,
 "operation":"RESET OE_SOAP_TRANSPORT_APP METRICS"
}