View plant groups - Intergraph Smart Engineering Manager - 3.0 - Help - Hexagon PPM

Intergraph Smart Engineering Manager Web API Help

Language
English
Product
Intergraph Smart Engineering Manager
Search by Category
Help
Smart Engineering Manager Web Version
3.0

Use the GET method to view the plant groups in a specified plant with the following input:

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

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

Resource path strings are case-sensitive.

Sample URI for viewing all plant groups

GET

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/Sites('WebAPISite01')/Plants('WebAPIPlant01')/PlantGroups

Sample JSON response

A typical response to the request is:

{

"@odata.context": "https://localhost/sem-webapi/sem/v3/$metadata#Sites('WebAPISite01')/Plants('WebAPIPlant01')/PlantGroups",

    "value": [

        {

"Id": "7AD2A6F3C5EF48F18023B7276EB2192F",

"ConcurrencyToken": "5248391434838837786",

"Name": "a1",

"Description": "",

"PlantGroupType": "Area",

"Level": "1",

"ParentId": "9A2771AC531246A3BE9BE8920F32F8BD"

},

{

"Id": "3A7B706F5E1E4838B646C7AFD47B29E6",

"ConcurrencyToken": "5248391434838837786",

"Name": "u1",

"Description": "",

"PlantGroupType": "Unit",

"Level": "2",

"ParentId": "7AD2A6F3C5EF48F18023B7276EB2192F"

        }

    ]

}

Sample URI for viewing specific plant group

GET

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/Sites('WebAPISite01')/Plants('WebAPIPlant01')/PlantGroups('3A7B706F5E1E4838B646C7AFD47B29E6')