Rest 不支持SharePoint联机合并
我正在尝试将项目合并到SharePoint Online中的现有列表中,但收到以下错误:Rest 不支持SharePoint联机合并,rest,sharepoint,merge,sharepoint-online,Rest,Sharepoint,Merge,Sharepoint Online,我正在尝试将项目合并到SharePoint Online中的现有列表中,但收到以下错误: "The type SP.ListItemEntityCollection does not support HTTP PATCH method." 我的配置如Microsoft文档中所述 列表中此类型项目的权限是否有问题?我如何修改它?我没有看到对不同类型的引用,也没有看到解决此问题的方法。此错误通常在指定无效的资源终结点时发生 要创建的端点SP.ListItemresource Url : /_api
"The type SP.ListItemEntityCollection does not support HTTP PATCH method."
我的配置如Microsoft文档中所述
列表中此类型项目的权限是否有问题?我如何修改它?我没有看到对不同类型的引用,也没有看到解决此问题的方法。此错误通常在指定无效的资源终结点时发生 要创建的端点
SP.ListItem
resource
Url : /_api/web/lists/getbytitle(<listTitle>)/items
Method: POST
Data: <item payload>
Url : /_api/web/lists/getbytitle(<listTitle>)/items(<itemid>)
Method: POST
Headers:
"X-HTTP-Method": "MERGE",
"If-Match": "*"
Data: <item payload>
确保为指定了SP.ListItem
资源url
那次行动。例如,以下url/\u api/web/lists/getbytitle()/items?$filter=Id eq 1
在中无效
在更新列表项时,将出现这种情况和指定的错误