Import site - Intergraph Smart Engineering Manager - Help - Intergraph

Intergraph Smart Engineering Manager Smart API Help (Version 2)

PPMProduct
Intergraph Smart Engineering Manager
PPMCategory_custom
Help
Version_WebSEM
2.0

This request allows you to import a site that was created in the Desktop version of the software, such as Smart Engineering Manager 2019 or a site that was excluded by the Exclude site request. Importing a site allows you to view and work with it under the endpoint source for the server on which Smart Engineering Manager Web API is installed.

Do not import a site into more than one endpoint source. This may lead to a situation where multiple users are trying to change site data simultaneously resulting in data corruption.

Use the POST method to import a site with the following input:

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

  • Resource path: /Sites/Com.Ingr.Sem.v2.Import/

  • Resource path strings are case-sensitive.

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

Sample URI

POST

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v2/Sites/Com.Ingr.Sem.v2.Import/

Sample JSON request

Backslashes used in paths must be doubled as shown below.

{

"SiteName": "WebAPISite02",

"IniFilePath": "\\\\VSORA12SEM\\AppOra12\\API_Sites\\WebAPISite02",

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

}

JSON request parameters

Parameter

Value

Description and Comments

SiteName

Name of the site to be imported

IniFilePath

<path for site .ini file location>

Existing path for specified site

SiteAdminUserGroup

<Domain Name/User Group>

What do you want to do next?

Related topics

Exclude site

Update site

View sites

Delete site