The general format of a URL request to the Smart Construction web API is:
http://Host/SiteVirtualDirectoryName/api/v2/SPC/[APIName]
-
Host is the name of the SmartPlant Foundation web server which has the Smart Construction installed on it.
-
SiteVirtualDirectory is the name of the website as defined in IIS.
-
v2/SPC is the service prefix
For example, to navigate from a component with ID “6G4N2DNA” to the related drawings, the following URL is used:
http://Host/SiteVirtualDirectoryName/api/v2/SPC /Components?$filter=Id eq '6G4N2DNA' &$expand=Document