5.6 KiB
5.6 KiB
manager_api_new.api.SectionAgendaApi
Load the API package
import 'package:manager_api_new/api.dart';
All URIs are relative to https://localhost:5001
| Method | HTTP request | Description |
|---|---|---|
| sectionAgendaCreateEventAgenda | POST /api/SectionAgenda/{sectionAgendaId}/event | |
| sectionAgendaDeleteEventAgenda | DELETE /api/SectionAgenda/event/{eventAgendaId} | |
| sectionAgendaGetAllEventAgendaFromSection | GET /api/SectionAgenda/{sectionAgendaId}/events | |
| sectionAgendaUpdateEventAgenda | PUT /api/SectionAgenda/event |
sectionAgendaCreateEventAgenda
EventAgendaDTO sectionAgendaCreateEventAgenda(sectionAgendaId, eventAgendaDTO)
Example
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 |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sectionAgendaDeleteEventAgenda
String sectionAgendaDeleteEventAgenda(eventAgendaId)
Example
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
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sectionAgendaGetAllEventAgendaFromSection
List sectionAgendaGetAllEventAgendaFromSection(sectionAgendaId)
Example
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
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]
sectionAgendaUpdateEventAgenda
EventAgendaDTO sectionAgendaUpdateEventAgenda(eventAgendaDTO)
Example
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 |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]