tencent cloud

Tencent Cloud WeData

UpdateTaskPartially

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-03-02 12:26:54

1. API Description

Domain name for API request: wedata.intl.tencentcloudapi.com.

This API is used to update a task.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: UpdateTaskPartially.
Version Yes String Common Params. The value used for this API: 2025-08-06.
Region Yes String Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-hongkong, ap-jakarta, ap-singapore, eu-frankfurt, na-ashburn, na-siliconvalley.
ProjectId Yes String Project ID.
TaskId Yes String Task ID.
NewSetting No UpdateTaskPart Task basic attributes.
FieldToRemoveList.N No Array of String Delete field content, identified in the form of property paths, with deleted values separated by ":" and multiple values separated by "," delete the attribute "TaskConfiguration/TaskSchedulingParameterList:aa,bb" where ParamKey is aa,bb in scheduling parameters delete the upstream dependency "TaskSchedulerConfiguration/UpstreamDependencyConfigList:2509162129381111,2509162129381112" where TaskId is 2509162129381111,2509162129381112 in upstream dependencies delete the downstream dependency "TaskSchedulerConfiguration/DownStreamDependencyConfigList:2509162129382222,2509162129382223" where TaskId is 2509162129382222,2509162129382223 in downstream circular dependencies delete the event "TaskSchedulerConfiguration/EventListenerList:event_250916_213234,event_250916_213235" where EventName is event_250916_213234,event_250916_213235 in events delete the parameter "TaskSchedulerConfiguration/ParamTaskOutList:pp_out,pp_1" where ParamKey is pp_out,pp_1 in parameter output transmission delete the parameter "TaskSchedulerConfiguration/ParamTaskInList:pp_in,pp_1" where ParamKey is pp_in,pp_1 in parameter application delete the output registration "TaskSchedulerConfiguration/TaskOutputRegistryList:6578laxif4d1" where TablePhysicalId is 6578laxif4d1 in product registration.

3. Output Parameters

Parameter Name Type Description
Data UpdateTaskResult Task ID.
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Task Partially Updating Properties

Task Partially Updating Properties

Input Example

POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: UpdateTaskPartially
<Common request parameters>

{
    "ProjectId": "1460947878944567296",
    "TaskId": "20251009170834756",
    "NewSetting": {
        "TaskBaseAttribute": {
            "TaskName": "hive_1"
        },
        "TaskConfiguration": {
            "CodeContent": "LS1IaXZlIFNRTAotLSoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi0tCi0tYXV0aG9yOiBrZXZpbm5pZQotLWNyZWF0ZSB0aW1lOiAyMDI1LTEwLTA5IDE3OjA4OjMwCi0tKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLS0Kc2VsZWN0IDE=",
            "SourceServiceId": "8444"
        }
    },
    "FieldToRemoveList": [
        "TaskSchedulerConfiguration/DownStreamDependencyConfigList:20250123151934646"
    ]
}

Output Example

{
    "Response": {
        "Data": {
            "Status": true
        },
        "RequestId": "1548f7fd-1bba-4aeb-95e1-82e36643f721"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation failed.
InvalidParameterValue Parameter value error.
MissingParameter Parameter missing.
ResourceNotFound The resource does not exist.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan