12 KiB
Europharmacy\EuromedicaClient\MasterDataApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| apiMasterDataCategoriesGet() | GET /api/MasterData/Categories | Κατηγορίες (Product.categId) |
| apiMasterDataMainCategoriesGet() | GET /api/MasterData/MainCategories | Κύριες κατηγορίες (Product.mainCategId) |
| apiMasterDataOikoiGet() | GET /api/MasterData/Oikoi | Οίκοι (Product.oikosId) |
| apiMasterDataOwnersGet() | GET /api/MasterData/Owners | Εταιρία (Product.ownerId) |
| apiMasterDataPersonalCategoriesGet() | GET /api/MasterData/PersonalCategories | Προσωπικές Κατηγορίες (Product.perCatId , Product.perCat2Id , Product.perCat3Id) |
| apiMasterDataSubCategoriesGet() | GET /api/MasterData/SubCategories | Κατηγορίες (Product.subCategId) |
| apiMasterDataVatCaterogiesGet() | GET /api/MasterData/VatCaterogies | Κατηφορίες ΦΠΑ |
apiMasterDataCategoriesGet()
apiMasterDataCategoriesGet(): \Europharmacy\EuromedicaClient\Model\CategoryDtoListPagedResponse
Κατηγορίες (Product.categId)
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiMasterDataMainCategoriesGet()
apiMasterDataMainCategoriesGet(): \Europharmacy\EuromedicaClient\Model\MainCategoryDtoPagedResponse
Κύριες κατηγορίες (Product.mainCategId)
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiMasterDataOikoiGet()
apiMasterDataOikoiGet(): \Europharmacy\EuromedicaClient\Model\OikosDtoPagedResponse
Οίκοι (Product.oikosId)
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiMasterDataOwnersGet()
apiMasterDataOwnersGet(): \Europharmacy\EuromedicaClient\Model\OwnerDtoPagedResponse
Εταιρία (Product.ownerId)
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiMasterDataPersonalCategoriesGet()
apiMasterDataPersonalCategoriesGet(): \Europharmacy\EuromedicaClient\Model\PersonalCategoryDtoPagedResponse
Προσωπικές Κατηγορίες (Product.perCatId , Product.perCat2Id , Product.perCat3Id)
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiMasterDataSubCategoriesGet()
apiMasterDataSubCategoriesGet(): \Europharmacy\EuromedicaClient\Model\SubCategoryDtoPagedResponse
Κατηγορίες (Product.subCategId)
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiMasterDataVatCaterogiesGet()
apiMasterDataVatCaterogiesGet(): \Europharmacy\EuromedicaClient\Model\VatCategoryDtoPagedResponse
Κατηφορίες ΦΠΑ
Example
<?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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]