This API cancels the job running for data extraction for the given Job Id.


URI https://st-statsapim-we-apim1.azure-api.net/statistics/cancelJob/{JobId}
Supported verbs GET
Required headers Authorization, Ocp-Apim-Subscription-Key
Parameters
JobId Required Id of a job that is requested.

A sample with GET version of the request will look like this:

GET https://st-statsapim-we-apim1.azure-api.net/statistics/cancelJob/<jobId> HTTP/1.1
Host: st-statsapim-we-apim1.azure-api.net
Authorization: <tokenstring>
Ocp-Apim-Subscription-Key: <keystring>

A successful response body will have the following structure in JSON format:

{
"message": "string",
"status": "string"
}

The response structure is as follows:

message Status explanation message.
status Status of a current job, for example: "Canceled".