Update plant group - 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 update a plant group's description.

Use the PATCH method to update a plant group with the following input:

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

  • Resource path: /Sites('<Site Name>')/Plants('<Plant Name>')/PlantGroups('<Plant Group ID>')

Resource path strings are case-sensitive.

Sample URI

PATCH

https://WebApiServer1/sem-webapi/sem/v3/Sites('WebAPISite01')/Plants('WebAPIPlant01')/PlantGroups('74F315AB0DDA4BE0822FB7DFC061F89B')

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

  • The plant group's Id value can be obtained by running the View plant groups request.

  • The 'UnitCode' parameter only applies to a plant group of type Unit.

Sample JSON request

{

"Name": "Unit 1 revamp",

"Description": "Unit 1 updated description",

"UnitCode": "Unit 1 update"

}

What do you want to do next?

Related topics

Create plant group

Delete plant group