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
5.6 KiB
swagger_client.SchuelerApi
All URIs are relative to /
| Method | HTTP request | Description |
|---|---|---|
| create_schueler | POST /schueler | |
| delete_schueler | DELETE /schueler/{id} | |
| get_schueler | GET /schueler/{id} | |
| get_schuelers | GET /schueler | |
| update_schueler | PUT /schueler/{id} |
create_schueler
Schueler create_schueler(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.SchuelerApi()
body = swagger_client.SchuelerCreatePayload() # SchuelerCreatePayload |
try:
api_response = api_instance.create_schueler(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SchuelerApi->create_schueler: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| body | SchuelerCreatePayload |
Return type
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_schueler
delete_schueler(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.SchuelerApi()
id = 56 # int |
try:
api_instance.delete_schueler(id)
except ApiException as e:
print("Exception when calling SchuelerApi->delete_schueler: %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_schueler
Schueler get_schueler(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.SchuelerApi()
id = 56 # int |
try:
api_response = api_instance.get_schueler(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SchuelerApi->get_schueler: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
Return type
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_schuelers
Schuelers get_schuelers()
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.SchuelerApi()
try:
api_response = api_instance.get_schuelers()
pprint(api_response)
except ApiException as e:
print("Exception when calling SchuelerApi->get_schuelers: %s\n" % e)
Parameters
This endpoint does not need any parameter.
Return type
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_schueler
Schueler update_schueler(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.SchuelerApi()
body = swagger_client.SchuelerUpdatePayload() # SchuelerUpdatePayload |
id = 56 # int |
try:
api_response = api_instance.update_schueler(body, id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SchuelerApi->update_schueler: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| body | SchuelerUpdatePayload | ||
| id | int |
Return type
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]