tencent cloud

Feedback

CreateOpsMakePlan

Last updated: 2024-06-21 15:10:29

1. API Description

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

Bulk Data Supplement (Create Supplementary Entry 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: CreateOpsMakePlan.
Version Yes String Common Params. The value used for this API: 2021-08-20.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
ProjectId Yes String Project ID
MakeName Yes String Supplemental Plan Name
TaskIdList.N Yes Array of String Supplementary Task Collection
MakeDatetimeList.N Yes Array of CreateMakeDatetimeInfo Supplementary Plan Date Range
ProjectIdent No String Project Identifier
CheckParent No Boolean Check Parent Task Status for Supplement, default is not to check. Not recommended for use, will be deprecated, recommend using CheckParentType.
CheckParentType No String Check Parent Task Type for Supplementary. Value range:
  • NONE: Do not check any
  • ALL: Check all upstream parent tasks
  • MAKE_SCOPE: Check only within the selected tasks of (the current supplementary plan)
  • ProjectName No String Project name
    SelfDependence No String Deprecated. Task Self-Dependency Type: parallel, serial (unordered parallel), orderly (ordered serial)
    ParallelNum No Integer Parallelism
    SameCycle No Boolean Is the generation cycle of the supplementary instance the same as the original cycle, default is true
    TargetTaskCycle No String Supplementary Instance Target Cycle Type
    TargetTaskAction No Integer Specified Time for Supplementary Instance Target Cycle Type
    MapParamList.N No Array of StrToStrMap Custom Parameters for Supplement Instance
    CreatorId No String Creator ID
    Creator No String Creator
    Remark No String Supplementary Plan Description
    SameSelfDependType No Boolean Use Original Self-Dependency Configuration of Task, default is true
    SourceTaskCycle No String Supplementary Instance Original Cycle Type
    SchedulerResourceGroup No String If no specified scheduling resource group (ID) is provided, the original task scheduling execution resource group will be used
    IntegrationResourceGroup No String If no specified integration resource group (ID) is provided, the original task integration execution resource group will be used
    SchedulerResourceGroupName No String If no specified scheduling resource group name is provided, the original task scheduling execution resource group will be used
    IntegrationResourceGroupName No String If no specified integration resource group name is provided, the original task integration execution resource group will be used

    3. Output Parameters

    Parameter Name Type Description
    Data CommonIdOpsDto Result
    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 Bulk Data Supplement (Create Supplementary Entry Task)

    Task Operation and Maintenance - Data Supplement

    Input Example

    POST / HTTP/1.1
    Host: wedata.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: CreateOpsMakePlan
    <Common request parameters>
    
    {
        "ProjectId": "1460947878944567296",
        "ParallelNum": 2,
        "MakeName": "patch_20230327104543_3122",
        "TaskIdList": [
            "20230313154453331"
        ],
        "MakeDatetimeList": [
            {
                "StartDate": "2023-03-01",
                "EndDate": "2023-03-01",
                "StartTime": "00:00",
                "EndTime": "23:59"
            }
        ],
        "CheckParent": true,
        "SameSelfDependType": false,
        "SelfDependence": "parallel",
        "Remark": "",
        "SameCycle": true
    }
    

    Output Example

    {
        "Response": {
            "Data": {
                "Id": "0c2dd8d6-ab68-48cc-8264-85b70ff4b291"
            },
            "RequestId": "261c5c56-2891-49f4-a725-edd755065485"
        }
    }
    

    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 Failure.