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.
You can login only if the given SRD username is already mapped to the authentication server login username in the Smart Materials Web application.
-
From the desktop, double-click the icon.
-
Type the following details and click Check Connection. The authentication server login page appears.
-
Login to the authentication server with the valid username and password.
-
You can login only if the Connection Details are connect.
-
After the connection is successful, all the fields in the Connection Details remain disabled.
-
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 Client Secret should be empty for OKTA server. |
******* |
Scope |
Resource Id required for token generation |
9AE1AACC-A09A-425C-A655-E7748E787473 |
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.