@@ -5,8 +5,8 @@ All URIs are relative to https://www.csas.cz/webapi/api/v3/accounts, except if t
55| Method | HTTP request | Description |
66| ------------- | ------------- | ------------- |
77| [ ** getAccountBalance()** ] ( DefaultApi.md#getAccountBalance ) | ** GET** /my/accounts/{id}/balance | Get account balance |
8+ | [ ** getAccountStatements()** ] ( DefaultApi.md#getAccountStatements ) | ** GET** /my/accounts/{id}/statements | Get account statements |
89| [ ** getAccounts()** ] ( DefaultApi.md#getAccounts ) | ** GET** /my/accounts | Get account details |
9- | [ ** getStatements()** ] ( DefaultApi.md#getStatements ) | ** GET** /my/accounts/{id}/statements | Get statements list |
1010| [ ** getTransactions()** ] ( DefaultApi.md#getTransactions ) | ** GET** /my/accounts/{id}/transactions | Overview of transactions |
1111
1212
@@ -75,15 +75,15 @@ try {
7575[[ Back to Model list]] ( ../../README.md#models )
7676[[ Back to README]] ( ../../README.md )
7777
78- ## ` getAccounts ()`
78+ ## ` getAccountStatements ()`
7979
8080``` php
81- getAccounts($size, $page ): \SpojeNET\Csas\Model\GetAccounts200Response
81+ getAccountStatements($id ): \SpojeNET\Csas\Model\GetAccountStatements200Response
8282```
8383
84- Get account details
84+ Get account statements
8585
86- Get a list of accounts for the authenticated user .
86+ Get a list of statements for a specific account by ID .
8787
8888### Example
8989
@@ -107,27 +107,25 @@ $apiInstance = new SpojeNET\Csas\Api\DefaultApi(
107107 new GuzzleHttp\Client(),
108108 $config
109109);
110- $size = 56; // int | Number of accounts to return
111- $page = 56; // int | Page number to return
110+ $id = 'id_example'; // string | The ID of the account
112111
113112try {
114- $result = $apiInstance->getAccounts($size, $page );
113+ $result = $apiInstance->getAccountStatements($id );
115114 print_r($result);
116115} catch (Exception $e) {
117- echo 'Exception when calling DefaultApi->getAccounts : ', $e->getMessage(), PHP_EOL;
116+ echo 'Exception when calling DefaultApi->getAccountStatements : ', $e->getMessage(), PHP_EOL;
118117}
119118```
120119
121120### Parameters
122121
123122| Name | Type | Description | Notes |
124123| ------------- | ------------- | ------------- | ------------- |
125- | ** size** | ** int** | Number of accounts to return | [ optional] |
126- | ** page** | ** int** | Page number to return | [ optional] |
124+ | ** id** | ** string** | The ID of the account | |
127125
128126### Return type
129127
130- [ ** \SpojeNET\Csas\Model\GetAccounts200Response ** ] ( ../Model/GetAccounts200Response .md )
128+ [ ** \SpojeNET\Csas\Model\GetAccountStatements200Response ** ] ( ../Model/GetAccountStatements200Response .md )
131129
132130### Authorization
133131
@@ -142,15 +140,15 @@ try {
142140[[ Back to Model list]] ( ../../README.md#models )
143141[[ Back to README]] ( ../../README.md )
144142
145- ## ` getStatements ()`
143+ ## ` getAccounts ()`
146144
147145``` php
148- getStatements($id, $fromDate, $toDate, $format, $ size, $page): \SpojeNET\Csas\Model\StatementList
146+ getAccounts($ size, $page): \SpojeNET\Csas\Model\GetAccounts200Response
149147```
150148
151- Get statements list
149+ Get account details
152150
153- Obtain list of statements for a given account .
151+ Get a list of accounts for the authenticated user .
154152
155153### Example
156154
@@ -174,35 +172,27 @@ $apiInstance = new SpojeNET\Csas\Api\DefaultApi(
174172 new GuzzleHttp\Client(),
175173 $config
176174);
177- $id = 'id_example'; // string | Unique system identification of the client account
178- $fromDate = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | Date from which the statement history should be obtained (yyyy-MM-dd)
179- $toDate = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | Date to which the statement history should be obtained (yyyy-MM-dd)
180- $format = 'format_example'; // string | Selected statement format
181- $size = 56; // int | Number of entries per page (max. 100)
182- $page = 56; // int | The desired page (indexed from zero)
175+ $size = 56; // int | Number of accounts to return
176+ $page = 56; // int | Page number to return
183177
184178try {
185- $result = $apiInstance->getStatements($id, $fromDate, $toDate, $format, $size, $page);
179+ $result = $apiInstance->getAccounts( $size, $page);
186180 print_r($result);
187181} catch (Exception $e) {
188- echo 'Exception when calling DefaultApi->getStatements : ', $e->getMessage(), PHP_EOL;
182+ echo 'Exception when calling DefaultApi->getAccounts : ', $e->getMessage(), PHP_EOL;
189183}
190184```
191185
192186### Parameters
193187
194188| Name | Type | Description | Notes |
195189| ------------- | ------------- | ------------- | ------------- |
196- | ** id** | ** string** | Unique system identification of the client account | |
197- | ** fromDate** | ** \DateTime** | Date from which the statement history should be obtained (yyyy-MM-dd) | [ optional] |
198- | ** toDate** | ** \DateTime** | Date to which the statement history should be obtained (yyyy-MM-dd) | [ optional] |
199- | ** format** | ** string** | Selected statement format | [ optional] |
200- | ** size** | ** int** | Number of entries per page (max. 100) | [ optional] |
201- | ** page** | ** int** | The desired page (indexed from zero) | [ optional] |
190+ | ** size** | ** int** | Number of accounts to return | [ optional] |
191+ | ** page** | ** int** | Page number to return | [ optional] |
202192
203193### Return type
204194
205- [ ** \SpojeNET\Csas\Model\StatementList ** ] ( ../Model/StatementList .md )
195+ [ ** \SpojeNET\Csas\Model\GetAccounts200Response ** ] ( ../Model/GetAccounts200Response .md )
206196
207197### Authorization
208198
0 commit comments