修补或发布包含MultilookUp的ListItem

时间:2018-08-21 06:29:54

标签: sharepoint microsoft-graph

这很简单: 当我们要更改单个lookUp时,其工作方式如下:

    "fields": {
    "Title": "Lalala",
    "AwesomeDudeLookupId": 42
  }
}

但是我们如何更改列表?例如,我有引用另一个列表的列表超链接:

    "fields": {
"TestFields": [
            {
                "LookupId": 175,
                "LookupValue": "175"
            },
            {
                "LookupId": 176,
                "LookupValue": "176"
            }
        ]
}

当我更改它时,出现了这样的错误:

 "message": "A value without a type name was found and no expected type is available. 
When the model is specified, each value in the payload must have a type 
which can be either specified in the payload, explicitly by the caller or 
implicitly inferred from the parent value.",

如何解决此问题?

0 个答案:

没有答案