cancelAllSoftwareRequestsForMachineName
You can use the cancelAllSoftwareRequestsForMachineName web method to cancel all software requests for a specified machine and, optionally, all previously completed requests. You can also specify whether to send email notifications about the cancellation.
Parameters
The cancelAllSoftwareRequestsForMachineName web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| strMachineName | String | The name of the group to remove inventory rules from. | |
| bDoNotifications | Boolean | Whether to generate cancel email notifications | |
| bCancelCompleted | Boolean | Whether to cancel completed (installed) items. |
Return Value
Returns one of the following values:
- Returns a 1 for success
- Returns a -1 for error