-1
我试图使用.Net API检索与项目关联的任务,但项目中的列表始终为空。我正在使用应用验证跑道:获取具有任务的项目
var item = Podio.ItemService.GetItem(podioGlobalId, false);
if (item.Tasks == null)
{
//there are never any Tasks
}
我试图使用.Net API检索与项目关联的任务,但项目中的列表始终为空。我正在使用应用验证跑道:获取具有任务的项目
var item = Podio.ItemService.GetItem(podioGlobalId, false);
if (item.Tasks == null)
{
//there are never any Tasks
}
任务是独立的并且与项目相关,但不是项目的一部分。因此,要获得附加到项目的任务列表,请使用get tasks
方法。它的文档在这里:https://developers.podio.com/doc/tasks/get-tasks-77949。
从原材料的HTTP请求使用示例:
GET https://api.podio.com/task/?reference=item:1234;item:5678
谢谢帕夫洛。我只是困惑,为什么他们甚至在这种情况下API中的Item类。 – Phil
我们要事实,而不是一个妖精的尾巴。阅读[mcve]和[问] – Xorifelse