Web API: Cancel

From QPR ProcessAnalyzer Wiki
Revision as of 23:35, 17 February 2022 by Ollvihe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Cancel method cancels currently running queries in the server. This can be done to improve performance if the query results are not needed. The operation does not return any data.

HTTP request header Authorization with value Bearer <access token> needs to be in place to identify the session.

Request body is an array of query identifiers to be cancelled.

Url: POST qprpa/api/analysis/cancel
Content-Type: application/json;charset=UTF-8
[ "queryIdentifier1", "queryIdentifier2", "queryIdentifier3"]