Skip to content

This sample demonstrates how to export usage information and utilize Business Success Plan reporting APIs to extract usage data, link metadata, and create comprehensive charts for business analytics.

License

Notifications You must be signed in to change notification settings

autodesk-platform-services/aps-business-success-plan-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platforms License JavaScript Style Guide Stackoverflow

Description

The sample helps viewing, building custom reports and exporting usage query & export usage query API data in the form of tables, charts from Business Success Plan Reporting Sample.

Uses 3-legged oAuth2 with implicit grant to authenticate with aps.

thumbnail

Pre-requisites

  • Autodesk Platform Services Account: Learn how to create a aps Account, activate subscription and create an app at this tutorial

  • Visual Studio Code

  • Go Live Extension in Visual Studio Code.

  • Tested to be working on: Chrome, IE Edge

  • When logging into the web dashboard, you should login with the ID of an administrator with premium benefits (EBA).If you login with a user that does not have such roles, the API will return no data.

Setup

  • Create a Autodesk Platform Services app with access to the Premium Reporting API.

  • Take note of the Client ID which you need to enter as soon as you login.

  • Use http://localhost:5500 as redirect URL in aps App.

  • Clone or download the folder. Open the folder inside in Visual Studio Code.

  • Use http://localhost:5500 as redirect URL in the js/method.js file.

  • Click Go live to run live server.

    1663191439013

Meta Data Mapping

  • Save your metadata in the JSON format in the root folder.
  • Here is the sample of metadata.
  • Make changes as per your mapping in js/jsonToTable.js file.

Deployment

The above sample is deployed on https://autodesk-platform-services.github.io/aps-business-success-plan-report/

To deploy your changed code use GitHub pages. Follow this tutorial

Note- As soon as you deploy it the redirect URL becomes the deployment domain.

Support

For support, please contact [email protected].

License

This sample is licensed under the terms of the MIT License. Please refer to LICENSE for more details.

Written by

Deepali Srivastava, Autodesk Platform Services Partner Development Group

About

This sample demonstrates how to export usage information and utilize Business Success Plan reporting APIs to extract usage data, link metadata, and create comprehensive charts for business analytics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •