Import and configure SEM JSON files - Intergraph Smart Engineering Manager - 3.0 - Installation & Upgrade - Hexagon

Intergraph Smart Engineering Manager Web Installation and Configuration

Language
English
Product
Intergraph Smart Engineering Manager
Subproduct
Web
Search by Category
Installation & Upgrade
Smart Engineering Manager Web Version
3.0

Before you can work with the imported environments and collections, you must install Postman. For details, see Installing and Configuring your REST Client Application.

Environments in Postman allow you set constant values for keys used within requests. You can then edit and manage the values in one place and use them in multiple requests and in multiple locations. You can create your own environment; however, for the purpose of this document, we created an environment that is comprised of several keys, which we frequently use in our requests. This environment and the request collection are saved as JSON files for you to import.

Download the environment and collection JSON files

  1. Click the Attachments tab in this document, containing the JSON files as attachments.

  2. Download the files, consisting of:

    • A sample environment file, for example: TrainingEnvSEM.postman_environment.json

    • One or more request collections, for example: Demo SEM Web API.postman_collection.json

    It is recommended that you download all files to the same folder location, as they can then be imported together.

Import the files into Postman

The sample queries are grouped together to create a collection, which you need to import into Postman as follows:

  1. In the top bar, click the Import button.

  2. From the Import window, do one of the following:

    • Drag and drop the files into the window.

    • Click Upload Files and navigate to the appropriate file location.

  3. Click Import.

    Collections containing sample requests are added to the Collections tab and the environment becomes available from the Environments tab.

View or edit the variables in an environment

  1. At the left bar in Postman, click the Environments tab.

  2. Select the environment to see the list of keys and values.

  3. Add or edit the relevant values in the CURRENT VALUE column, as appropriate for your environment.

    For a full list of keys and how to obtain their values, see Key values for Postman used in this tutorial.

    SHARED Tip The values of the samServerUri and resourceID keys can be found by running the Get Description request and copying the TokenIssuerUri and TokenAudience values respectively from the response.

  4. When done, click Save.