我们正尝试通过Workbooks API访问“组织”中的“联系人详细信息”。在Workbooks界面中添加它们时,似乎它们可能在其系统中被称为“party_locations”。
API有大量文档,但似乎没有涉及此部分。
到目前为止,我尝试了以下内容,它给出了一个单独的错误,该错误与API中不存在该方法时引发的常见错误不同:
var workbooks = new WorkbooksApi(new Dictionary<string, object>
{
{ "application_name", "..." },
{ "user_agent", "..." },
{ "verify_peer", false },
{ "api_key", "..." },
});
var filters = new Dictionary<string, object>();
filters.Add("_start", "0");
filters.Add("_limit", "100");
filters.Add("_sort", "id");
filters.Add("_dir", "ASC");
filters.Add("resource_id", "295994");
var response = workbooks.get("crm/party_locations", filters, null);
var allData = response.getData();
不幸的是,这只会产生一个不同的基本错误:We are sorry that there has been an error.\nWorkbooks has recorded the incident with reference: ...