ConnectWise Schedule 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
PHP 5.6.0 and later
To install the bindings via Composer, add the following to composer.json
:
composer require spinen/connectwise-schedule-php-client
Or modify your composer.json
file:
{
"require": {
"spinen/connectwise-schedule-php-client": "^3.0.0-beta"
}
}
Download the files and include autoload.php
:
require_once('/path/to/connectwise-schedule-php-client/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
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\Schedule\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Spinen\ConnectWise\Clients\Schedule\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Spinen\ConnectWise\Clients\Schedule\Api\ScheduleEntriesApi();
$conditions = "conditions_example"; // string |
try {
$result = $api_instance->scheduleEntriesCountGet($conditions);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ScheduleEntriesApi->scheduleEntriesCountGet: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0
Class | Method | HTTP request | Description |
---|---|---|---|
ScheduleEntriesApi | scheduleEntriesCountGet | GET /schedule/entries/count | |
ScheduleEntriesApi | scheduleEntriesGet | GET /schedule/entries | |
ScheduleEntriesApi | scheduleEntriesIdDelete | DELETE /schedule/entries/{id} | |
ScheduleEntriesApi | scheduleEntriesIdGet | GET /schedule/entries/{id} | |
ScheduleEntriesApi | scheduleEntriesIdPatch | PATCH /schedule/entries/{id} | |
ScheduleEntriesApi | scheduleEntriesIdPut | PUT /schedule/entries/{id} | |
ScheduleEntriesApi | scheduleEntriesPost | POST /schedule/entries | |
ScheduleReminderTimesApi | scheduleReminderTimesCountGet | GET /schedule/reminderTimes/count | |
ScheduleReminderTimesApi | scheduleReminderTimesGet | GET /schedule/reminderTimes | |
ScheduleReminderTimesApi | scheduleReminderTimesIdGet | GET /schedule/reminderTimes/{id} | |
ScheduleReminderTimesApi | scheduleReminderTimesIdPatch | PATCH /schedule/reminderTimes/{id} | |
ScheduleReminderTimesApi | scheduleReminderTimesIdPut | PUT /schedule/reminderTimes/{id} | |
ScheduleStatusesApi | scheduleStatusesCountGet | GET /schedule/statuses/count | |
ScheduleStatusesApi | scheduleStatusesGet | GET /schedule/statuses | |
ScheduleStatusesApi | scheduleStatusesIdDelete | DELETE /schedule/statuses/{id} | |
ScheduleStatusesApi | scheduleStatusesIdGet | GET /schedule/statuses/{id} | |
ScheduleStatusesApi | scheduleStatusesIdPatch | PATCH /schedule/statuses/{id} | |
ScheduleStatusesApi | scheduleStatusesIdPut | PUT /schedule/statuses/{id} | |
ScheduleStatusesApi | scheduleStatusesPost | POST /schedule/statuses | |
ScheduleTypesApi | scheduleTypesCountGet | GET /schedule/types/count | |
ScheduleTypesApi | scheduleTypesGet | GET /schedule/types | |
ScheduleTypesApi | scheduleTypesIdDelete | DELETE /schedule/types/{id} | |
ScheduleTypesApi | scheduleTypesIdGet | GET /schedule/types/{id} | |
ScheduleTypesApi | scheduleTypesIdPatch | PATCH /schedule/types/{id} | |
ScheduleTypesApi | scheduleTypesIdPut | PUT /schedule/types/{id} | |
ScheduleTypesApi | scheduleTypesPost | POST /schedule/types |
- ChargeCodeReference
- Count
- Error
- Guid
- MemberReference
- Metadata
- PatchOperation
- ReminderReference
- ScheduleEntry
- ScheduleReminderTime
- ScheduleSpanReference
- ScheduleStatus
- ScheduleStatusReference
- ScheduleType
- ScheduleTypeReference
- ServiceLocationReference
- ValidationError
- Type: HTTP basic authentication