...
Use this API to send a command on requested devil. Needed arguments are:
- raw: if TRUE, raw send command request. Needed arguments are:
- devilNumber
- : The devil number to query;
- opcode: TCP_DCS opcode to call;
- arguments: String containing command arguments;
- raw: if FALSE, complex send command request. Needed arguments are:
- element: The element to interact with;
- param: The parameter to be modified. Possible values are:
- Current
- Bypass
- Mode
- etc. (to be defined)
- value: The value to apply to the parameter for the element requested;
Example Query
To test this query, Postman can be used.
...
In the Body Tab, select raw for format and add the needed data to execute command (Fig. 2);
Fig. 2 - Added json data in Body section (example of raw ECHO query)
Press on Send button and the response will be available in the bottom part of Postman Window. You should see a json message like the one in Fig. 3;
Fig. 3 - JSON Response
...