我想在Nmbrs.nl中运行查询,获取运行的日志信息。
所以我选择了一家公司:
using 111111
然后以下查询获取运行信息:
select *
from CompanyRunsYear(2017)
这给了我一个Nmbrs中的运行列表以及这些运行的ID。然后我继续运行CompanyRunJournals
以获取我需要的信息:
select * from CompanyRunJournals(444444, 888)
我收到以下错误消息:
soap:Sender: Server was unable to read request. ---> There is an error in XML
document (14, 67). ---> Input string was not in a correct format. (
https://api.nmbrs.nl/soap/v2.1/CompanyService.asmx)
The remote server returned an error: (500) Internal Server Error.
将CompanyID和RunID放在引号中也不起作用。知道我在这里做错了什么吗?
答案 0 :(得分:1)
Nmbrs.Company.CompanyRunJournalsV2
确实有效,它需要3个参数,companyid,runid和year。例如:
select * from Nmbrs.Company.CompanyRunJournalsV2(111111, 444444, 2017)
请注意,这将返回需要进一步分析才能使用的XML文件。