All URIs are relative to https://api.accounting.sage.com/v3.1, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getDatevSettings() | GET /datev_settings | Returns all Datev Settings |
putDatevSettings() | PUT /datev_settings | Updates a Datev Settings |
getDatevSettings(): \SynergiTech\Sage\Model\DatevSettings
Returns all Datev Settings
Endpoint Availability * Accounting Plus: 🇩🇪 * Accounting Standard: 🇩🇪 * Accounting Start: 🇩🇪 ### Access Control Restrictions Requires the authenticated user to have any of the following roles in the area Settings
: Full Access, Read Only
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new SynergiTech\Sage\Api\DatevSettingsApi(
// 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()
);
try {
$result = $apiInstance->getDatevSettings();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DatevSettingsApi->getDatevSettings: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\SynergiTech\Sage\Model\DatevSettings
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putDatevSettings($datevSettings): \SynergiTech\Sage\Model\DatevSettings
Updates a Datev Settings
Endpoint Availability * Accounting Plus: 🇩🇪 * Accounting Standard: 🇩🇪 * Accounting Start: 🇩🇪 ### Access Control Restrictions Requires the authenticated user to have any of the following roles in the area Settings
: Full Access
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new SynergiTech\Sage\Api\DatevSettingsApi(
// 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()
);
$datevSettings = new \SynergiTech\Sage\Model\PutDatevSettings(); // \SynergiTech\Sage\Model\PutDatevSettings
try {
$result = $apiInstance->putDatevSettings($datevSettings);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DatevSettingsApi->putDatevSettings: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
datevSettings | \SynergiTech\Sage\Model\PutDatevSettings |
\SynergiTech\Sage\Model\DatevSettings
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]