From 6e50b9d32dca5b1cfb9ecbd467946f614bc49833 Mon Sep 17 00:00:00 2001 From: StefanMoCoAt Date: Mon, 30 Jun 2025 23:41:50 +0200 Subject: [PATCH] (fix) Swagger/OpenAPI-Dokumentation implementieren --- server/docs/.swagger-codegen-ignore | 23 + server/docs/.swagger-codegen/VERSION | 1 + server/docs/index.html | 6388 ++++++++++++++++++++++++++ 3 files changed, 6412 insertions(+) create mode 100644 server/docs/.swagger-codegen-ignore create mode 100644 server/docs/.swagger-codegen/VERSION create mode 100644 server/docs/index.html diff --git a/server/docs/.swagger-codegen-ignore b/server/docs/.swagger-codegen-ignore new file mode 100644 index 00000000..c5fa491b --- /dev/null +++ b/server/docs/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/server/docs/.swagger-codegen/VERSION b/server/docs/.swagger-codegen/VERSION new file mode 100644 index 00000000..6cdf9d22 --- /dev/null +++ b/server/docs/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.67 \ No newline at end of file diff --git a/server/docs/index.html b/server/docs/index.html new file mode 100644 index 00000000..1567174b --- /dev/null +++ b/server/docs/index.html @@ -0,0 +1,6388 @@ + + + + + Meldestelle API + + + + + + + + + + + + + +
+
+ +
+
+
+

Meldestelle API

+
+
+
+ +
+
+

Default

+
+
+
+

apiGet

+

API information

+
+
+
+

+

Get basic API information

+

+
+
/api
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: text/plain"\
+"http://localhost:8080/api"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.DefaultApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DefaultApiExample {
+
+    public static void main(String[] args) {
+        
+        DefaultApi apiInstance = new DefaultApi();
+        try {
+            'String' result = apiInstance.apiGet();
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling DefaultApi#apiGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.DefaultApi;
+
+public class DefaultApiExample {
+
+    public static void main(String[] args) {
+        DefaultApi apiInstance = new DefaultApi();
+        try {
+            'String' result = apiInstance.apiGet();
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling DefaultApi#apiGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+

+DefaultApi *apiInstance = [[DefaultApi alloc] init];
+
+// API information
+[apiInstance apiGetWithCompletionHandler: 
+              ^('String' output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.DefaultApi()
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiGet(callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new DefaultApi();
+
+            try
+            {
+                // API information
+                'String' result = apiInstance.apiGet();
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling DefaultApi.apiGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiDefaultApi();
+
+try {
+    $result = $api_instance->apiGet();
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling DefaultApi->apiGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::DefaultApi;
+
+my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+
+eval { 
+    my $result = $api_instance->apiGet();
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling DefaultApi->apiGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.DefaultApi()
+
+try: 
+    # API information
+    api_response = api_instance.api_get()
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->apiGet: %s\n" % e)
+
+
+ +

Parameters

+ + + + + + +

Responses

+

Status: 200 - API information

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

healthGet

+

Health check

+
+
+
+

+

Check if the service is running

+

+
+
/health
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: text/plain"\
+"http://localhost:8080/health"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.DefaultApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DefaultApiExample {
+
+    public static void main(String[] args) {
+        
+        DefaultApi apiInstance = new DefaultApi();
+        try {
+            'String' result = apiInstance.healthGet();
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling DefaultApi#healthGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.DefaultApi;
+
+public class DefaultApiExample {
+
+    public static void main(String[] args) {
+        DefaultApi apiInstance = new DefaultApi();
+        try {
+            'String' result = apiInstance.healthGet();
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling DefaultApi#healthGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+

+DefaultApi *apiInstance = [[DefaultApi alloc] init];
+
+// Health check
+[apiInstance healthGetWithCompletionHandler: 
+              ^('String' output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.DefaultApi()
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.healthGet(callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class healthGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new DefaultApi();
+
+            try
+            {
+                // Health check
+                'String' result = apiInstance.healthGet();
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling DefaultApi.healthGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiDefaultApi();
+
+try {
+    $result = $api_instance->healthGet();
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling DefaultApi->healthGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::DefaultApi;
+
+my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+
+eval { 
+    my $result = $api_instance->healthGet();
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling DefaultApi->healthGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.DefaultApi()
+
+try: 
+    # Health check
+    api_response = api_instance.health_get()
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->healthGet: %s\n" % e)
+
+
+ +

Parameters

+ + + + + + +

Responses

+

Status: 200 - Service is healthy

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

Persons

+
+
+
+

apiPersonsGet

+

Get all persons

+
+
+
+

+

Retrieve a list of all persons in the system

+

+
+
/api/persons
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"http://localhost:8080/api/persons"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        try {
+            array[Person] result = apiInstance.apiPersonsGet();
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        try {
+            array[Person] result = apiInstance.apiPersonsGet();
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+

+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Get all persons
+[apiInstance apiPersonsGetWithCompletionHandler: 
+              ^(array[Person] output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsGet(callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+
+            try
+            {
+                // Get all persons
+                array[Person] result = apiInstance.apiPersonsGet();
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+
+try {
+    $result = $api_instance->apiPersonsGet();
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+
+eval { 
+    my $result = $api_instance->apiPersonsGet();
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+
+try: 
+    # Get all persons
+    api_response = api_instance.api_persons_get()
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsGet: %s\n" % e)
+
+
+ +

Parameters

+ + + + + + +

Responses

+

Status: 200 - List of persons

+ + + +
+
+
+ +
+ +
+
+ +

Status: 500 - Internal server error

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsIdDelete

+

Delete person

+
+
+
+

+

Delete a person from the system

+

+
+
/api/persons/{id}
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X DELETE\
+-H "Accept: application/json"\
+"http://localhost:8080/api/persons/{id}"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+        try {
+            apiInstance.apiPersonsIdDelete(id);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsIdDelete");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+        try {
+            apiInstance.apiPersonsIdDelete(id);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsIdDelete");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Person UUID
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Delete person
+[apiInstance apiPersonsIdDeleteWith:id
+              completionHandler: ^(NSError* error) {
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {{UUID}} Person UUID
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully.');
+  }
+};
+api.apiPersonsIdDelete(id, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsIdDeleteExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var id = new UUID(); // UUID | Person UUID
+
+            try
+            {
+                // Delete person
+                apiInstance.apiPersonsIdDelete(id);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsIdDelete: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+
+try {
+    $api_instance->apiPersonsIdDelete($id);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsIdDelete: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Person UUID
+
+eval { 
+    $api_instance->apiPersonsIdDelete(id => $id);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsIdDelete: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Person UUID
+
+try: 
+    # Delete person
+    api_instance.api_persons_id_delete(id)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsIdDelete: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + +
NameDescription
id* + + +
+
+
+ + UUID + + + (uuid) + + +
+ Person UUID +
+
+
+ Required +
+
+
+
+ + + + + +

Responses

+

Status: 204 - Person deleted successfully

+ + + +
+
+ +

Status: 400 - Invalid UUID format

+ + + +
+
+
+ +
+ +
+
+ +

Status: 404 - Person not found

+ + + +
+
+
+ +
+ +
+
+ +

Status: 500 - Internal server error

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsIdGet

+

Get person by ID

+
+
+
+

+

Retrieve a specific person by their UUID

+

+
+
/api/persons/{id}
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"http://localhost:8080/api/persons/{id}"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+        try {
+            Person result = apiInstance.apiPersonsIdGet(id);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsIdGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+        try {
+            Person result = apiInstance.apiPersonsIdGet(id);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsIdGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Person UUID
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Get person by ID
+[apiInstance apiPersonsIdGetWith:id
+              completionHandler: ^(Person output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {{UUID}} Person UUID
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsIdGet(id, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsIdGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var id = new UUID(); // UUID | Person UUID
+
+            try
+            {
+                // Get person by ID
+                Person result = apiInstance.apiPersonsIdGet(id);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsIdGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+
+try {
+    $result = $api_instance->apiPersonsIdGet($id);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsIdGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Person UUID
+
+eval { 
+    my $result = $api_instance->apiPersonsIdGet(id => $id);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsIdGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Person UUID
+
+try: 
+    # Get person by ID
+    api_response = api_instance.api_persons_id_get(id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsIdGet: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + +
NameDescription
id* + + +
+
+
+ + UUID + + + (uuid) + + +
+ Person UUID +
+
+
+ Required +
+
+
+
+ + + + + +

Responses

+

Status: 200 - Person found

+ + + +
+
+
+ +
+ +
+
+ +

Status: 400 - Invalid UUID format

+ + + +
+
+
+ +
+ +
+
+ +

Status: 404 - Person not found

+ + + +
+
+
+ +
+ +
+
+ +

Status: 500 - Internal server error

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsIdPut

+

Update person

+
+
+
+

+

Update an existing person

+

+
+
/api/persons/{id}
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X PUT\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"http://localhost:8080/api/persons/{id}"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        Person body = ; // Person | 
+        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+        try {
+            Person result = apiInstance.apiPersonsIdPut(body, id);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsIdPut");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        Person body = ; // Person | 
+        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+        try {
+            Person result = apiInstance.apiPersonsIdPut(body, id);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsIdPut");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
Person *body = ; // 
+UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Person UUID
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Update person
+[apiInstance apiPersonsIdPutWith:body
+    id:id
+              completionHandler: ^(Person output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var body = ; // {{Person}} 
+var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {{UUID}} Person UUID
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsIdPut(bodyid, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsIdPutExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var body = new Person(); // Person | 
+            var id = new UUID(); // UUID | Person UUID
+
+            try
+            {
+                // Update person
+                Person result = apiInstance.apiPersonsIdPut(body, id);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsIdPut: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$body = ; // Person | 
+$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Person UUID
+
+try {
+    $result = $api_instance->apiPersonsIdPut($body, $id);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsIdPut: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $body = WWW::SwaggerClient::Object::Person->new(); # Person | 
+my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Person UUID
+
+eval { 
+    my $result = $api_instance->apiPersonsIdPut(body => $body, id => $id);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsIdPut: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+body =  # Person | 
+id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Person UUID
+
+try: 
+    # Update person
+    api_response = api_instance.api_persons_id_put(body, id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsIdPut: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + +
NameDescription
id* + + +
+
+
+ + UUID + + + (uuid) + + +
+ Person UUID +
+
+
+ Required +
+
+
+
+ + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - Person updated successfully

+ + + +
+
+
+ +
+ +
+
+ +

Status: 400 - Bad request

+ + + +
+
+
+ +
+ +
+
+ +

Status: 404 - Person not found

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsOepsOepsSatzNrGet

+

Get person by OEPS number

+
+
+
+

+

Retrieve a person by their OEPS Satz number

+

+
+
/api/persons/oeps/{oepsSatzNr}
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"http://localhost:8080/api/persons/oeps/{oepsSatzNr}"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        String oepsSatzNr = oepsSatzNr_example; // String | OEPS Satz number
+        try {
+            Person result = apiInstance.apiPersonsOepsOepsSatzNrGet(oepsSatzNr);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsOepsOepsSatzNrGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        String oepsSatzNr = oepsSatzNr_example; // String | OEPS Satz number
+        try {
+            Person result = apiInstance.apiPersonsOepsOepsSatzNrGet(oepsSatzNr);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsOepsOepsSatzNrGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
String *oepsSatzNr = oepsSatzNr_example; // OEPS Satz number
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Get person by OEPS number
+[apiInstance apiPersonsOepsOepsSatzNrGetWith:oepsSatzNr
+              completionHandler: ^(Person output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var oepsSatzNr = oepsSatzNr_example; // {{String}} OEPS Satz number
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsOepsOepsSatzNrGet(oepsSatzNr, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsOepsOepsSatzNrGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var oepsSatzNr = oepsSatzNr_example;  // String | OEPS Satz number
+
+            try
+            {
+                // Get person by OEPS number
+                Person result = apiInstance.apiPersonsOepsOepsSatzNrGet(oepsSatzNr);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsOepsOepsSatzNrGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$oepsSatzNr = oepsSatzNr_example; // String | OEPS Satz number
+
+try {
+    $result = $api_instance->apiPersonsOepsOepsSatzNrGet($oepsSatzNr);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsOepsOepsSatzNrGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $oepsSatzNr = oepsSatzNr_example; # String | OEPS Satz number
+
+eval { 
+    my $result = $api_instance->apiPersonsOepsOepsSatzNrGet(oepsSatzNr => $oepsSatzNr);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsOepsOepsSatzNrGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+oepsSatzNr = oepsSatzNr_example # String | OEPS Satz number
+
+try: 
+    # Get person by OEPS number
+    api_response = api_instance.api_persons_oeps_oeps_satz_nr_get(oepsSatzNr)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsOepsOepsSatzNrGet: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + +
NameDescription
oepsSatzNr* + + +
+
+
+ + String + + +
+ OEPS Satz number +
+
+
+ Required +
+
+
+
+ + + + + +

Responses

+

Status: 200 - Person found

+ + + +
+
+
+ +
+ +
+
+ +

Status: 400 - Missing OEPS Satz number

+ + + +
+
+
+ +
+ +
+
+ +

Status: 404 - Person not found

+ + + +
+
+
+ +
+ +
+
+ +

Status: 500 - Internal server error

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsPost

+

Create new person

+
+
+
+

+

Create a new person in the system

+

+
+
/api/persons
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"http://localhost:8080/api/persons"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        Person body = ; // Person | 
+        try {
+            Person result = apiInstance.apiPersonsPost(body);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsPost");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        Person body = ; // Person | 
+        try {
+            Person result = apiInstance.apiPersonsPost(body);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsPost");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
Person *body = ; // 
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Create new person
+[apiInstance apiPersonsPostWith:body
+              completionHandler: ^(Person output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var body = ; // {{Person}} 
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsPost(body, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsPostExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var body = new Person(); // Person | 
+
+            try
+            {
+                // Create new person
+                Person result = apiInstance.apiPersonsPost(body);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsPost: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$body = ; // Person | 
+
+try {
+    $result = $api_instance->apiPersonsPost($body);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsPost: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $body = WWW::SwaggerClient::Object::Person->new(); # Person | 
+
+eval { 
+    my $result = $api_instance->apiPersonsPost(body => $body);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsPost: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+body =  # Person | 
+
+try: 
+    # Create new person
+    api_response = api_instance.api_persons_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsPost: %s\n" % e)
+
+
+ +

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 201 - Person created successfully

+ + + +
+
+
+ +
+ +
+
+ +

Status: 400 - Bad request

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsSearchGet

+

Search persons

+
+
+
+

+

Search for persons using a query string

+

+
+
/api/persons/search
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"http://localhost:8080/api/persons/search?q="
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        String q = q_example; // String | Search query
+        try {
+            array[Person] result = apiInstance.apiPersonsSearchGet(q);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsSearchGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        String q = q_example; // String | Search query
+        try {
+            array[Person] result = apiInstance.apiPersonsSearchGet(q);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsSearchGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
String *q = q_example; // Search query
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Search persons
+[apiInstance apiPersonsSearchGetWith:q
+              completionHandler: ^(array[Person] output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var q = q_example; // {{String}} Search query
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsSearchGet(q, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsSearchGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var q = q_example;  // String | Search query
+
+            try
+            {
+                // Search persons
+                array[Person] result = apiInstance.apiPersonsSearchGet(q);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsSearchGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$q = q_example; // String | Search query
+
+try {
+    $result = $api_instance->apiPersonsSearchGet($q);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsSearchGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $q = q_example; # String | Search query
+
+eval { 
+    my $result = $api_instance->apiPersonsSearchGet(q => $q);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsSearchGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+q = q_example # String | Search query
+
+try: 
+    # Search persons
+    api_response = api_instance.api_persons_search_get(q)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsSearchGet: %s\n" % e)
+
+
+ +

Parameters

+ + + + + +
Query parameters
+ + + + + + + + +
NameDescription
q* + + +
+
+
+ + String + + +
+ Search query +
+
+
+ Required +
+
+
+
+ +

Responses

+

Status: 200 - Search results

+ + + +
+
+
+ +
+ +
+
+ +

Status: 400 - Missing search query

+ + + +
+
+
+ +
+ +
+
+ +

Status: 500 - Internal server error

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+

apiPersonsVereinVereinIdGet

+

Get persons by club ID

+
+
+
+

+

Retrieve all persons belonging to a specific club

+

+
+
/api/persons/verein/{vereinId}
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"http://localhost:8080/api/persons/verein/{vereinId}"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.PersonsApi;
+
+import java.io.File;
+import java.util.*;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        
+        PersonsApi apiInstance = new PersonsApi();
+        UUID vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Club UUID
+        try {
+            array[Person] result = apiInstance.apiPersonsVereinVereinIdGet(vereinId);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsVereinVereinIdGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.PersonsApi;
+
+public class PersonsApiExample {
+
+    public static void main(String[] args) {
+        PersonsApi apiInstance = new PersonsApi();
+        UUID vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Club UUID
+        try {
+            array[Person] result = apiInstance.apiPersonsVereinVereinIdGet(vereinId);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling PersonsApi#apiPersonsVereinVereinIdGet");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
UUID *vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Club UUID
+
+PersonsApi *apiInstance = [[PersonsApi alloc] init];
+
+// Get persons by club ID
+[apiInstance apiPersonsVereinVereinIdGetWith:vereinId
+              completionHandler: ^(array[Person] output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var MeldestelleApi = require('meldestelle_api');
+
+var api = new MeldestelleApi.PersonsApi()
+var vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {{UUID}} Club UUID
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.apiPersonsVereinVereinIdGet(vereinId, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class apiPersonsVereinVereinIdGetExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new PersonsApi();
+            var vereinId = new UUID(); // UUID | Club UUID
+
+            try
+            {
+                // Get persons by club ID
+                array[Person] result = apiInstance.apiPersonsVereinVereinIdGet(vereinId);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling PersonsApi.apiPersonsVereinVereinIdGet: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiPersonsApi();
+$vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Club UUID
+
+try {
+    $result = $api_instance->apiPersonsVereinVereinIdGet($vereinId);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling PersonsApi->apiPersonsVereinVereinIdGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::PersonsApi;
+
+my $api_instance = WWW::SwaggerClient::PersonsApi->new();
+my $vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Club UUID
+
+eval { 
+    my $result = $api_instance->apiPersonsVereinVereinIdGet(vereinId => $vereinId);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling PersonsApi->apiPersonsVereinVereinIdGet: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+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.PersonsApi()
+vereinId = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Club UUID
+
+try: 
+    # Get persons by club ID
+    api_response = api_instance.api_persons_verein_verein_id_get(vereinId)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling PersonsApi->apiPersonsVereinVereinIdGet: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + +
NameDescription
vereinId* + + +
+
+
+ + UUID + + + (uuid) + + +
+ Club UUID +
+
+
+ Required +
+
+
+
+ + + + + +

Responses

+

Status: 200 - List of persons in the club

+ + + +
+
+
+ +
+ +
+
+ +

Status: 400 - Invalid UUID format

+ + + +
+
+
+ +
+ +
+
+ +

Status: 500 - Internal server error

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+
+
+ + + + + + + + +