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"]}