Skip to main content

Is there a way to connect to Autodesk Build and retrieve photo's and Forms? Either through a connector or through the API. I can get acces to Autodesk Docs but I need acces to Build as I would like to add the photo's to a webmap.

Because the API acces to ACC Build makes use of a three-legged authorization I see no possibility to do this. The process needs to allow for a pop-up and I don not know a way to avoid this. I hoped it was possible to use a webconnection in conjunction with an httpcaller but I do not know how.

Does anybody have experience with this and perhaps an example?

Have you explored creating a new oauth2 webservice?

https://support.safe.com/hc/en-us/articles/25407422190861-Creating-an-OAuth-2-0-Web-Service-Connection-in-FME


@hkingsbury I have tried to use the oauth2 webservice. But my my knowloedge of this is limited. And I struggle with the part in where the refresh token parameters are entered.

As Autodesk Build uses “3-Legged Token with Authorization Code Grant” I do not know how to get the token with the authorization code.

Has anybody succesfully connected to Autodesk Build API? If so I would love to hear how.


Hi ​@bbo I have successfully authenticated to the Autodesk Build API to submit forms to ACC using a safe.autodesk-docs.Autodesk Docs web connection.

Cheers,

Marc


Hi ​@mgg_beca ,  were you also able to get more then the files in Docs (as in Photo's and Surveys)? At the moment I am only able to connect to ACC Docs and not to the parts only in Build.

 

BR,

Berend


hi ​@bbo,

I use the web connection for authentication but httpcallers for doing the work via the build API.

 

For example this is for creating a blank form:

using the template ID and project ID from user parameters. Example workflow is here: https://aps.autodesk.com/en/docs/acc/v1/tutorials/forms/create-update-forms/

Unfortunately there are limitations with Photos being read only at the moment which is a shame.

Hope this helps,

Marc


Reply