Update 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 update your site's backup location.

Use the PATCH method to update a 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

PATCH

https://WebApiServer1/sem-webapi/sem/v2/Sites('WebAPISite01')

The Header field of the update script must contain the key 'If-Match' with value * or some other suitable value.

Sample JSON request

Backslashes used in paths must be doubled as shown below.

{

"SiteBackupLocationPath": "\\\\VSORA12SEM\\AppOra12\\API_Sites\\Backups2",

"SystemPassword": "MyPassword02"

}

JSON request parameters

The table shows the list of site parameters that can be updated.

Parameter

Value

Description and Comments

SiteBackupLocationPath

<path for site backup file location>

SiteRoleTemplateLocationPath

<path for site role templates location>

SiteAdminUserGroup

<Domain Name/User Group>

SiteAdminUserGroupToEachPlant

true / false

SystemUser

For SQL Server, the case-sensitivity of this value depends on how the DBA defines it for the database

SystemPassword

What do you want to do next?

Related topics

Exclude site

Update site

View sites