Actions and functions - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

The following example shows the ExposedActions and ExposedFunctions:

This server code is represented in SmartPlant Foundation using the following model XML:

These actions and functions are exposed using the following POSTs:

http://[Local Host]/spfserver/api/v1/ExposedAction()

Payload: { "parameter1": "value1", "parameter2": ["1", "2"]}

http://[Local Host]/spfserver/api/v1/ExposedFunction()

Payload: { "parameter1": "value1", "parameter2": ["1", "2"]}