192 lines
5.6 KiB
Markdown
192 lines
5.6 KiB
Markdown
# manager_api_new.api.SectionAgendaApi
|
|
|
|
## Load the API package
|
|
```dart
|
|
import 'package:manager_api_new/api.dart';
|
|
```
|
|
|
|
All URIs are relative to *https://localhost:5001*
|
|
|
|
Method | HTTP request | Description
|
|
------------- | ------------- | -------------
|
|
[**sectionAgendaCreateEventAgenda**](SectionAgendaApi.md#sectionagendacreateeventagenda) | **POST** /api/SectionAgenda/{sectionAgendaId}/event |
|
|
[**sectionAgendaDeleteEventAgenda**](SectionAgendaApi.md#sectionagendadeleteeventagenda) | **DELETE** /api/SectionAgenda/event/{eventAgendaId} |
|
|
[**sectionAgendaGetAllEventAgendaFromSection**](SectionAgendaApi.md#sectionagendagetalleventagendafromsection) | **GET** /api/SectionAgenda/{sectionAgendaId}/events |
|
|
[**sectionAgendaUpdateEventAgenda**](SectionAgendaApi.md#sectionagendaupdateeventagenda) | **PUT** /api/SectionAgenda/event |
|
|
|
|
|
|
# **sectionAgendaCreateEventAgenda**
|
|
> EventAgendaDTO sectionAgendaCreateEventAgenda(sectionAgendaId, eventAgendaDTO)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api_new/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionAgendaApi();
|
|
final sectionAgendaId = sectionAgendaId_example; // String |
|
|
final eventAgendaDTO = EventAgendaDTO(); // EventAgendaDTO |
|
|
|
|
try {
|
|
final result = api_instance.sectionAgendaCreateEventAgenda(sectionAgendaId, eventAgendaDTO);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionAgendaApi->sectionAgendaCreateEventAgenda: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**sectionAgendaId** | **String**| |
|
|
**eventAgendaDTO** | [**EventAgendaDTO**](EventAgendaDTO.md)| |
|
|
|
|
### Return type
|
|
|
|
[**EventAgendaDTO**](EventAgendaDTO.md)
|
|
|
|
### Authorization
|
|
|
|
[bearer](../README.md#bearer)
|
|
|
|
### HTTP request headers
|
|
|
|
- **Content-Type**: application/json
|
|
- **Accept**: application/json
|
|
|
|
[[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)
|
|
|
|
# **sectionAgendaDeleteEventAgenda**
|
|
> String sectionAgendaDeleteEventAgenda(eventAgendaId)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api_new/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionAgendaApi();
|
|
final eventAgendaId = 56; // int |
|
|
|
|
try {
|
|
final result = api_instance.sectionAgendaDeleteEventAgenda(eventAgendaId);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionAgendaApi->sectionAgendaDeleteEventAgenda: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**eventAgendaId** | **int**| |
|
|
|
|
### Return type
|
|
|
|
**String**
|
|
|
|
### Authorization
|
|
|
|
[bearer](../README.md#bearer)
|
|
|
|
### HTTP request headers
|
|
|
|
- **Content-Type**: Not defined
|
|
- **Accept**: application/json
|
|
|
|
[[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)
|
|
|
|
# **sectionAgendaGetAllEventAgendaFromSection**
|
|
> List<EventAgendaDTO> sectionAgendaGetAllEventAgendaFromSection(sectionAgendaId)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api_new/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionAgendaApi();
|
|
final sectionAgendaId = sectionAgendaId_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionAgendaGetAllEventAgendaFromSection(sectionAgendaId);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionAgendaApi->sectionAgendaGetAllEventAgendaFromSection: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**sectionAgendaId** | **String**| |
|
|
|
|
### Return type
|
|
|
|
[**List<EventAgendaDTO>**](EventAgendaDTO.md)
|
|
|
|
### Authorization
|
|
|
|
[bearer](../README.md#bearer)
|
|
|
|
### HTTP request headers
|
|
|
|
- **Content-Type**: Not defined
|
|
- **Accept**: application/json
|
|
|
|
[[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)
|
|
|
|
# **sectionAgendaUpdateEventAgenda**
|
|
> EventAgendaDTO sectionAgendaUpdateEventAgenda(eventAgendaDTO)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api_new/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionAgendaApi();
|
|
final eventAgendaDTO = EventAgendaDTO(); // EventAgendaDTO |
|
|
|
|
try {
|
|
final result = api_instance.sectionAgendaUpdateEventAgenda(eventAgendaDTO);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionAgendaApi->sectionAgendaUpdateEventAgenda: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**eventAgendaDTO** | [**EventAgendaDTO**](EventAgendaDTO.md)| |
|
|
|
|
### Return type
|
|
|
|
[**EventAgendaDTO**](EventAgendaDTO.md)
|
|
|
|
### Authorization
|
|
|
|
[bearer](../README.md#bearer)
|
|
|
|
### HTTP request headers
|
|
|
|
- **Content-Type**: application/json
|
|
- **Accept**: application/json
|
|
|
|
[[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)
|
|
|