# swagger_client.ErgebnisApi All URIs are relative to */* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_ergebnis**](ErgebnisApi.md#create_ergebnis) | **POST** /ergebnisse | [**delete_ergebnis**](ErgebnisApi.md#delete_ergebnis) | **DELETE** /ergebnisse/{id} | [**get_ergebnis**](ErgebnisApi.md#get_ergebnis) | **GET** /ergebnisse/{id} | [**get_ergebnisse**](ErgebnisApi.md#get_ergebnisse) | **GET** /ergebnisse | [**update_ergebnis**](ErgebnisApi.md#update_ergebnis) | **PUT** /ergebnisse/{id} | # **create_ergebnis** > Ergebnis create_ergebnis(body) ### Example ```python from __future__ import print_function import time import swagger_client from swagger_client.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = swagger_client.ErgebnisApi() body = swagger_client.ErgebnisCreatePayload() # ErgebnisCreatePayload | try: api_response = api_instance.create_ergebnis(body) pprint(api_response) except ApiException as e: print("Exception when calling ErgebnisApi->create_ergebnis: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**ErgebnisCreatePayload**](ErgebnisCreatePayload.md)| | ### Return type [**Ergebnis**](Ergebnis.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_ergebnis** > delete_ergebnis(id) ### Example ```python from __future__ import print_function import time import swagger_client from swagger_client.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = swagger_client.ErgebnisApi() id = 56 # int | try: api_instance.delete_ergebnis(id) except ApiException as e: print("Exception when calling ErgebnisApi->delete_ergebnis: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| | ### Return type void (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined [[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) # **get_ergebnis** > Ergebnis get_ergebnis(id) ### Example ```python from __future__ import print_function import time import swagger_client from swagger_client.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = swagger_client.ErgebnisApi() id = 56 # int | try: api_response = api_instance.get_ergebnis(id) pprint(api_response) except ApiException as e: print("Exception when calling ErgebnisApi->get_ergebnis: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| | ### Return type [**Ergebnis**](Ergebnis.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) # **get_ergebnisse** > ErgebnisArray get_ergebnisse() ### Example ```python from __future__ import print_function import time import swagger_client from swagger_client.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = swagger_client.ErgebnisApi() try: api_response = api_instance.get_ergebnisse() pprint(api_response) except ApiException as e: print("Exception when calling ErgebnisApi->get_ergebnisse: %s\n" % e) ``` ### Parameters This endpoint does not need any parameter. ### Return type [**ErgebnisArray**](ErgebnisArray.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) # **update_ergebnis** > Ergebnis update_ergebnis(body, id) ### Example ```python from __future__ import print_function import time import swagger_client from swagger_client.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = swagger_client.ErgebnisApi() body = swagger_client.ErgebnisUpdatePayload() # ErgebnisUpdatePayload | id = 56 # int | try: api_response = api_instance.update_ergebnis(body, id) pprint(api_response) except ApiException as e: print("Exception when calling ErgebnisApi->update_ergebnis: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**ErgebnisUpdatePayload**](ErgebnisUpdatePayload.md)| | **id** | **int**| | ### Return type [**Ergebnis**](Ergebnis.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)