I want to update the content type of a list item. When I try to send content type name or content type id as a normal Field, it throws the following exception.
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
Please help me with this. Thanks in Advance!
{'__metadata':{'type':'SP.Data.Jul4ListItem'},'Title':'test','try':'fddata', 'pplId':11,'ContentType':'0x01000D2F316B81461947BCF69E20750971AA'}}
which has the Content Type ID. But without contentType id, it updates perfectly but with the base content type 'Item'."ContentTypeId": "0x01000D2F316B81461947BCF69E20750971AA"