一、请求参数说明: 1.data:JSON格式数据(详情参考JSON格式数据)(必录) 1.1.FormId:业务对象表单Id(必录) 1.2.FieldKeys:需查询的字段key集合,字符串类型,格式:"key1,key2,..."(必录) 注(查询单据体内码,需加单据体Key和下划线,如:FEntryKey_FEntryId) 1.3.FilterString:过滤条件,字符串类型(非必录) 1.4.OrderString:排序字段,字符串类型(非必录) 1.5.TopRowCount:返回总行数,整型(非必录) 1.6.StartRow:开始行索引,整型(非必录) 1.7.Limit:最大行数,整型,不能超过2000(非必录)

二、返回结果: [["FValue1","FValue2",...],["FValue1","FValue2",...],...]

三、代码示例: // 使用webapi引用组件Kingdee.BOS.WebApi.Client.dll K3CloudApiClient client = new K3CloudApiClient("http://k3cloud/"); var loginResult = client.ValidateLogin("5867f8d847e804","Administrator","888888",2052); var resultType = JObject.Parse(loginResult)["LoginResultType"].Value<int>(); //登录结果类型等于1,代表登录成功 if (resultType == 1) { client.ExecuteBillQuery("{"FormId":"","FieldKeys":"","FilterString":"","OrderString":"","TopRowCount":0,"StartRow":0,"Limit":0}"); }

四、JSON格式数据: { "FormId": "", "FieldKeys": "", "FilterString": "", "OrderString": "", "TopRowCount": 0, "StartRow": 0, "Limit": 0 }