REST - change class of document

Hello,

my question is simply "how to change the class of an object via the REST API". I didn't found the answer in the documentation nor in this forum.

When I tried to just POST the new value of the property class, it don't want to.

Thanks for the help,

Amaury 

Parents Reply
  • It does but I get a "Malformed data" error using the below body code:

    [
        {
            "PropertyDef": 0,
            "TypedValue": {
                "Value": "New Test",
                "DataType": 1
            }
        },
        {
            "PropertyDef": 100,
            "TypedValue": {
                "Lookup": {
                    "Item": 97
                },
                "DataType": 9
            }
        }
    ]

Children