All URIs are relative to https://topal.vitan.ch:9001, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
cOATreeViewsDelete() | DELETE /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/coaTreeViews/{id} | Delete coaTreeViewTreeView |
cOATreeViewsGet() | GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/coatreeviews | get list of coatreeViews |
cOATreeViewsGetByCOA() | GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/coas/{coaId}/coatreeviews | Get coaTreeView by id within given coa |
cOATreeViewsGet_0() | GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/coatreeviews/{id} | Get coaTreeView by id |
cOATreeViewsGet_1() | GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/coatreeviews/byCode/{code} | Get coaTreeView by code |
cOATreeViewsPost() | POST /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/coatreeviews | saves CoaTreeView COATreeView item type: - Account = 1 - COA Group = 2 - Counter = 3 - Mirror Account = 4 - Account Copy = 5 - Result = 6 - Commentary Line = 7 |
cOATreeViewsDelete($id, $client_id, $fiscal_year_id): object
Delete coaTreeViewTreeView
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\COATreeViewsApi(
// 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()
);
$id = 56; // int
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string
try {
$result = $apiInstance->cOATreeViewsDelete($id, $client_id, $fiscal_year_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling COATreeViewsApi->cOATreeViewsDelete: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
client_id | string | ||
fiscal_year_id | string |
object
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
cOATreeViewsGet($client_id, $fiscal_year_id): \Topal\Client\Model\COATreeView[]
get list of coatreeViews
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\COATreeViewsApi(
// 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()
);
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string
try {
$result = $apiInstance->cOATreeViewsGet($client_id, $fiscal_year_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling COATreeViewsApi->cOATreeViewsGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
client_id | string | ||
fiscal_year_id | string |
\Topal\Client\Model\COATreeView[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
cOATreeViewsGetByCOA($coa_id, $client_id, $fiscal_year_id): \Topal\Client\Model\COATreeView[]
Get coaTreeView by id within given coa
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\COATreeViewsApi(
// 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()
);
$coa_id = 56; // int
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string
try {
$result = $apiInstance->cOATreeViewsGetByCOA($coa_id, $client_id, $fiscal_year_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling COATreeViewsApi->cOATreeViewsGetByCOA: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
coa_id | int | ||
client_id | string | ||
fiscal_year_id | string |
\Topal\Client\Model\COATreeView[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
cOATreeViewsGet_0($id, $client_id, $fiscal_year_id): \Topal\Client\Model\COATreeView
Get coaTreeView by id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\COATreeViewsApi(
// 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()
);
$id = 56; // int
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string
try {
$result = $apiInstance->cOATreeViewsGet_0($id, $client_id, $fiscal_year_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling COATreeViewsApi->cOATreeViewsGet_0: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
client_id | string | ||
fiscal_year_id | string |
\Topal\Client\Model\COATreeView
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
cOATreeViewsGet_1($code, $client_id, $fiscal_year_id): \Topal\Client\Model\COATreeView
Get coaTreeView by code
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\COATreeViewsApi(
// 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()
);
$code = 'code_example'; // string
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string
try {
$result = $apiInstance->cOATreeViewsGet_1($code, $client_id, $fiscal_year_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling COATreeViewsApi->cOATreeViewsGet_1: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
code | string | ||
client_id | string | ||
fiscal_year_id | string |
\Topal\Client\Model\COATreeView
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
cOATreeViewsPost($client_id, $fiscal_year_id, $coa_tree_view, $parent_group_code): \Topal\Client\Model\COATreeView
saves CoaTreeView COATreeView item type: - Account = 1 - COA Group = 2 - Counter = 3 - Mirror Account = 4 - Account Copy = 5 - Result = 6 - Commentary Line = 7
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\COATreeViewsApi(
// 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()
);
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string
$coa_tree_view = new \Topal\Client\Model\COATreeView(); // \Topal\Client\Model\COATreeView
$parent_group_code = 'parent_group_code_example'; // string | parent group
try {
$result = $apiInstance->cOATreeViewsPost($client_id, $fiscal_year_id, $coa_tree_view, $parent_group_code);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling COATreeViewsApi->cOATreeViewsPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
client_id | string | ||
fiscal_year_id | string | ||
coa_tree_view | \Topal\Client\Model\COATreeView | ||
parent_group_code | string | parent group | [optional] |
\Topal\Client\Model\COATreeView
No authorization required
- Content-Type:
application/json
,text/json
,application/xml
,text/xml
,application/x-www-form-urlencoded
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]