All URIs are relative to https://app.billbee.io, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
webHookManagementDelete() | DELETE /api/v1/webhooks/{id} | Deletes an existing WebHook registration. |
webHookManagementDeleteAll() | DELETE /api/v1/webhooks | Deletes all existing WebHook registrations. |
webHookManagementGet() | GET /api/v1/webhooks | Gets all registered WebHooks for a given user. |
webHookManagementGetFilters() | GET /api/v1/webhooks/filters | Returns a list of all known filters you can use to register webhooks |
webHookManagementLookup() | GET /api/v1/webhooks/{id} | Looks up a registered WebHook with the given {id} for a given user. |
webHookManagementPost() | POST /api/v1/webhooks | Registers a new WebHook for a given user. |
webHookManagementPut() | PUT /api/v1/webhooks/{id} | Updates an existing WebHook registration. |
webHookManagementDelete($id): object
Deletes an existing WebHook registration.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | The WebHook ID.
try {
$result = $apiInstance->webHookManagementDelete($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementDelete: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The WebHook ID. |
object
- Content-Type: Not defined
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webHookManagementDeleteAll(): object
Deletes all existing WebHook registrations.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->webHookManagementDeleteAll();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementDeleteAll: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
object
- Content-Type: Not defined
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webHookManagementGet(): \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel[]
Gets all registered WebHooks for a given user.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->webHookManagementGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementGet: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel[]
- Content-Type: Not defined
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webHookManagementGetFilters(): object
Returns a list of all known filters you can use to register webhooks
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->webHookManagementGetFilters();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementGetFilters: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
object
- Content-Type: Not defined
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webHookManagementLookup($id): \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel
Looks up a registered WebHook with the given {id} for a given user.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
try {
$result = $apiInstance->webHookManagementLookup($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementLookup: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string |
\kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel
- Content-Type: Not defined
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webHookManagementPost($web_hook): \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel
Registers a new WebHook for a given user.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$web_hook = new \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel(); // \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel | The webhook to create. Attach ?noecho to the uri to prevent echo test.
try {
$result = $apiInstance->webHookManagementPost($web_hook);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
web_hook | \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel | The webhook to create. Attach ?noecho to the uri to prevent echo test. |
\kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel
- Content-Type:
application/json
,text/json
,application/x-www-form-urlencoded
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webHookManagementPut($id, $web_hook): \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel
Updates an existing WebHook registration.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure API key authorization: ApiKeyAuth
$config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKey('X-Billbee-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = kruegge82\billbee\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Billbee-Api-Key', 'Bearer');
$apiInstance = new kruegge82\billbee\Api\WebhooksApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | The WebHook ID.
$web_hook = new \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel(); // \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel | The new webhook to use.
try {
$result = $apiInstance->webHookManagementPut($id, $web_hook);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webHookManagementPut: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The WebHook ID. | |
web_hook | \kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel | The new webhook to use. |
\kruegge82\billbee\Model\RechnungsdruckWebAppControllersApiWebHookApiModel
- Content-Type:
application/json
,text/json
,application/x-www-form-urlencoded
- Accept:
application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]