Update plant group - 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 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/v2

  • 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/v2/Sites('WebAPISite_01')/Plants('WebAPIPlant_01')/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