get precheck task result - GetUDTSPrecheckTask
Overview
get precheck task result
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is GetUDTSPrecheckTask. | Yes |
| PublicKey | string | The user’s public key can be obtained from Console  | Yes |
| Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| ProjectId | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. | No |
| TaskId | string | Task ID | Yes |
| Type | string | Task Type | No |
Response Field
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
| Action | string | Operation command name. | Yes |
| Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
| Data | CheckResult | precheck result | Yes |
Data Model
CheckResult
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| State | string | precheck task state | No |
| PrecheckResultItem | array[CheckResultItem] | precheck task item | No |
CheckResultItem
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| State | string | Status | Yes |
| Type | string | Check Type | Yes |
| ErrMessage | string | error message | Yes |
| Instruction | string | Instruction | Yes |
| IsTarget | boolean | is taeget check result | Yes |
Example
Request Example
https://api.surfercloud.com/?Action=GetUDTSPrecheckTask
&ProjectId=QAYgheFF
&TaskId=xNcUaeHI
&Type=MdOHoRGCResponse Example
{
"Action": "GetUDTSPrecheckTaskResponse",
"Data": {},
"Message": "UdAxekmr",
"RetCode": 0
}