There was some discussion here, which I think is related to my question: https://forums.autodesk.com/t5/upchain-forum/upchain-restful-api-acquiring-the-fileversionid/m-p/120...
But that seems to be looking at downloading a single part. I'm would like to clarify how one would go about downloading a full assembly of parts (specifically .SLDASM and .SLDPRT files) through the API. I think I see a couple of potential strategies:
Are either of these the most correct way to do this? Are there any nuances I'm missing?
Thanks
So far I've found that /api/bom/v2/cbom_tree seems to actually be the most appropriate for getting the files to download. However, I'm running into an issue where I can't download some files, and I think it's correlated with /api/bom/v1/file_version/{fileVersionId}/info coming back with
Hi @imckenzieY7CGY , can you please open a Support ticket with few examples of API requests where you got the "File not found" error, so that we can investigate it further and see where is the problem? You can do this through the Contact Support page. Select Using and troubleshooting my software, then select Upchain from the dropdown menu. Someone from our support team will be in touch soon after.
One additional option you can try to do, is when calling endpoint to download file, to add optional parameter "syncFileToUsersVault" with value "true", e.g.
/api/bom/v1/file_version/{fileVersionId}/download?syncFileToUsersVault=true
I'm not sure if that will help, because it's hard to know root cause of the problem right now, but maybe setting this parameter would help (I'm guessing that problem might be that your default Vault might be different from Vault where file is located)
Can't find what you're looking for? Ask the community or share your knowledge.