Issue while uploading the document with required properties.

Options
Ravi747
edited November 16, 2021 in Documentum #1

We are trying to upload the document using D2-REST APIs. We were able to upload the document but if there are required attributes missing/incorrect while uploading, then also document is getting uploaded without an error.


Is there any way or API to check the provided attributes are correct or not while uploading the document?


Also, we are using value-config API to get all the properties, it gives us all the properties for the type, but the required information is different i.e. if we open the D-2 it shows the Product Code, Artifact as mandatory fields but in JSON response we are required property value to false. Please suggest

Tagged:

Comments

  • Hi Ravi, did you ever figure this out?

    We are parsing the property page response and using code to check our supplied properties, but it should be possible to have the api validate the supplied json properties.

    The D2-REST documentation leaves a lot to be desired and support directed me here to get answers. Not really a supported API it seems compared to DFC/DFS/D2FS