spinen/connectwise-mobile-php-client

Spinen's PHP ConnectWise Client for Mobile API generated by Swagger Code Generator.

dev-master 2017-01-19 22:22 UTC

This package is auto-updated.

Last update: 2024-12-22 01:44:56 UTC


README

ConnectWise Mobile API

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 3.0.0-beta
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.6.0 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

composer require spinen/connectwise-mobile-php-client

Or modify your composer.json file:

{
    "require": {
        "spinen/connectwise-mobile-php-client": "^3.0.0-beta"
    }
}

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/connectwise-mobile-php-client/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure HTTP basic authorization: BasicAuth
Spinen\ConnectWise\Clients\Mobile\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Spinen\ConnectWise\Clients\Mobile\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Spinen\ConnectWise\Clients\Mobile\Api\SendEmailConflictsApi();
$request = new \Spinen\ConnectWise\Clients\Mobile\Model\EmailConflictRequest(); // \Spinen\ConnectWise\Clients\Mobile\Model\EmailConflictRequest | 

try {
    $api_instance->mobileEmailsConflictPost($request);
} catch (Exception $e) {
    echo 'Exception when calling SendEmailConflictsApi->mobileEmailsConflictPost: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0

Documentation For Models

Documentation For Authorization

BasicAuth

  • Type: HTTP basic authentication