请求地址

/v2/webservice/apply/check-delete-table-apply

请求方法

Post

请求参数说明

请求参数是数组,数组元素字段说明

参数名称 类型 是否必填 说明
apply_id id 单据ID
auto_execute_task boolean 是否自动执行任务

示例

[{
    apply_id:1,
    auto_execute_task: true,
}]

返回参数说明

返回的数据是对象数组,数组元素对象字段说明

参数名称 类型 说明
apply_id number 单据ID
app_id number 项目ID
zone_id number 区ID
table_name string 表名
task_id number 任务ID
result number 0表示,创建任务成功

成功返回

{
    "code": 0,
    "request_id": "5553e89a-0d08-40e6-8cbc-4d867e8fdd57",
    "data": [
        {
            "apply_id": 76034,
            "apply_type_text": "表删除",
            "zone_id": "2",
            "app_id": 5,
            "table_name": "NameTable",
            "table_type": 0,
            "apply_type": 1,
            "task_id": 168855,
            "result": 0,
            "msg": "审核成功, 请查看生成的任务"
        }
    ]
}

失败返回

{
    "request_id": "8131e595-6c1e-49a2-a36f-370e76e63ef9",
    "code": 102,
    "message": "表不存在",
    "debug_message": [
        {
            "app_id": 5,
            "zone_id": 2,
            "table_name": "NameTable"
        }
    ]
}

results matching ""

    No results matching ""