Use this API to get the detailed summary of the mitigation job result for the given the job ID.
Parameter |
Mandatory/ |
Data Type |
Description |
---|---|---|---|
deploymentJobId | Mandatory | String | Specify the job Id. |
pageNumber | Optional | Number | Specify the page number. The page number starts from 0. |
pageSize | Optional | Number | Specify the page size. The page size is the number of rows returned per page. The default page size is 10. |
sort | Optional | String | Specify the fields for sorting. The format is JSON. For example, [{"status":"asc"}] |
API Request
curl -X 'POST' \
'<qualys_base_url>/mtg/v1/deploymentjob/fa078690-2829-4724-9954-c7e51c0078b0/deploymentjobresult/summary \
-H 'accept: application/json' \
-H 'Authorization: Bearer <JWT_Token>' \
-H 'Content-Type: application/json' \
-d
API Body
{"query":"assetName:'Mock_Windows2'"}
API Response
{
"id": "fa078690-2829-4724-9954-c7e51c0078b0",
"name": "RISKELIMINATIONMITIGATENOW_1748511622702",
"assetCount": 1,
"createdBy": "quays_zy52",
"createdOn": 1748511855546,
"assets": [
{
"asset": {
"id": "5b365616-9c57-4225-a16b-dea69b143a77",
"name": "Mock_Windows2",
"operatingSystem": "Microsoft Windows Server 2012 R2 Standard 6.3.9600 64-bit N/A Build 9600",
"tags": [
{
"id": "909075bb-a86b-4bfc-8936-2644f5b66ff6",
"name": null
}
],
"lastLoggedOnUser": "",
"jobInstanceId": 1,
"interfaces": [
{
"interfaceName": null,
"macAddress": null,
"address": "1x.xxx.xx.xx5",
"gatewayAddress": null
}
]
},
"endDateTime": 1751198812665,
"startDateTime": 1751198786098,
"statusDateTime": 1751198812665,
"status": "Completed With Failure",
"statusCode": "20361",
"jobSentOn": 0,
"skipped": null,
"failedActionsCount": 1,
"successfulActionsCount": 0,
"skippedActionsCount": 0,
"partialActionsCount": 0,
"interimResultStatus": null,
"scanDateTime": 1750853212665,
"osIdentifier": "WINDOWS"
}
]
}