View sites - Intergraph Smart Engineering Manager - Help - Intergraph

Intergraph Smart Engineering Manager Smart API Help (2.0)

PPMProduct
Intergraph Smart Engineering Manager
PPMCategory_custom
Help
Version_WebSEM
2.0

Use the GET method to view all your sites or a specified site with the following input:

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

  • Resource path: /Sites('<Site Name>')

Resource path strings are case-sensitive.

Sample URI for viewing all sites

GET

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/V2/Sites

Sample URI for viewing specific site

GET

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/V2/Sites('WebAPISite01_ORA')

Sample JSON response

The response to the request is:

{

"@odata.context": "https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/V2/$metadata#Sites/$entity",

"Id": "WebAPISite01_ORA",

"ConcurrencyToken": "5248395702443718192",

"DataBaseType": "Oracle",

"SiteIniFileNamePath": "\\\\VSORA12SEM\\AppOra12\\API_Sites\\WebAPISite01_ORA",

"Name": "WebAPISite01_ORA",

"SiteBackupLocationPath": "\\\\VSORA12SEM\\AppOra12\\API_Sites\\WebAPISite01_ORA\\Backups",

"SiteRoleTemplateLocationPath": "\\\\VSORA12SEM\\AppOra12\\API_Sites\\WebAPISite01_ORA\\Roles",

"SiteAdminUserGroup": "MyDomain.com/ALL-Domain-Users",

"SiteAdminAddUserGroupToEachPlant": true,

"OracleAlias": "SEM12DEV",

"OracleSystemUser": "system",

"OracleSystemPassword": "BR#######u#######d#######f#######o#######h#######4#######5######",

"DataDictOracleUserName": "WebAPISite01_ORAd",

"DataDictOraclePassword": "BVR######lU######wD######hg######b#######3#######4#######b######",

"SchemaOracleUserName": "WebAPISite01_ORA",

"SchemaOraclePassword": "BVR######lU######wD######h#######b#######3#######4#######b######"

}