Restore jobs

POST https://daas.digicert.com/apicontroller/v1/scan/restoreJobs
Use this endpoint to restore scheduled scan jobs.

Example requests and responses

cURL

curl --location --request GET 'https://daas.digicert.com/apicontroller/v1/scan/restoreJobs' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"restoreJobList":[{"surveyDefId":293746,"jobOccurrenceTime":1591182000000}],"accountId":5153184,"divisionId":677793}'

200 OK

{
    "error": null,
    "data": "Restore of future scan job done successfully"
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.
restoreJobListrequiredarrayA list of objects with information about the jobs to restore. Each object includes  surveyDefId and  jobOccurrenceTime values for the restored jobs.
.. surveyDefIdrequiredintegerSurvey definition ID of the scan. To get a list of surveyDefId values for your scans, use the scan list endpoint.
.. jobOccurrenceTimerequiredstringStart time of the restore scan job.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
datastringMessage with additional information about the operation.