调用客户WEB API报错
金蝶云社区-云社区用户67M87997
云社区用户67M87997
0人赞赏了该文章 1,195次浏览 未经作者许可,禁止转载编辑于2016年08月29日 15:21:58

调用客户查询接口
Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View.common.kdsvc
其中SessionKey
aspnetsessionkey
都是从登陆接口返回的Header中取出,json入参如下

{"formid":"BD_Customer","obj":{"CreateOrgId":0,"Number":"CUST0001","Id":"CUST0001"}}
返回如:
{"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"Object reference not set to an instance of an object.","Message":" at Kingdee.BOS.WebApi.FormService.View.Execute()\r\n at Kingdee.BOS.WebApi.FormService.BillOperationService.ExecuteOperation(FormOperation op, String data)","DIndex":0}],"SuccessEntitys":[]}}}

不知道返回是什么样的错