Compare a plant with a package - Intergraph Smart Engineering Manager - 3.0 - Customization & Programming - Hexagon

Intergraph Smart Engineering Manager Web API Help

Language
English
Product
Intergraph Smart Engineering Manager
Subproduct
Web API
Search by Category
Customization & Programming
Smart Engineering Manager Web Version
3.0

This request allows you to compare reference data between a plant and a package.

Use the POST method to compare the reference data with the following input:

  • Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v3

  • Resource path: /Sites('<Site Name>')/Plants('<Plant Name>')/Applications('<Application>')/Com.Ingr.Sem.V2.Compare/

  • Resource path strings are case-sensitive.

  • The backslash at the end of the resource path is mandatory.

  • You must specify one of the following as the application type:

    • Spel (for Smart Electrical)

    • Sppid (for Smart P&ID)

Sample URI

POST

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/Sites('WebAPISite02')/Plants('WebAPIPlant02')/Applications(‘Sppid’)/Com.Ingr.Sem.V2.Compare/

Sample JSON request

{

"sourceSiteName": "WebAPISite02",

"sourcePlantOrPackageName": "\\\\sem-sites\\WebAPI_Sites\\WebAPISite02\\Plants\\Backups\\PIDPackageof_WebAPIPlant01.zip",

"isSourcePackage": true

}

JSON request parameters

Parameter

Value

Description and Comments

sourceSiteName

<Name of source site>

sourcePlantOrPackageName

<Package name>

Name of package from available packages in the source site

issourcePackage

true

Value 'true' is required when comparing a plant with a package