The Restart Collector API
Using the Restart Collector API, you can restart a collector.
METHOD | PUT |
URI |
|
SAMPLE URI |
|
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 |
winUserName |
The Windows username. | Yes | String |
winPassword |
The Windows password | Yes | 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. |