Verify the Project Type
This tutorial demonstrates how to use the Data Management API to verify whether a project in a BIM 360 account or a Forma hub is from the BIM 360 platform or from the Forma platform. This can be helpful, for example, if you have an app that is using both BIM 360 and Forma projects, and you want to manage users’ folder permissions - BIM 360 folders and Forma folders have slightly different sets of permissions.
The unified Forma platform is Autodesk’s new construction management software. For more information about Forma, see the Forma website.
Before You Begin
- Register an app, and select the Data Management and BIM 360 APIs.
- Acquire a 2-legged or 3-legged OAuth token with the
data:readscope. - Verify that you have access to the relevant BIM 360 account or Forma hub.
Step 1: Find the Hub ID for the BIM 360 Account or Forma Hub
Find the hub ID for the BIM 360 account or Forma hub you are interested in, by calling GET hubs.
Request
Response
In this example, assume that the hub or account you are interested in is called Acme Construction Group.
Find the hub (data.name), and note the hub ID - b.d6cf8c84-c25e-4534-ae5c-62e08480e751.
Step 2: Find the Project Type
To get a list of all the BIM 360 and Forma projects in the hub, use the hub ID (b.d6cf8c84-c25e-4534-ae5c-62e08480e751) to call GET hubs/:hub_id/projects.
Request
Response
In this example, assume that PRJ-1024 – Office Tower is the project you are interested in.
Find the project (data.attributes.name) and note whether the project type (data.attributes.extension.data.projectType) is Forma (ACC) or BIM 360 (BIM360).
Imported from the Autodesk Platform Services documentation: https://aps.autodesk.com/en/docs/acc/v1/overview/bim-360-compatibility/retrieve-project-id.