Example Commands - EcoSys - Customization & Programming - Hexagon

EcoSys Gateway Web Service API Client

Language
English
Product
EcoSys
Search by Category
Customization & Programming
EcoSys Version
9.0

The following are example commands invoking EcoSys Gateway:

Object Writes from a File Source

java -jar gateway.jar createorupdate http://appserv/ecosys/api/restxml/Tasks/ taskdata.txt -u admin -p secret

java -jar gateway.jar delete http://.../Tasks/ taskdata.txt -log output.log -detail all -u admin -p secret

Object Reads from a SQL Source

java -jar gateway.jar create http://... @queryconfig.txt -u admin -p secret

java -jar gateway.jar create http://... @queryconfig.txt -u admin -p secret -skiprowcount true

For more information, see Format for Configuration Property File.

Generate Data or Traffic with "-test" Mode

java -jar gateway.jar create http://.../Tasks/ templaterules.txt -test 5000 -msgsize 1000 -u admin -p secret

Object Reads into Flat File

java -jar gateway.jar read http://.../CostDetails -out extract.txt

Event Trigger Using Only URL Params

java -jar gateway.jar trigger http://.../ApproveProject/Project456?_username=admin&_password=secret