Import and edit your environment - Intergraph Smart Electrical - 2.0 - Help - Intergraph

Intergraph Smart Electrical Web API Help

Language
English
Product
Intergraph Smart Electrical
Subproduct
Web API
Search by Category
Help
Smart Electrical Web Version
2.0

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 is saved as a JSON file for you to import.

  1. Click the gear icon in the top-right corner of Postman and select Manage Environments.

  2. In the Manage Environments window, click the Import button.

  3. Click the button.

  4. Navigate to the supplied JSON file: TrainingEnvSEL.postman_environment.json, and click Open.

  5. Click TrainingEnvSEL to see the list of keys and values.

  6. Select and fill in the relevant values in the Value column, as appropriate for your environment. The values displayed in the red box are only an example.

  7. Click the button and then close the Manage Environments window.

  8. Click the drop-down menu in the upper right corner of Postman and select TrainingEnvSEL.

Import a Collection

The sample queries are grouped together to create a Collection, which you need to import into Postman.

  1. Click the Import button, from the top bar in Postman.

  2. From the IMPORT window, click and navigate to the Demo SEL WebAPI.postman_collection.json.

  3. Click Open.

    A new folder named Demo SEL WebAPI is added to the Collections tab, containing our sample requests.