请求地址

/v2/webservice/apply/compare-tablefile-by-attachids

请求方法

Post

请求参数说明

参数名称 类型 是否必填 说明
app_id number
zone_id number
table_name string
table_type number
original_ids number[] 原表文件ID
modified_ids number[] 新表文件ID

示例

{ "app_id": 5, "zone_id": 1, "original_ids": [ 809 ], "modified_ids":[434], "table_name":"ListTableDemo", "table_type":1 }

返回参数说明

参数名称 类型 说明
is_diff boolean true表示有表更,false, 表示无变更
check_result object status是比较结果,0表示变更合法
file_extent string 文件后缀

成功返回

{
    "code": 0,
    "request_id": "7ca2806a-fcf5-4247-8cfa-ace35c42c265",
    "data": {
        "is_diff": true,
        "check_result": {
            "status": -1,
            "new_entry_length_exceeded_count": 0,
            "new_entry_length_exceeded": [],
            "has_new_entry_count_without_refer": false,
            "table_field_changed": true,
            "err_msg": "ListTableDemo ValueFieldNum(6) is not equal to ListTableDemo ValueFieldNum(7)"
        },
        "file_extent": "xml"
    }
}

失败返回

{

}

results matching ""

    No results matching ""