euromedica-client/docs/Api/MasterDataApi.md

414 lines
12 KiB
Markdown

# Europharmacy\EuromedicaClient\MasterDataApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiMasterDataCategoriesGet()**](MasterDataApi.md#apiMasterDataCategoriesGet) | **GET** /api/MasterData/Categories | Κατηγορίες (Product.categId) |
| [**apiMasterDataMainCategoriesGet()**](MasterDataApi.md#apiMasterDataMainCategoriesGet) | **GET** /api/MasterData/MainCategories | Κύριες κατηγορίες (Product.mainCategId) |
| [**apiMasterDataOikoiGet()**](MasterDataApi.md#apiMasterDataOikoiGet) | **GET** /api/MasterData/Oikoi | Οίκοι (Product.oikosId) |
| [**apiMasterDataOwnersGet()**](MasterDataApi.md#apiMasterDataOwnersGet) | **GET** /api/MasterData/Owners | Εταιρία (Product.ownerId) |
| [**apiMasterDataPersonalCategoriesGet()**](MasterDataApi.md#apiMasterDataPersonalCategoriesGet) | **GET** /api/MasterData/PersonalCategories | Προσωπικές Κατηγορίες (Product.perCatId , Product.perCat2Id , Product.perCat3Id) |
| [**apiMasterDataSubCategoriesGet()**](MasterDataApi.md#apiMasterDataSubCategoriesGet) | **GET** /api/MasterData/SubCategories | Κατηγορίες (Product.subCategId) |
| [**apiMasterDataVatCaterogiesGet()**](MasterDataApi.md#apiMasterDataVatCaterogiesGet) | **GET** /api/MasterData/VatCaterogies | Κατηφορίες ΦΠΑ |
## `apiMasterDataCategoriesGet()`
```php
apiMasterDataCategoriesGet(): \Europharmacy\EuromedicaClient\Model\CategoryDtoListPagedResponse
```
Κατηγορίες (Product.categId)
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataCategoriesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataCategoriesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\CategoryDtoListPagedResponse**](../Model/CategoryDtoListPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiMasterDataMainCategoriesGet()`
```php
apiMasterDataMainCategoriesGet(): \Europharmacy\EuromedicaClient\Model\MainCategoryDtoPagedResponse
```
Κύριες κατηγορίες (Product.mainCategId)
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataMainCategoriesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataMainCategoriesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\MainCategoryDtoPagedResponse**](../Model/MainCategoryDtoPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiMasterDataOikoiGet()`
```php
apiMasterDataOikoiGet(): \Europharmacy\EuromedicaClient\Model\OikosDtoPagedResponse
```
Οίκοι (Product.oikosId)
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataOikoiGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataOikoiGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\OikosDtoPagedResponse**](../Model/OikosDtoPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiMasterDataOwnersGet()`
```php
apiMasterDataOwnersGet(): \Europharmacy\EuromedicaClient\Model\OwnerDtoPagedResponse
```
Εταιρία (Product.ownerId)
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataOwnersGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataOwnersGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\OwnerDtoPagedResponse**](../Model/OwnerDtoPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiMasterDataPersonalCategoriesGet()`
```php
apiMasterDataPersonalCategoriesGet(): \Europharmacy\EuromedicaClient\Model\PersonalCategoryDtoPagedResponse
```
Προσωπικές Κατηγορίες (Product.perCatId , Product.perCat2Id , Product.perCat3Id)
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataPersonalCategoriesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataPersonalCategoriesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\PersonalCategoryDtoPagedResponse**](../Model/PersonalCategoryDtoPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiMasterDataSubCategoriesGet()`
```php
apiMasterDataSubCategoriesGet(): \Europharmacy\EuromedicaClient\Model\SubCategoryDtoPagedResponse
```
Κατηγορίες (Product.subCategId)
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataSubCategoriesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataSubCategoriesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\SubCategoryDtoPagedResponse**](../Model/SubCategoryDtoPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiMasterDataVatCaterogiesGet()`
```php
apiMasterDataVatCaterogiesGet(): \Europharmacy\EuromedicaClient\Model\VatCategoryDtoPagedResponse
```
Κατηφορίες ΦΠΑ
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\MasterDataApi(
// 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->apiMasterDataVatCaterogiesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MasterDataApi->apiMasterDataVatCaterogiesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**\Europharmacy\EuromedicaClient\Model\VatCategoryDtoPagedResponse**](../Model/VatCategoryDtoPagedResponse.md)
### Authorization
[basic](../../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `application/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)