@@ -4,42 +4,43 @@ All URIs are relative to *http://my.yoast.test:3000/*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
- [ ** apiAdmissionsGet ** ] ( AdmissionApi.md#apiadmissionsget ) | ** GET ** /api/Admissions | Get admissions
8
- [ ** apiAdmissionsIdGet ** ] ( AdmissionApi.md#apiadmissionsidget ) | ** GET** /api/Admissions/{id} | Get an admission
9
- [ ** apiAdmissionsIdPut ** ] ( AdmissionApi.md#apiadmissionsidput ) | ** PUT ** /api/Admissions/{id} | Update an admission
10
- [ ** apiAdmissionsPagedGet ** ] ( AdmissionApi.md#apiadmissionspagedget ) | ** GET** /api/Admissions/paged | Get admissions
11
- [ ** apiAdmissionsPost ** ] ( AdmissionApi.md#apiadmissionspost ) | ** POST** /api/Admissions | Invite a customer
12
- [ ** apiAdmissionsTransferPost ** ] ( AdmissionApi.md#apiadmissionstransferpost ) | ** POST** /api/Admissions/transfer | Transfer admissions between customers
7
+ [ ** admissionControllerChangeStudent ** ] ( AdmissionApi.md#admissioncontrollerchangestudent ) | ** PUT ** /api/Admissions/{id} | Update an admission
8
+ [ ** admissionControllerGetMany ** ] ( AdmissionApi.md#admissioncontrollergetmany ) | ** GET** /api/Admissions | Get admissions
9
+ [ ** admissionControllerGetManyPaged ** ] ( AdmissionApi.md#admissioncontrollergetmanypaged ) | ** GET ** /api/Admissions/paged | Get admissions
10
+ [ ** admissionControllerGetOne ** ] ( AdmissionApi.md#admissioncontrollergetone ) | ** GET** /api/Admissions/{id} | Get an admission
11
+ [ ** admissionControllerInvite ** ] ( AdmissionApi.md#admissioncontrollerinvite ) | ** POST** /api/Admissions | Invite a customer
12
+ [ ** admissionControllerTransferAdmissions ** ] ( AdmissionApi.md#admissioncontrollertransferadmissions ) | ** POST** /api/Admissions/transfer | Transfer admissions between customers
13
13
14
- # ** apiAdmissionsGet **
15
- > \Yoast\MyYoastApiClient\Model\Admission[ ] apiAdmissionsGet($filter )
14
+ # ** admissionControllerChangeStudent **
15
+ > \Yoast\MyYoastApiClient\Model\Admission admissionControllerChangeStudent($body, $id )
16
16
17
- Get admissions
17
+ Update an admission
18
18
19
- Get and filter admissions
19
+ Changes the student for a certain admission
20
20
21
21
### Example
22
22
``` php
23
23
<?php
24
24
require_once(__DIR__ . '/vendor/autoload.php');
25
- // Configure API key authorization: bearer
26
- $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
27
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
28
- // $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
25
+ // Configure HTTP bearer authorization: bearer
26
+ $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
27
+ ->setAccessToken('YOUR_ACCESS_TOKEN');
28
+
29
29
30
30
$apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
31
31
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
32
32
// This is optional, `GuzzleHttp\Client` will be used as default.
33
33
new GuzzleHttp\Client(),
34
34
$config
35
35
);
36
- $filter = new \stdClass; // object | Used for filtering/joining the results.
36
+ $body = new \Yoast\MyYoastApiClient\Model\UpdateDto(); // \Yoast\MyYoastApiClient\Model\UpdateDto |
37
+ $id = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
37
38
38
39
try {
39
- $result = $apiInstance->apiAdmissionsGet($filter );
40
+ $result = $apiInstance->admissionControllerChangeStudent($body, $id );
40
41
print_r($result);
41
42
} catch (Exception $e) {
42
- echo 'Exception when calling AdmissionApi->apiAdmissionsGet : ', $e->getMessage(), PHP_EOL;
43
+ echo 'Exception when calling AdmissionApi->admissionControllerChangeStudent : ', $e->getMessage(), PHP_EOL;
43
44
}
44
45
?>
45
46
```
@@ -48,52 +49,53 @@ try {
48
49
49
50
Name | Type | Description | Notes
50
51
------------- | ------------- | ------------- | -------------
51
- ** filter** | [ ** object** ] ( ../Model/.md ) | Used for filtering/joining the results. | [ optional]
52
+ ** body** | [ ** \Yoast\MyYoastApiClient\Model\UpdateDto** ] ( ../Model/UpdateDto.md ) | |
53
+ ** id** | [ ** string** ] ( ../Model/.md ) | |
52
54
53
55
### Return type
54
56
55
- [ ** \Yoast\MyYoastApiClient\Model\Admission[ ] ** ] ( ../Model/Admission.md )
57
+ [ ** \Yoast\MyYoastApiClient\Model\Admission** ] ( ../Model/Admission.md )
56
58
57
59
### Authorization
58
60
59
61
[ bearer] ( ../../README.md#bearer )
60
62
61
63
### HTTP request headers
62
64
63
- - ** Content-Type** : Not defined
65
+ - ** Content-Type** : application/json
64
66
- ** Accept** : application/json
65
67
66
68
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
67
69
68
- # ** apiAdmissionsIdGet **
69
- > \Yoast\MyYoastApiClient\Model\Admission apiAdmissionsIdGet($id )
70
+ # ** admissionControllerGetMany **
71
+ > \Yoast\MyYoastApiClient\Model\Admission[ ] admissionControllerGetMany($filter )
70
72
71
- Get an admission
73
+ Get admissions
72
74
73
- Get a single admission
75
+ Get and filter admissions
74
76
75
77
### Example
76
78
``` php
77
79
<?php
78
80
require_once(__DIR__ . '/vendor/autoload.php');
79
- // Configure API key authorization: bearer
80
- $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
81
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
82
- // $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
81
+ // Configure HTTP bearer authorization: bearer
82
+ $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
83
+ ->setAccessToken('YOUR_ACCESS_TOKEN');
84
+
83
85
84
86
$apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
85
87
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
86
88
// This is optional, `GuzzleHttp\Client` will be used as default.
87
89
new GuzzleHttp\Client(),
88
90
$config
89
91
);
90
- $id = "38400000-8cf0-11bd-b23e-10b96e4ef00d" ; // string |
92
+ $filter = new \stdClass ; // object | Used for filtering/joining the results.
91
93
92
94
try {
93
- $result = $apiInstance->apiAdmissionsIdGet($id );
95
+ $result = $apiInstance->admissionControllerGetMany($filter );
94
96
print_r($result);
95
97
} catch (Exception $e) {
96
- echo 'Exception when calling AdmissionApi->apiAdmissionsIdGet : ', $e->getMessage(), PHP_EOL;
98
+ echo 'Exception when calling AdmissionApi->admissionControllerGetMany : ', $e->getMessage(), PHP_EOL;
97
99
}
98
100
?>
99
101
```
@@ -102,11 +104,11 @@ try {
102
104
103
105
Name | Type | Description | Notes
104
106
------------- | ------------- | ------------- | -------------
105
- ** id ** | [ ** string ** ] ( ../Model/.md ) | |
107
+ ** filter ** | [ ** object ** ] ( ../Model/.md ) | Used for filtering/joining the results. | [ optional ]
106
108
107
109
### Return type
108
110
109
- [ ** \Yoast\MyYoastApiClient\Model\Admission** ] ( ../Model/Admission.md )
111
+ [ ** \Yoast\MyYoastApiClient\Model\Admission[ ] ** ] ( ../Model/Admission.md )
110
112
111
113
### Authorization
112
114
@@ -119,36 +121,34 @@ Name | Type | Description | Notes
119
121
120
122
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
121
123
122
- # ** apiAdmissionsIdPut **
123
- > \Yoast\MyYoastApiClient\Model\Admission apiAdmissionsIdPut($body, $id )
124
+ # ** admissionControllerGetManyPaged **
125
+ > admissionControllerGetManyPaged($filter )
124
126
125
- Update an admission
127
+ Get admissions
126
128
127
- Changes the student for a certain admission
129
+ Get and filter admissions
128
130
129
131
### Example
130
132
``` php
131
133
<?php
132
134
require_once(__DIR__ . '/vendor/autoload.php');
133
- // Configure API key authorization: bearer
134
- $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
135
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
136
- // $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
135
+ // Configure HTTP bearer authorization: bearer
136
+ $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
137
+ ->setAccessToken('YOUR_ACCESS_TOKEN');
138
+
137
139
138
140
$apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
139
141
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
140
142
// This is optional, `GuzzleHttp\Client` will be used as default.
141
143
new GuzzleHttp\Client(),
142
144
$config
143
145
);
144
- $body = new \Yoast\MyYoastApiClient\Model\UpdateDto(); // \Yoast\MyYoastApiClient\Model\UpdateDto |
145
- $id = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
146
+ $filter = new \stdClass; // object | Used for filtering/joining the results.
146
147
147
148
try {
148
- $result = $apiInstance->apiAdmissionsIdPut($body, $id);
149
- print_r($result);
149
+ $apiInstance->admissionControllerGetManyPaged($filter);
150
150
} catch (Exception $e) {
151
- echo 'Exception when calling AdmissionApi->apiAdmissionsIdPut : ', $e->getMessage(), PHP_EOL;
151
+ echo 'Exception when calling AdmissionApi->admissionControllerGetManyPaged : ', $e->getMessage(), PHP_EOL;
152
152
}
153
153
?>
154
154
```
@@ -157,52 +157,52 @@ try {
157
157
158
158
Name | Type | Description | Notes
159
159
------------- | ------------- | ------------- | -------------
160
- ** body** | [ ** \Yoast\MyYoastApiClient\Model\UpdateDto** ] ( ../Model/UpdateDto.md ) | |
161
- ** id** | [ ** string** ] ( ../Model/.md ) | |
160
+ ** filter** | [ ** object** ] ( ../Model/.md ) | Used for filtering/joining the results. | [ optional]
162
161
163
162
### Return type
164
163
165
- [ ** \Yoast\MyYoastApiClient\Model\Admission ** ] ( ../Model/Admission.md )
164
+ void (empty response body )
166
165
167
166
### Authorization
168
167
169
168
[ bearer] ( ../../README.md#bearer )
170
169
171
170
### HTTP request headers
172
171
173
- - ** Content-Type** : application/json
174
- - ** Accept** : application/json
172
+ - ** Content-Type** : Not defined
173
+ - ** Accept** : Not defined
175
174
176
175
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
177
176
178
- # ** apiAdmissionsPagedGet **
179
- > apiAdmissionsPagedGet($filter )
177
+ # ** admissionControllerGetOne **
178
+ > \Yoast\MyYoastApiClient\Model\Admission admissionControllerGetOne($id )
180
179
181
- Get admissions
180
+ Get an admission
182
181
183
- Get and filter admissions
182
+ Get a single admission
184
183
185
184
### Example
186
185
``` php
187
186
<?php
188
187
require_once(__DIR__ . '/vendor/autoload.php');
189
- // Configure API key authorization: bearer
190
- $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
191
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
192
- // $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
188
+ // Configure HTTP bearer authorization: bearer
189
+ $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
190
+ ->setAccessToken('YOUR_ACCESS_TOKEN');
191
+
193
192
194
193
$apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
195
194
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
196
195
// This is optional, `GuzzleHttp\Client` will be used as default.
197
196
new GuzzleHttp\Client(),
198
197
$config
199
198
);
200
- $filter = new \stdClass ; // object | Used for filtering/joining the results.
199
+ $id = "38400000-8cf0-11bd-b23e-10b96e4ef00d" ; // string |
201
200
202
201
try {
203
- $apiInstance->apiAdmissionsPagedGet($filter);
202
+ $result = $apiInstance->admissionControllerGetOne($id);
203
+ print_r($result);
204
204
} catch (Exception $e) {
205
- echo 'Exception when calling AdmissionApi->apiAdmissionsPagedGet : ', $e->getMessage(), PHP_EOL;
205
+ echo 'Exception when calling AdmissionApi->admissionControllerGetOne : ', $e->getMessage(), PHP_EOL;
206
206
}
207
207
?>
208
208
```
@@ -211,11 +211,11 @@ try {
211
211
212
212
Name | Type | Description | Notes
213
213
------------- | ------------- | ------------- | -------------
214
- ** filter ** | [ ** object ** ] ( ../Model/.md ) | Used for filtering/joining the results. | [ optional ]
214
+ ** id ** | [ ** string ** ] ( ../Model/.md ) | |
215
215
216
216
### Return type
217
217
218
- void (empty response body )
218
+ [ ** \Yoast\MyYoastApiClient\Model\Admission ** ] ( ../Model/Admission.md )
219
219
220
220
### Authorization
221
221
@@ -224,12 +224,12 @@ void (empty response body)
224
224
### HTTP request headers
225
225
226
226
- ** Content-Type** : Not defined
227
- - ** Accept** : Not defined
227
+ - ** Accept** : application/json
228
228
229
229
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
230
230
231
- # ** apiAdmissionsPost **
232
- > \Yoast\MyYoastApiClient\Model\Admission apiAdmissionsPost ($body)
231
+ # ** admissionControllerInvite **
232
+ > \Yoast\MyYoastApiClient\Model\Admission admissionControllerInvite ($body)
233
233
234
234
Invite a customer
235
235
@@ -239,10 +239,10 @@ Invites another customer by email to use this admission
239
239
``` php
240
240
<?php
241
241
require_once(__DIR__ . '/vendor/autoload.php');
242
- // Configure API key authorization: bearer
243
- $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
244
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
245
- // $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
242
+ // Configure HTTP bearer authorization: bearer
243
+ $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
244
+ ->setAccessToken('YOUR_ACCESS_TOKEN');
245
+
246
246
247
247
$apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
248
248
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
@@ -253,10 +253,10 @@ $apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
253
253
$body = new \Yoast\MyYoastApiClient\Model\CreateDto(); // \Yoast\MyYoastApiClient\Model\CreateDto |
254
254
255
255
try {
256
- $result = $apiInstance->apiAdmissionsPost ($body);
256
+ $result = $apiInstance->admissionControllerInvite ($body);
257
257
print_r($result);
258
258
} catch (Exception $e) {
259
- echo 'Exception when calling AdmissionApi->apiAdmissionsPost : ', $e->getMessage(), PHP_EOL;
259
+ echo 'Exception when calling AdmissionApi->admissionControllerInvite : ', $e->getMessage(), PHP_EOL;
260
260
}
261
261
?>
262
262
```
@@ -282,8 +282,8 @@ Name | Type | Description | Notes
282
282
283
283
[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
284
284
285
- # ** apiAdmissionsTransferPost **
286
- > \Yoast\MyYoastApiClient\Model\Admission[ ] apiAdmissionsTransferPost ($body)
285
+ # ** admissionControllerTransferAdmissions **
286
+ > \Yoast\MyYoastApiClient\Model\Admission[ ] admissionControllerTransferAdmissions ($body)
287
287
288
288
Transfer admissions between customers
289
289
@@ -293,10 +293,10 @@ Transfers all admission from one customer to another
293
293
``` php
294
294
<?php
295
295
require_once(__DIR__ . '/vendor/autoload.php');
296
- // Configure API key authorization: bearer
297
- $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
298
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
299
- // $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
296
+ // Configure HTTP bearer authorization: bearer
297
+ $config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
298
+ ->setAccessToken('YOUR_ACCESS_TOKEN');
299
+
300
300
301
301
$apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
302
302
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
@@ -307,10 +307,10 @@ $apiInstance = new Yoast\MyYoastApiClient\Api\AdmissionApi(
307
307
$body = new \Yoast\MyYoastApiClient\Model\TransferAdmissionDto(); // \Yoast\MyYoastApiClient\Model\TransferAdmissionDto |
308
308
309
309
try {
310
- $result = $apiInstance->apiAdmissionsTransferPost ($body);
310
+ $result = $apiInstance->admissionControllerTransferAdmissions ($body);
311
311
print_r($result);
312
312
} catch (Exception $e) {
313
- echo 'Exception when calling AdmissionApi->apiAdmissionsTransferPost : ', $e->getMessage(), PHP_EOL;
313
+ echo 'Exception when calling AdmissionApi->admissionControllerTransferAdmissions : ', $e->getMessage(), PHP_EOL;
314
314
}
315
315
?>
316
316
```
0 commit comments