This is an old revision of the document!
Remote agent can callback to the server to retrieve data from the model. For example, the agent may need to retrieve a user variable or system variable or even a row of data from the dataset needed to complete the command.
The following actions are supported:
- getVar - retrieves a user variable
[[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getVar&varName=myVar|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getVar&varName=myVar]]
- getSysVar - retrieves a user variable
[[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getSysVar&varName=curStateID|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getSysVar&varName=curStateID]]
- getData - retrieves a field from a dataset
[[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getData&dsName=myDS&fieldName=myField|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getData&dsName=myDS&fieldName=myField]]
- nextDataSetRow - advances the dataset to the next row
[[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=nextDataSetRow&dsName=myDS|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=nextDataSetRow&dsName=myDS]]