This repository contains a set of API working as tutorial of AEC Data Model workflow to help you understand. The collection contains the GraphQL requests covering the Step-by-Step Tutorials. Including all the tasks of Basic Queries and Advanced Queries.
- Create APS App, get an ACC Account, integrate ACC account with your APS Client Key, refer tutorial for details, enable AEC Data Model in ACC Account Settings.
- Setup the environment variables, please specify your information as follow:
- client_id
- client_secret
- account_name
- project_name
- aec-dm-url
- Get the Authorization for the collection, right click on the collection and select Edit, go to Authorization tab, make sure to use OAuth 2.0 to get a 3 legged token, use it in the Request Headers.
- Callback URL: https://www.getpostman.com/oauth2/callback
- Auth URL: https://developer.api.autodesk.com/authentication/v2/authorize
- Access Token URL: https://developer.api.autodesk.com/authentication/v2/token
- Include Scope: data:read
- Task 1 – Get Hubs
- Task 2 – Get Projects
- Task 3 – Navigate to ElementGroups within a Project
- Task 4 – Get Elements from a Category
- Task 1 – Get ElementGroups Based on Metadata
- Task 2 – Get Versions of an ElementGroup
- Task 3 - Get Element Instances of a Particular Type
- Task 4 - Get Element Instances in a Category by Version
- Task 5 – Get Project Elements with Specific Properties
- Task 6 – Get Elements with Specific Properties
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.
Zhong Wu @johnonsoftware, APS Partner Development