The Start Collector API
Using the Start Collector API, you can start a collector.
| METHOD | PUT |
| URI |
|
| SAMPLE URI | Sample URI for the service
mode:Sample
URI for the command line
mode: |
| SAMPLE RESPONSE |
|
| SAMPLE cURL COMMAND |
|
Query Parameters
Query parameters include the Payload parameter, which is a JSON file, which contains the following properties.
| Parameter | Description | Required? | Values |
|---|---|---|---|
interfaceName |
The interface name of the collector. | Yes | String |
mode |
The mode to use to manage the collector. | Yes |
|
winUserName |
The Windows username. | Yes (only if you want to use the command-line mode) | String |
winPassword |
The Windows password | Yes (only if you want to use the command-line mode) | String |
Response Parameters
| Parameter | Data Type | Required? | Description |
|---|---|---|---|
ErrorCode |
Integer | Yes | For example, ErrorCode = 0 implies the operation was successful. |
ErrorMessage |
String | Yes | For example, NULL. |
Data |
String | No | Indicates if the task has been initiated. |