POST api/CommandController/GetCommandsToRun
Request Information
URI Parameters
None.
Body Parameters
ToRunRequestName | Description | Type | Additional information |
---|---|---|---|
logger | string |
None. |
|
token | string |
None. |
|
hash | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "logger": "sample string 1", "token": "sample string 2", "hash": "sample string 3" }
application/xml, text/xml
Sample:
<ToRunRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransactionDatabaseConnector"> <hash>sample string 3</hash> <logger>sample string 1</logger> <token>sample string 2</token> </ToRunRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of LoggerCommandsToRunName | Description | Type | Additional information |
---|---|---|---|
CommandID | integer |
None. |
|
Command | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CommandID": 1, "Command": "sample string 2" }, { "CommandID": 1, "Command": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfLoggerCommandsToRun xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransactionDatabaseConnector"> <LoggerCommandsToRun> <Command>sample string 2</Command> <CommandID>1</CommandID> </LoggerCommandsToRun> <LoggerCommandsToRun> <Command>sample string 2</Command> <CommandID>1</CommandID> </LoggerCommandsToRun> </ArrayOfLoggerCommandsToRun>