# openapi.api.AppointmentTopicApi

## Load the API package
```dart
import 'package:openapi/api.dart';
```

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create**](AppointmentTopicApi.md#create) | **POST** /api/shop-config/appointment/topic | 
[**delete**](AppointmentTopicApi.md#delete) | **DELETE** /api/shop-config/appointment/topic/{id} | 
[**findAll**](AppointmentTopicApi.md#findall) | **GET** /api/shop-config/appointment/topic | 


# **create**
> AppointmentTopic create(appointmentTopic)



### Example
```dart
import 'package:openapi/api.dart';

final api = Openapi().getAppointmentTopicApi();
final AppointmentTopic appointmentTopic = ; // AppointmentTopic | 

try {
    final response = api.create(appointmentTopic);
    print(response);
} catch on DioError (e) {
    print('Exception when calling AppointmentTopicApi->create: $e\n');
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **appointmentTopic** | [**AppointmentTopic**](AppointmentTopic.md)|  | 

### Return type

[**AppointmentTopic**](AppointmentTopic.md)

### Authorization

No authorization required

### 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)

# **delete**
> OkRes delete(id)



### Example
```dart
import 'package:openapi/api.dart';

final api = Openapi().getAppointmentTopicApi();
final num id = 8.14; // num | 

try {
    final response = api.delete(id);
    print(response);
} catch on DioError (e) {
    print('Exception when calling AppointmentTopicApi->delete: $e\n');
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **id** | **num**|  | 

### Return type

[**OkRes**](OkRes.md)

### Authorization

No authorization required

### 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)

# **findAll**
> FindAllTopicRes findAll()



### Example
```dart
import 'package:openapi/api.dart';

final api = Openapi().getAppointmentTopicApi();

try {
    final response = api.findAll();
    print(response);
} catch on DioError (e) {
    print('Exception when calling AppointmentTopicApi->findAll: $e\n');
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**FindAllTopicRes**](FindAllTopicRes.md)

### Authorization

No authorization required

### 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)

