PHP code example of datana-gmbh / mandantencockpit-api
1. Go to this page and download the library: Download datana-gmbh/mandantencockpit-api library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
datana-gmbh / mandantencockpit-api example snippets
use Datana\Mandantencockpit\Api\MandantencockpitClient;
$baseUri = 'https://....';
$secret = '...';
$client = new MandantencockpitClient($baseUri, $secret);
use Datana\Mandantencockpit\Api\DateneingabenApi;
use Datana\Mandantencockpit\Api\MandantencockpitClient;
$client = new MandantencockpitClient(/* ... */);
$dateneingabeId = 123;
$dateneingabenApi = new DateneingabenApi($client);
$dateneingabenApi->dateneingabeHasChanged($dateneingabeId);
use Datana\Mandantencockpit\Api\DateneingabenApi;
use Datana\Mandantencockpit\Api\MandantencockpitClient;
$client = new MandantencockpitClient(/* ... */);
$dateneingabeId = 123;
$dateneingabenApi = new DateneingabenApi($client);
$dateneingabenApi->sendNotificationForDateneingabe($dateneingabeId);
use Datana\Mandantencockpit\Api\DateneingabenApi;
use Datana\Mandantencockpit\Api\MandantencockpitClient;
$client = new MandantencockpitClient(/* ... */);
$dateneingabeId = 123;
$dateneingabenApi = new DateneingabenApi($client);
$dateneingabenApi->sendReminderForDateneingabe($dateneingabeId);
use Datana\Mandantencockpit\Api\DateneingabenApi;
use Datana\Mandantencockpit\Api\MandantencockpitClient;
$client = new MandantencockpitClient(/* ... */);
$dateneingabenApi = new DateneingabenApi($client);
$dateneingabenApi->purgeCache();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.