数据治理中心 DATAARTS STUDIO-查找衍生指标:响应示例

时间:2023-11-29 09:26:28

响应示例

状态码: 200

Success,返回data数据是 DerivativeIndexVO 数组, 以及总数

{
  "data" : {
    "value" : {
      "records" : [ {
        "id" : "873265784540004352",
        "name_en" : "sum_total_amount",
        "name_ch" : "总车费(费率代码)",
        "description" : "",
        "create_by" : "abc",
        "data_type" : "DOUBLE",
        "l1_id" : "873232498044411904",
        "l2_id" : "873232716601204736",
        "l3_id" : "873233519286059008",
        "status" : "PUBLISHED",
        "atomic_index_id" : "873264909264257024",
        "time_condition_id" : null,
        "time_field_id" : null,
        "time_field_name" : null,
        "common_conditions" : [ ],
        "dimension_groups" : [ {
          "group_id" : "873252544997130240",
          "role" : null,
          "dimension_id" : "873252544997130240",
          "hierarchies_id" : null,
          "ordinal" : 1,
          "group_name" : "费率代码",
          "group_code" : "dim_rate_code",
          "biz_type" : "DIMENSION",
          "hierarchies" : null,
          "l1" : null,
          "l2" : null,
          "l3" : null,
          "l1_id" : null,
          "l2_id" : null,
          "l3_id" : null,
          "dw_type" : null,
          "id" : "873265784602918912"
        } ],
        "monitor" : null,
        "atomic_index" : {
          "id" : "873264909264257024",
          "name_en" : "sum_total_amount",
          "name_ch" : "总车费",
          "description" : "",
          "create_by" : null,
          "cal_exp" : "sum(${873264563087376397})",
          "cal_fn_ids" : null,
          "l1_id" : null,
          "l2_id" : null,
          "l3_id" : null,
          "table_id" : "873264563070599168",
          "tb_name" : null,
          "dw_type" : null,
          "field_ids" : [ "873264563087376397" ],
          "field_names" : null,
          "status" : "DRAFT",
          "biz_type" : "FACT_LOGIC_TABLE",
          "create_time" : "2022-08-30T21:28:45.454+08:00",
          "update_time" : "2022-08-30T21:28:45.454+08:00",
          "l1" : null,
          "l2" : null,
          "l3" : null,
          "approval_info" : null,
          "new_biz" : null
        },
        "time_condition_name" : null,
        "create_time" : "2021-08-06T18:06:28+08:00",
        "update_time" : "2021-08-06T18:06:27+08:00",
        "l1" : "城市交通",
        "l2" : "行程记录",
        "l3" : "记录统计",
        "summary_table_id" : null,
        "approval_info" : {
          "id" : "873265785332727808",
          "tenant_id" : null,
          "name_ch" : null,
          "name_en" : null,
          "biz_id" : "873265784540004352",
          "biz_type" : null,
          "biz_info" : null,
          "biz_info_obj" : null,
          "biz_version" : 0,
          "biz_status" : "PUBLISHED",
          "approval_status" : "APPROVED",
          "approval_type" : null,
          "submit_time" : "2021-08-06T18:06:28+08:00",
          "create_by" : null,
          "l1" : null,
          "l2" : null,
          "l3" : null,
          "approval_time" : "2021-08-06T18:06:27+08:00",
          "approver" : "abc",
          "email" : null,
          "msg" : "Fast Approval OK.",
          "directory_path" : null
        },
        "new_biz" : null
      } ]
    }
  }
}
support.huaweicloud.com/api-dataartsstudio/SearchDerivativeIndexes.html