The PTC Community email address has changed to firstname.lastname@example.org. Learn more.
I'm currently aware on how to create a Part and how to create a Document using the REST API. I'm currently on V11M30. What I need to reproduce using the API are the following steps.
1- Check out the part
2- Create a new Document with attachments
3- Add the document to the part
Using the REST API I know how to:
2- Create the document
3- Check out the document
4- Upload content from local file or URL to the new document (Attachments/Primary content)
5- Check in the document
6- Check in the part
What I don't know is how to relate the document to the part. This means that the document will be created, but it won't show up in the "Related Objects" section of the part.