mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 08:31:19 +00:00
774 lines
20 KiB
Markdown
774 lines
20 KiB
Markdown
# manager_api.api.SectionApi
|
|
|
|
## Load the API package
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
```
|
|
|
|
All URIs are relative to *https://api.mymuseum.be*
|
|
|
|
Method | HTTP request | Description
|
|
------------- | ------------- | -------------
|
|
[**sectionCreate**](SectionApi.md#sectioncreate) | **POST** /api/Section |
|
|
[**sectionDelete**](SectionApi.md#sectiondelete) | **DELETE** /api/Section/{id} |
|
|
[**sectionDeleteAllForConfiguration**](SectionApi.md#sectiondeleteallforconfiguration) | **DELETE** /api/Section/configuration/{id} |
|
|
[**sectionGet**](SectionApi.md#sectionget) | **GET** /api/Section |
|
|
[**sectionGetAllBeaconsForInstance**](SectionApi.md#sectiongetallbeaconsforinstance) | **GET** /api/Section/beacons/{instanceId} |
|
|
[**sectionGetAllSectionSubSections**](SectionApi.md#sectiongetallsectionsubsections) | **GET** /api/Section/{id}/subsections |
|
|
[**sectionGetArticleDTO**](SectionApi.md#sectiongetarticledto) | **GET** /api/Section/ArticleDTO |
|
|
[**sectionGetDetail**](SectionApi.md#sectiongetdetail) | **GET** /api/Section/{id} |
|
|
[**sectionGetFromConfiguration**](SectionApi.md#sectiongetfromconfiguration) | **GET** /api/Section/configuration/{id} |
|
|
[**sectionGetMapDTO**](SectionApi.md#sectiongetmapdto) | **GET** /api/Section/MapDTO |
|
|
[**sectionGetMenuDTO**](SectionApi.md#sectiongetmenudto) | **GET** /api/Section/MenuDTO |
|
|
[**sectionGetQuizzDTO**](SectionApi.md#sectiongetquizzdto) | **GET** /api/Section/QuizzDTO |
|
|
[**sectionGetSliderDTO**](SectionApi.md#sectiongetsliderdto) | **GET** /api/Section/SliderDTO |
|
|
[**sectionGetVideoDTO**](SectionApi.md#sectiongetvideodto) | **GET** /api/Section/VideoDTO |
|
|
[**sectionGetWebDTO**](SectionApi.md#sectiongetwebdto) | **GET** /api/Section/WebDTO |
|
|
[**sectionPlayerMessageDTO**](SectionApi.md#sectionplayermessagedto) | **GET** /api/Section/PlayerMessageDTO |
|
|
[**sectionUpdate**](SectionApi.md#sectionupdate) | **PUT** /api/Section |
|
|
[**sectionUpdateOrder**](SectionApi.md#sectionupdateorder) | **PUT** /api/Section/order |
|
|
|
|
|
|
# **sectionCreate**
|
|
> SectionDTO sectionCreate(sectionDTO)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final sectionDTO = SectionDTO(); // SectionDTO |
|
|
|
|
try {
|
|
final result = api_instance.sectionCreate(sectionDTO);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionCreate: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**sectionDTO** | [**SectionDTO**](SectionDTO.md)| |
|
|
|
|
### Return type
|
|
|
|
[**SectionDTO**](SectionDTO.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)
|
|
|
|
# **sectionDelete**
|
|
> String sectionDelete(id)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final id = id_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionDelete(id);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionDelete: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **String**| |
|
|
|
|
### 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)
|
|
|
|
# **sectionDeleteAllForConfiguration**
|
|
> String sectionDeleteAllForConfiguration(id)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final id = id_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionDeleteAllForConfiguration(id);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionDeleteAllForConfiguration: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **String**| |
|
|
|
|
### 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)
|
|
|
|
# **sectionGet**
|
|
> List<SectionDTO> sectionGet(instanceId)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final instanceId = instanceId_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionGet(instanceId);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGet: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**instanceId** | **String**| | [optional]
|
|
|
|
### Return type
|
|
|
|
[**List<SectionDTO>**](SectionDTO.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)
|
|
|
|
# **sectionGetAllBeaconsForInstance**
|
|
> List<SectionDTO> sectionGetAllBeaconsForInstance(instanceId)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final instanceId = instanceId_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionGetAllBeaconsForInstance(instanceId);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetAllBeaconsForInstance: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**instanceId** | **String**| |
|
|
|
|
### Return type
|
|
|
|
[**List<SectionDTO>**](SectionDTO.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)
|
|
|
|
# **sectionGetAllSectionSubSections**
|
|
> List<Object> sectionGetAllSectionSubSections(id)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final id = id_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionGetAllSectionSubSections(id);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetAllSectionSubSections: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **String**| |
|
|
|
|
### Return type
|
|
|
|
[**List<Object>**](Object.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)
|
|
|
|
# **sectionGetArticleDTO**
|
|
> ArticleDTO sectionGetArticleDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetArticleDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetArticleDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**ArticleDTO**](ArticleDTO.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)
|
|
|
|
# **sectionGetDetail**
|
|
> SectionDTO sectionGetDetail(id)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final id = id_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionGetDetail(id);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetDetail: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **String**| |
|
|
|
|
### Return type
|
|
|
|
[**SectionDTO**](SectionDTO.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)
|
|
|
|
# **sectionGetFromConfiguration**
|
|
> List<SectionDTO> sectionGetFromConfiguration(id)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final id = id_example; // String |
|
|
|
|
try {
|
|
final result = api_instance.sectionGetFromConfiguration(id);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetFromConfiguration: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **String**| |
|
|
|
|
### Return type
|
|
|
|
[**List<SectionDTO>**](SectionDTO.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)
|
|
|
|
# **sectionGetMapDTO**
|
|
> MapDTO sectionGetMapDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetMapDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetMapDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**MapDTO**](MapDTO.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)
|
|
|
|
# **sectionGetMenuDTO**
|
|
> MenuDTO sectionGetMenuDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetMenuDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetMenuDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**MenuDTO**](MenuDTO.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)
|
|
|
|
# **sectionGetQuizzDTO**
|
|
> QuizzDTO sectionGetQuizzDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetQuizzDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetQuizzDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**QuizzDTO**](QuizzDTO.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)
|
|
|
|
# **sectionGetSliderDTO**
|
|
> SliderDTO sectionGetSliderDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetSliderDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetSliderDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**SliderDTO**](SliderDTO.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)
|
|
|
|
# **sectionGetVideoDTO**
|
|
> VideoDTO sectionGetVideoDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetVideoDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetVideoDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**VideoDTO**](VideoDTO.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)
|
|
|
|
# **sectionGetWebDTO**
|
|
> WebDTO sectionGetWebDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionGetWebDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionGetWebDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**WebDTO**](WebDTO.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)
|
|
|
|
# **sectionPlayerMessageDTO**
|
|
> PlayerMessageDTO sectionPlayerMessageDTO()
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
|
|
try {
|
|
final result = api_instance.sectionPlayerMessageDTO();
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionPlayerMessageDTO: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**PlayerMessageDTO**](PlayerMessageDTO.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)
|
|
|
|
# **sectionUpdate**
|
|
> SectionDTO sectionUpdate(sectionDTO)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final sectionDTO = SectionDTO(); // SectionDTO |
|
|
|
|
try {
|
|
final result = api_instance.sectionUpdate(sectionDTO);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionUpdate: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**sectionDTO** | [**SectionDTO**](SectionDTO.md)| |
|
|
|
|
### Return type
|
|
|
|
[**SectionDTO**](SectionDTO.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)
|
|
|
|
# **sectionUpdateOrder**
|
|
> String sectionUpdateOrder(sectionDTO)
|
|
|
|
|
|
|
|
### Example
|
|
```dart
|
|
import 'package:manager_api/api.dart';
|
|
// TODO Configure OAuth2 access token for authorization: bearer
|
|
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
|
|
|
|
final api_instance = SectionApi();
|
|
final sectionDTO = [List<SectionDTO>()]; // List<SectionDTO> |
|
|
|
|
try {
|
|
final result = api_instance.sectionUpdateOrder(sectionDTO);
|
|
print(result);
|
|
} catch (e) {
|
|
print('Exception when calling SectionApi->sectionUpdateOrder: $e\n');
|
|
}
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**sectionDTO** | [**List<SectionDTO>**](SectionDTO.md)| |
|
|
|
|
### Return type
|
|
|
|
**String**
|
|
|
|
### 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)
|
|
|