GET 03 Exercises - Intergraph Smart P&ID - 2.0 - Customization & Programming - Hexagon

Intergraph Smart P&ID Web API Help

Language
English
Product
Intergraph Smart P&ID
Subproduct
Web API
Search by Category
Customization & Programming
Smart P&ID Web API Version
2.0
Smart Electrical Web Version
2.0.1

Exercise 03.01 Request plant item type (pipe runs)

Based on the request 03.01 Vessels, which exposes vessels from the plant, do the following:

  • Create a request that retrieves pipe runs in PLANT001.

Exercise 03.02 Request pipe run collection plus count

Based on the request you created in Exercise 03.01, add to the request a method that displays the total count of items in the payload.

  • Create a request that retrieves the pipe runs and their total number in PLANT001.

Exercise 03.03 Request pipe run collection, plus count, plus selected properties

Based on the request you created in Exercise 03.02, add several pipe run properties.

  • Create a request that retrieves the pipe runs and their total number in PLANT001. In addition, retrieve the properties based on the following display names:

    • Item Tag

    • Cable Description Pipe Run Type

    • Flow Direction

    • Nominal Diameter

    • Piping Materials Class

      SHARED Tip Use the 02.04 Plant annotations request results to find the actual property when using the select option. Use the Search option to find the property related to PipeRun in each case by typing, for example: String=”Item Tag”.

Exercise 03.04 Request pipe run collection – order by item tag in ascending plus selected properties

Based on the request you created in Exercise 03.03, add an option to sort in an ascending order.

Edit the request in Exercise 03.03, and add the $orderby method, with the ascending option.