Creates a one-time scan task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TaskType | string | Yes | The type of the scan task. Valid values:
| CLIENT_PROBLEM_CHECK |
TaskName | string | Yes | The name of the scan task. Valid values:
| CLIENT_PROBLEM_CHECK |
Param | string | Yes | The additional information. | {"mode":1,"problemType":"offline","uuids":"inet-795dcad1-360f-49d2-b01e-b7da7f1c****"} |
Source | string | No | The source of the scan task. | Manual |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "8BB6B8FA-39E8-5654-A309-8EED13B1****",
"CanCreate": true,
"LastTask": "38730bb078f4a1461d4ed283994c****\n",
"CollectTime": 1670307567000,
"TotalCount": 100,
"TaskId": "38730bb078f4a1461d4ed283994c****",
"FinishCount": 61
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-11-25 | The Error code has changed | View Change Details |
2024-10-11 | The Error code has changed | View Change Details |
2024-10-08 | The Error code has changed | View Change Details |
2024-09-25 | The Error code has changed | View Change Details |
2024-07-02 | The Error code has changed | View Change Details |
2024-05-14 | The Error code has changed | View Change Details |
2024-04-08 | The Error code has changed | View Change Details |