Postman Quickstart


This article is under construction! A new version is coming soon.

Postman Example Requests Collection 

Overview 

This guide provides steps to configure Postman to use a collection containing example requests. 

Prerequisites 

Configuration 

  1. Start Postman and click Import.
      
  2. Upload the collection and environment files which have been provided to you. 


  3. Select the imported environment. 
     
  4. Edit the environment and enter the Instance ID for the cloud you will be connecting to. 

  5. Edit the imported 'User Documentation' collection. 
     
  6. Configure the authentication parameters for the collection. 

    Use the client credentials or the authorisation code parameters below as appropriate. 

Client Credentials (Machine Login) 

Parameters 

 Type OAuth 2.0 

Add auth data to Request Headers 

Header Prefix Bearer 

Token Name (Name) 

Grant Type Client Credentials 

Access Token URL https://imsoidc.bentley.com/connect/token 

Client ID (Client ID) 

Client Secret (Client Secret) 

Scope openground 

Client Authentication Send client credentials in body 

 

Click 'Get New Access Token' and after the token has been obtained, click 'Use Token'. 

 

Authorisation Code (User Login) 

Parameters 

Type OAuth 2.0 

Add auth data to Request Headers 

Header Prefix Bearer 

Token Name (Token Name) 

Grant Type Authorisation Code (With PKCE) 

Callback URL https://callback.openground.cloud/callback.html 

Authorize using browser (Unchecked) 

Auth URL https://imsoidc.bentley.com/connect/authorize 

Access Token URL https://imsoidc.bentley.com/connect/token 

Client ID openground-cloud-connector 

Client Secret (Blank) 

Code Challenge Method SHA-256 

Code Verifier (Blank) 

Scope openground openid profile email 

State (Blank) 

Client Authentication Send as Basic Auth Header 

 

Click 'Get New Access Token' and follow the login process in the browser. After the token has been obtained, click 'Use Token' 

 7. Select a request then perform a Send.