PATCH Requests to update item properties - Intergraph Smart Electrical - 2.0 - Help - Intergraph

Intergraph Smart Electrical Web API Help

Language
English
Product
Intergraph Smart Electrical
Subproduct
Web API
Search by Category
Help
Smart Electrical Web Version
2.0

This request provides an example for updating a property of a motor. You can follow this procedure and modify the request to update any suitable property of any item type.

  1. Select the request 03.01 Motors.

    https://apiservername.domain.com/WebApi/SEL/V2/Sites('WEBAPISITE001')/Plants('PLANT001')/Motors('0584D3F3D20F4EF0BDCC11C943999F7C')

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

  2. Ensure that the Body field of the update script contains the following parameters (the example shown is for updating a motor's Tag Prefix property):

    {

    "@odata.type": "#Com.Ingr.SEL.V2.WEBAPISITE002.AWSSELPlant.Motor",

    "TagPrefix": "CCC"

    }

  3. Modify the value of the item's property as required.

  4. Click Send.