二、返回结果:
[["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
}
原文:https://blog.51cto.com/kanshan/2454203