2017 © Pedro Peláez
 

library connectwise-time-php-client

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

image

spinen/connectwise-time-php-client

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

  • Wednesday, September 6, 2017
  • by david.mathews
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 50 % Grown

The README.md

connectwise-time-php-client

ConnectWise Time API, (*1)

This PHP package is automatically generated by the Swagger Codegen project:, (*2)

  • 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, (*3)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*4)

composer require spinen/connectwise-time-php-client

Or modify your composer.json file:, (*5)

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

Manual Installation

Download the files and include autoload.php:, (*6)

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

Tests

To run the unit tests:, (*7)

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:, (*8)

setUsername('YOUR_USERNAME');
Spinen\ConnectWise\Clients\Time\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Spinen\ConnectWise\Clients\Time\Api\ActivityStopwatchesApi();
$conditions = "conditions_example"; // string | 

try {
    $result = $api_instance->timeActivitystopwatchesCountGet($conditions);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ActivityStopwatchesApi->timeActivitystopwatchesCountGet: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0, (*9)

Class Method HTTP request Description
ActivityStopwatchesApi timeActivitystopwatchesCountGet GET /time/activitystopwatches/count
ActivityStopwatchesApi timeActivitystopwatchesGet GET /time/activitystopwatches
ActivityStopwatchesApi timeActivitystopwatchesIdDelete DELETE /time/activitystopwatches/{id}
ActivityStopwatchesApi timeActivitystopwatchesIdGet GET /time/activitystopwatches/{id}
ActivityStopwatchesApi timeActivitystopwatchesIdPatch PATCH /time/activitystopwatches/{id}
ActivityStopwatchesApi timeActivitystopwatchesIdPut PUT /time/activitystopwatches/{id}
ActivityStopwatchesApi timeActivitystopwatchesPost POST /time/activitystopwatches
ScheduleStopwatchesApi timeSchedulestopwatchesCountGet GET /time/schedulestopwatches/count
ScheduleStopwatchesApi timeSchedulestopwatchesGet GET /time/schedulestopwatches
ScheduleStopwatchesApi timeSchedulestopwatchesIdDelete DELETE /time/schedulestopwatches/{id}
ScheduleStopwatchesApi timeSchedulestopwatchesIdGet GET /time/schedulestopwatches/{id}
ScheduleStopwatchesApi timeSchedulestopwatchesIdPatch PATCH /time/schedulestopwatches/{id}
ScheduleStopwatchesApi timeSchedulestopwatchesIdPut PUT /time/schedulestopwatches/{id}
ScheduleStopwatchesApi timeSchedulestopwatchesPost POST /time/schedulestopwatches
TicketStopwatchesApi timeTicketstopwatchesCountGet GET /time/ticketstopwatches/count
TicketStopwatchesApi timeTicketstopwatchesGet GET /time/ticketstopwatches
TicketStopwatchesApi timeTicketstopwatchesIdDelete DELETE /time/ticketstopwatches/{id}
TicketStopwatchesApi timeTicketstopwatchesIdGet GET /time/ticketstopwatches/{id}
TicketStopwatchesApi timeTicketstopwatchesIdPatch PATCH /time/ticketstopwatches/{id}
TicketStopwatchesApi timeTicketstopwatchesIdPut PUT /time/ticketstopwatches/{id}
TicketStopwatchesApi timeTicketstopwatchesPost POST /time/ticketstopwatches
TimeEntriesApi timeEntriesCountGet GET /time/entries/count
TimeEntriesApi timeEntriesGet GET /time/entries
TimeEntriesApi timeEntriesIdDelete DELETE /time/entries/{id}
TimeEntriesApi timeEntriesIdGet GET /time/entries/{id}
TimeEntriesApi timeEntriesIdPatch PATCH /time/entries/{id}
TimeEntriesApi timeEntriesIdPut PUT /time/entries/{id}
TimeEntriesApi timeEntriesPost POST /time/entries

Documentation For Models

Documentation For Authorization

BasicAuth

  • Type: HTTP basic authentication

The Versions

06/09 2017

dev-master

9999999-dev http://spinen.com

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

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api sdk client spinen connectwise