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 |
---|---|---|
systemBatchPost | POST /system/batch |
\Spinen\ConnectWise\Clients\System\Model\BatchResponse systemBatchPost($request)
Process Batch Requests
<?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\BatchApi();
$request = new \Spinen\ConnectWise\Clients\System\Model\BatchRequest(); // \Spinen\ConnectWise\Clients\System\Model\BatchRequest |
try {
$result = $api_instance->systemBatchPost($request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BatchApi->systemBatchPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
request | \Spinen\ConnectWise\Clients\System\Model\BatchRequest |
\Spinen\ConnectWise\Clients\System\Model\BatchResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]