How is it exactly that I read an attachment over the v1 API.
I can get all the workspace and attachment info, but where do I get the actual file.
Thanks
Solved! Go to Solution.
Solved by igor.cunko. Go to Solution.
Hopefully someone else can weigh in, but in the meantime, have you checked out DV1518: Programming Autodesk PLM 360 Using REST? It's a class from Autodesk University 2013. Pages 3 - 4 of the handout goes over how to create, download, and checkin files (though is appears this is with v2, not v1).
I'll try to get more info (or someone to weigh in here!) if it's possible with v1.
Thanks,
Michelle
you need to send in httpe header Accept: application/octet-stream
URL is same as for attachement metadata
api/rest/v1/workspaces/{id}/items/{dmsID}/attachments/{fileID}
Thanks for weighing in Igor!
Sten - let us know if you need more help. There's a support case open for you as well (case #10269311)
Michelle