Restore jobs
less than a minute
POST
Use this endpoint to restore scheduled scan jobs.https://daas.digicert.com/apicontroller/v1/scan/restoreJobs
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
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| accountId | required | string | Account ID. |
| divisionId | required | integer | Division ID. |
| restoreJobList | required | array | A list of objects with information about the jobs to restore. Each object includes surveyDefId and jobOccurrenceTime values for the restored jobs. |
| .. surveyDefId | required | integer | Survey definition ID of the scan. To get a list of surveyDefId values for your scans, use the scan list endpoint. |
| .. jobOccurrenceTime | required | string | Start time of the restore scan job. |
Response parameters
| Name | Type | Description |
|---|---|---|
| error | object | Includes the error code, if any. |
| data | string | Message with additional information about the operation. |
Was this page helpful?
Provide feedback