我搜索了有关'如何使用rest api在sharepoint中创建子任务'的信息,但无法找到有关此信息
将ParentID更改为ParentIDId;例如请求: http://yoursite/_api/web/lists/getByTitle('yourlist')/items
头:接受:application / json; odata = verbosecontent-type:application / json; odata = verboseX-RequestDigest:"digest value"
PARAMS:{'__metadata':{'type':'SP.Data.Task2ProjectsListItem'},'Title':'Created with REST','ParentIDId':245}245是什么 - 父ID是您的列表项
1 回答
将ParentID更改为ParentIDId;例如请求: http://yoursite/_api/web/lists/getByTitle('yourlist')/items
头:
接受:application / json; odata = verbose
content-type:application / json; odata = verbose
X-RequestDigest:"digest value"
PARAMS:
{'__metadata':{'type':'SP.Data.Task2ProjectsListItem'},'Title':'Created with REST','ParentIDId':245}
245是什么 - 父ID是您的列表项