To use the Web APIs, the P&ID Options manager is enhanced to include the following set of configurations items. These configuration items are required to fetch the authentication tokens which is required for the SRD Web APIs.
-
From the desktop, double-click the icon.
-
Type the following details and click Check Connection.
Configuration Name |
Remarks |
Sample Example |
Authentication Server |
The server name and the URI used to retrieve the token. You can configure the WEB APIs either with OKTA or SAM |
SAM: https://samdev.ingrnet.com/sam/oauth/connect/token OKTA: https://sandbox.intergraphsmartcloud.com/oauth2/ausw74vnrIkqFu6CR0x6/v1/token |
Grant Type |
Grant Type required for token generation |
password |
Client Id |
Client Id required for token generation |
27E16D8E-AF73-46DF-B987-D98632415F83 |
Client Secret |
Client secret required for token generation |
******* |
Scope |
Resource Id required for token generation |
9AE1AACC-A09A-425C-A655-E7748E787473 |
User Name |
SRD user name registered in SAM and used for token generation |
SPRDSDB |
Password |
Password for SRD user |
********* |
Plant Name |
The Plant (Project name) along with the base URI for SRD Web API |
https://in-srddeveub.ingrnet.com/SmartMaterialsSRDCurrent/SRDAPI/Srd/V2/Projects(‘SDB’) |
The Specification Data tab is enabled only after the connection is successful.
As a P&ID user, you can perform the following validations against Smart Reference Data.
-
View the list of piping material classes available for a specified project.
-
View the list of piping specification revisions available for the selected pipe specification.
-
Fetch the commodity code based on the size and short code for the selected specification.
-
View the list of available nominal diameters for selected pipe specification.
-
View the list of commodity options available for a selected commodity code.
-
Validate service limits data entered against the selected specification.