Rest API - Create Document from template with properties/metadata

Able to create a document from a template and provide the metadata fields for the card via Rest API, but metadata only replaced on the document when opened in word.

is there a way to update these fields onto the document using the rest api or is the com api the only approach?


im creating the document from template using this payload, but i cant find any reference to this in the api docs.

{{MFWSUrl}}/objects/0

{
    "PropertyValues": [
        {
            "PropertyDef": 0,
            "TypedValue": {
                "DataType": 1,
                "Value": "Test"
            }
        }
],
"Files": null,
"TemplateForFiles" : {
        "ID" : {{TemplateID}},
        "Type" : 0,
        "Version" : 4
    }
}
Parents Reply Children