Copyright © Bentley Systems, Incorporated. All rights reserved.
A sample application that demonstrates how to create, query and delete a Project using the Enterprise Systems Project API, billing country endpoint and data center endpoint usage. It also demonstrates Enterprise Systems Work Area Connection API, using the ProjectWise Web Connections API for mapping Work Area Connections from Project Wise Design Integration to iTwin Projects.
Detailed in the root directory README.md.
- Clone Repository
- Open
ES API Projects Sample App.sln
and Build - Set valid access token with scope 'enterprise' in command line argument
--token
inProperties/launchSettings.json
. - Optionally set
--name
command line argument. A random name will be generated otherwise. - Optionally set
--datasourceuri
command line argument. A random data source Uri will be generated otherwise. - Run to debug
- Clone Repository
- Change directory into cloned folder
cd ES-API-Samples
- Build app with
dotnet build
- Change directory into build folder
cd EsApiProjectsSampleApp/bin/Debug/net6.0/
- Run app with
dotnet EsApiProjectsSampleApp.dll --token "{your_token}"
- Optionally set
--name
command line argument. A random name will be generated otherwise. - Optionally set
--datasourceuri
command line argument. A random data source Uri will be generated otherwise.
- Optionally set
Detailed in the root directory README.md.
API documentation in OpenAPI V3 format:
- Projects API: https://es-api.bentley.com/project/v1/swagger.json
- Work Area Connection API: https://es-api.bentley.com/workarea/v1/swagger.json