java调用金蝶云接口_调用金蝶web api
1、金蝶系统需要证书的安装:安装证书方法;2、查询web api接口1)、登陆金蝶云星空2)、打开web api模块 3)、接口调用。 3、金蝶云调用示例 :金蝶云调用示例参考4、注意事项:1)、金蝶web api模块有测试接口功能,可以先测试调用成功;2)、web api反馈结果的含有,可以查看“保存”接口说明的最下面,有字段的含有,需要注意的是,如果那些字段如果是引用其他表的字段,需要在BOS
1、金蝶系统需要证书的安装:安装证书方法;
2、查询web api接口
1)、登陆金蝶云星空
2)、打开web api模块

3)、接口调用。

3、金蝶云调用示例 :金蝶云调用示例参考
4、注意事项:
1)、金蝶web api模块有测试接口功能,可以先测试调用成功;
2)、web api反馈结果的含有,可以查看“保存”接口说明的最下面,有字段的含有,需要注意的是,如果那些字段如果是引用其他表的字段,需要在BOS里面查看具体的字段,保存接口的字段实际是对象名。
异常1:com.fasterxml.jackson.core.JsonParseException: Unexpected character ('r' (code 114)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@164c81f8; line: 1, column: 2]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:453)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleUnexpectedValue(ReaderBasedJsonParser.java:1386)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:669)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:2926)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2873)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
at com.thinkgem.jeesite.modules.erp.k3cloudwebapi.JsonSerializerProxy.Deserialize(JsonSerializerProxy.java:33)
at com.thinkgem.jeesite.modules.erp.k3cloudwebapi.SerializerProxy.Deserialize(SerializerProxy.java:40)
at com.thinkgem.jeesite.modules.erp.k3cloudwebapi.ApiHttpClient.Send(ApiHttpClient.java:18)
at com.thinkgem.jeesite.modules.erp.k3cloudwebapi.ApiClient.execute(ApiClient.java:23)
原因:传入的参数有误,例如:字段不存在,或者写错了。
更多推荐
所有评论(0)