Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.93 KB

BatchApi.md

File metadata and controls

59 lines (38 loc) · 1.93 KB

Spinen\ConnectWise\Clients\System\BatchApi

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

systemBatchPost

\Spinen\ConnectWise\Clients\System\Model\BatchResponse systemBatchPost($request)

Process Batch Requests

Example

<?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;
}
?>

Parameters

Name Type Description Notes
request \Spinen\ConnectWise\Clients\System\Model\BatchRequest

Return type

\Spinen\ConnectWise\Clients\System\Model\BatchResponse

Authorization

BasicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]