如何在 SharePoint 列表中使用 REST API Post 保存文档库查找字段?我试过了
'docItem':'1;#test'
但是,它抛出一个错误:
{ "error": { "code": "-1,Microsoft.SharePoint.Client.InvalidClientQueryException", "message": { "lang": "en-US", "value": "A 'PrimitiveValue' node with non - null value was found when trying to read the value of a navigation property;however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." } } }
错误的请求