Files
omsorg/omsorgWeb/mitarbeiter-app/api-client-php/docs/Api/TrashApi.md
T
Felix KemmlerandClaude Sonnet 5 dfeb37cf33
Docker-Images bauen und veröffentlichen / build (, omsorgCore/Dockerfile, omsorgcore) (push) Successful in 17s
Docker-Images bauen und veröffentlichen / build (, omsorgWeb/Dockerfile, omsorgweb) (push) Successful in 6s
Docker-Images bauen und veröffentlichen / build (, omsorgapp/Dockerfile, omsorgapp) (push) Successful in 17s
Add employee-to-order assignments with FR-EM-3 conflict validation
Adds the Assignment core object (Order x Employee, date range) with full
CRUD, soft-delete/trash integration, and generated API clients.

Layers FR-EM-3 conflict checks onto assignment creation: qualification,
absence/availability, working-hours approximation, cross-order overlap,
and active-contract coverage. Each check's severity (Warning vs. Error)
is configurable at runtime via a new AssignmentValidationSettings
singleton and admin settings panel, instead of being hardcoded - lets
the business tune strictness per check without a redeploy.

Adds a live GET /api/assignments/check endpoint so the create-assignment
dialog can preview conflicts as the user picks employee/dates, before
they hit save, rather than only finding out after submitting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-11 00:44:14 +02:00

30 KiB

OmsorgCoreClient\TrashApi

All URIs are relative to http://localhost, except if the operation defines another base path.

Method HTTP request Description
apiTrashAbsencesGet() GET /api/trash/absences
apiTrashAbsencesIdRestorePost() POST /api/trash/absences/{id}/restore
apiTrashAssignmentsGet() GET /api/trash/assignments
apiTrashAssignmentsIdRestorePost() POST /api/trash/assignments/{id}/restore
apiTrashContractsGet() GET /api/trash/contracts
apiTrashContractsIdRestorePost() POST /api/trash/contracts/{id}/restore
apiTrashEmployeeFacilityDistancesGet() GET /api/trash/employee-facility-distances
apiTrashEmployeeFacilityDistancesIdRestorePost() POST /api/trash/employee-facility-distances/{id}/restore
apiTrashEmployeesGet() GET /api/trash/employees
apiTrashEmployeesIdRestorePost() POST /api/trash/employees/{id}/restore
apiTrashFacilitiesGet() GET /api/trash/facilities
apiTrashFacilitiesIdRestorePost() POST /api/trash/facilities/{id}/restore
apiTrashFacilityContactsGet() GET /api/trash/facility-contacts
apiTrashFacilityContactsIdRestorePost() POST /api/trash/facility-contacts/{id}/restore
apiTrashFacilityQualificationRatesGet() GET /api/trash/facility-qualification-rates
apiTrashFacilityQualificationRatesIdRestorePost() POST /api/trash/facility-qualification-rates/{id}/restore
apiTrashOrdersGet() GET /api/trash/orders
apiTrashOrdersIdRestorePost() POST /api/trash/orders/{id}/restore
apiTrashTimeEntriesGet() GET /api/trash/time-entries
apiTrashTimeEntriesIdRestorePost() POST /api/trash/time-entries/{id}/restore

apiTrashAbsencesGet()

apiTrashAbsencesGet($search): \OmsorgCoreClient\Model\TrashAbsenceResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashAbsencesGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashAbsencesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashAbsenceResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashAbsencesIdRestorePost()

apiTrashAbsencesIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashAbsencesIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashAbsencesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashAssignmentsGet()

apiTrashAssignmentsGet($search): \OmsorgCoreClient\Model\TrashAssignmentResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashAssignmentsGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashAssignmentsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashAssignmentResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashAssignmentsIdRestorePost()

apiTrashAssignmentsIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashAssignmentsIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashAssignmentsIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashContractsGet()

apiTrashContractsGet($search): \OmsorgCoreClient\Model\TrashContractResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashContractsGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashContractsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashContractResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashContractsIdRestorePost()

apiTrashContractsIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashContractsIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashContractsIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashEmployeeFacilityDistancesGet()

apiTrashEmployeeFacilityDistancesGet($search): \OmsorgCoreClient\Model\TrashEmployeeFacilityDistanceResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashEmployeeFacilityDistancesGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashEmployeeFacilityDistancesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashEmployeeFacilityDistanceResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashEmployeeFacilityDistancesIdRestorePost()

apiTrashEmployeeFacilityDistancesIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashEmployeeFacilityDistancesIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashEmployeeFacilityDistancesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashEmployeesGet()

apiTrashEmployeesGet($search): \OmsorgCoreClient\Model\TrashEmployeeResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashEmployeesGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashEmployeesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashEmployeeResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashEmployeesIdRestorePost()

apiTrashEmployeesIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashEmployeesIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashEmployeesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashFacilitiesGet()

apiTrashFacilitiesGet($search): \OmsorgCoreClient\Model\TrashFacilityResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashFacilitiesGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashFacilitiesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashFacilityResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashFacilitiesIdRestorePost()

apiTrashFacilitiesIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashFacilitiesIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashFacilitiesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashFacilityContactsGet()

apiTrashFacilityContactsGet($search): \OmsorgCoreClient\Model\TrashFacilityContactResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashFacilityContactsGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashFacilityContactsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashFacilityContactResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashFacilityContactsIdRestorePost()

apiTrashFacilityContactsIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashFacilityContactsIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashFacilityContactsIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashFacilityQualificationRatesGet()

apiTrashFacilityQualificationRatesGet($search): \OmsorgCoreClient\Model\TrashFacilityQualificationRateResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashFacilityQualificationRatesGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashFacilityQualificationRatesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashFacilityQualificationRateResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashFacilityQualificationRatesIdRestorePost()

apiTrashFacilityQualificationRatesIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashFacilityQualificationRatesIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashFacilityQualificationRatesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashOrdersGet()

apiTrashOrdersGet($search): \OmsorgCoreClient\Model\TrashOrderResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashOrdersGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashOrdersGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashOrderResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashOrdersIdRestorePost()

apiTrashOrdersIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashOrdersIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashOrdersIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashTimeEntriesGet()

apiTrashTimeEntriesGet($search): \OmsorgCoreClient\Model\TrashTimeEntryResponse[]

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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
);
$search = 'search_example'; // string

try {
    $result = $apiInstance->apiTrashTimeEntriesGet($search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashTimeEntriesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
search string [optional]

Return type

\OmsorgCoreClient\Model\TrashTimeEntryResponse[]

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiTrashTimeEntriesIdRestorePost()

apiTrashTimeEntriesIdRestorePost($id)

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\TrashApi(
    // 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 {
    $apiInstance->apiTrashTimeEntriesIdRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling TrashApi->apiTrashTimeEntriesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]