Spinen's PHP ConnectWise Client for System API generated by Swagger Code Generator.
All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0
Method | HTTP request | Description |
---|---|---|
systemAudittrailCountGet | GET /system/audittrail/count | |
systemAudittrailGet | GET /system/audittrail |
\Spinen\ConnectWise\Clients\System\Model\Count systemAudittrailCountGet($type, $id, $device_identifier)
Get Members Count
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
Spinen\ConnectWise\Clients\System\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Spinen\ConnectWise\Clients\System\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Spinen\ConnectWise\Clients\System\Api\AuditTrailApi();
$type = "type_example"; // string |
$id = 56; // int |
$device_identifier = "device_identifier_example"; // string |
try {
$result = $api_instance->systemAudittrailCountGet($type, $id, $device_identifier);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditTrailApi->systemAudittrailCountGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | [optional] | |
id | int | [optional] | |
device_identifier | string | [optional] |
\Spinen\ConnectWise\Clients\System\Model\Count
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Spinen\ConnectWise\Clients\System\Model\AuditTrailEntry[] systemAudittrailGet($type, $id, $device_identifier, $page, $page_size)
Get Audit Trail
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
Spinen\ConnectWise\Clients\System\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Spinen\ConnectWise\Clients\System\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Spinen\ConnectWise\Clients\System\Api\AuditTrailApi();
$type = "type_example"; // string |
$id = 56; // int |
$device_identifier = "device_identifier_example"; // string |
$page = 56; // int |
$page_size = 56; // int |
try {
$result = $api_instance->systemAudittrailGet($type, $id, $device_identifier, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditTrailApi->systemAudittrailGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | [optional] | |
id | int | [optional] | |
device_identifier | string | [optional] | |
page | int | [optional] | |
page_size | int | [optional] |
\Spinen\ConnectWise\Clients\System\Model\AuditTrailEntry[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]