You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5.6 KiB

swagger_client.ErgebnisApi

All URIs are relative to /

Method HTTP request Description
create_ergebnis POST /ergebnisse
delete_ergebnis DELETE /ergebnisse/{id}
get_ergebnis GET /ergebnisse/{id}
get_ergebnisse GET /ergebnisse
update_ergebnis PUT /ergebnisse/{id}

create_ergebnis

Ergebnis create_ergebnis(body)

Example

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

Return type

Ergebnis

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_ergebnis

delete_ergebnis(id)

Example

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] [Back to Model list] [Back to README]

get_ergebnis

Ergebnis get_ergebnis(id)

Example

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

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_ergebnisse

ErgebnisArray get_ergebnisse()

Example

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

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_ergebnis

Ergebnis update_ergebnis(body, id)

Example

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
id int

Return type

Ergebnis

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]