Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Postman Collection for ACC AutoSpecs API

Postman

Autodesk Authentication API

Autodesk Construction Cloud API

AutoSpecs API

Beginner License

Description

This folder contains a Postman Collection that includes all the endpoints of current ACC AutoSpecs API and the demo tutorials. The collection will be kept updated with new APIs.

Setup Postman environment

  • Import Postman collection file. It contains the endpoints test, predefined variables of collection environment and predefined Authorization.

  • Input your information in variables tab If you want to test from Run Firstly, input the environment variables only: clientId, clientSecret, accountName, projectName. If you have known the projectId, input its value directly.

  • ensure the callback url of your APS application is https://www.getpostman.com/oauth2/callback

API Test

  1. Assume the steps of Setup have been performed. The 3-legged token is ready.

  2. Input id of ACC project which has AutoSpec enabled. Play the scripts, try to change some parameters or body with more scenarios.

  3. To test tutorial, input accountName and projectName firstly. The step1 and step2 will get account id and project id.

  4. With Postman Runner, these scripts can be chained to perform auto-test. Check Tests tab to define your preferred tests.

Documentation

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Xiaodong Liang @coldwood, Developer Advocate and Support