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/v4
-
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/v4/Sites('WebAPISite02')/Plants('WebAPIPlant02')/Applications(‘Sppid’)/Com.Ingr.Sem.v2.Compare/
Sample JSON request
{
"sourceSiteName": "WebAPISite02",
"sourcePlantOrPackageName": "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 |