目录

3.3数据集数据请求rest接口说明

1.请求方式

正常结果:
{"object": [...]}

错误:
{
  "error":{
    "m": "DataSet does not exist or is empty."
  }
}

2. 条件格式

3.请求示例

请求数据

{
  "dataSetId":"04ec5379-7d94-4b06-bf87-be0328964f6e", 
  "conditions": [
    {"l":"[进货价]", "o": 4, "r": "2000"}
  ]
}

返回结果

{
"object": [ 
    ["产品编号","产品名称","供应商编号","类别编号","单位数量","单价","库存量","订购量","再订购量","中⽌","进货价","test"], 
    [16,"投影仪", 7,3,"1台", 3299,29,9,10, "FALSE", 2400,116], 
    [21,"上⽹本", 8,3,"1台", 3099,1,40,5, "FALSE", 2600,121], 
    [27,"打印复印⼀体机",11,3,"1台", 3999,49,44,30, "FALSE", 2800,127], 
    [47,"台式机", 22,3,"1台", 4599,36,30,0, "FALSE", 3200,147], 
    [48,"笔记本电脑", 22,3,"1台", 5999,15,70,25, "FALSE", 4500,148]
  ]
}