GET Requests for Select Lists - 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

Select lists in Smart P&ID's metadata are exposed at the plant level. They are a resource of the plant.

Select lists + count

This request retrieves all the select lists in the application by their IDs and displays a total count of the select lists.

  • Select the request 06.01 Select lists + count and click Send.

    https://apiservername.domain.com/WebApi/SPID/V2/Sites('WEBAPISITE001')/Plants('PLANT001')/
    SelectLists?$count=true

Select list expand items

This request retrieves the properties of select list 'C138' (Application Status) and expands the select list entries.

  • Select the request 06.02 Select list expand items and click Send.

    https://apiservername.domain.com/WebApi/SPID/V2/Sites('WEBAPISITE001')/Plants('PLANT001')/
    SelectLists('C138')?$expand=Items

Select list selected property

This request retrieves the 'Name' property for all the select lists in the application.

  • Select the request 06.03 Select list selected property and click Send.

    https://apiservername.domain.com/WebApi/SPID/V2/Sites('WEBAPISITE001')/Plants('PLANT001')/
    SelectLists/?$select=Name

Select list items + count

This request retrieves the select list entries with a total count for select list 'C150' (Drawing Status).

  • Select the request 06.04 Select list items + count and click Send.

    https://apiservername.domain.com/WebApi/SPID/V2/Sites('WEBAPISITE001')/Plants('PLANT001')/
    SelectLists('C150')/Items?$count=true

Select list items selected property + count

This request retrieves the select list entry names with a total count for select list 'C150' (Drawing Status).

  • Select the request 06.05 Select list items selected property + count and click Send.

    https://apiservername.domain.com/WebApi/SPID/V2/Sites('WEBAPISITE001')/Plants('PLANT001')/
    SelectLists('C150')/Items?$select=Name&$count=true