PatientDB API

Default

attachmentsGet

Get Attachment

This returns an attachment


/attachments

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/pdf" \
 "https://app.psido.at/api/attachments"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            File result = apiInstance.attachmentsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.attachmentsGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->attachmentsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            File result = apiInstance.attachmentsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get Attachment
[apiInstance attachmentsGetWithCompletionHandler: 
              ^(File output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attachmentsGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attachmentsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Get Attachment
                File result = apiInstance.attachmentsGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.attachmentsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->attachmentsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attachmentsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->attachmentsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Get Attachment
    api_response = api_instance.attachments_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->attachmentsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.attachmentsGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


attachmentsPost

check attachment

This checks if the password of an attachment key is correct, sets the cookie and proceeds to the download.


/attachments

Usage and SDK Samples

curl -X POST \
 \
 "https://app.psido.at/api/attachments?key=key_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String key = key_example; // String | 
        String xPSIDOSECRET = xPSIDOSECRET_example; // String | 

        try {
            apiInstance.attachmentsPost(key, xPSIDOSECRET);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String key = new String(); // String | 
final String xPSIDOSECRET = new String(); // String | 

try {
    final result = await api_instance.attachmentsPost(key, xPSIDOSECRET);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->attachmentsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String key = key_example; // String | 
        String xPSIDOSECRET = xPSIDOSECRET_example; // String | 

        try {
            apiInstance.attachmentsPost(key, xPSIDOSECRET);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *key = key_example; //  (default to null)
String *xPSIDOSECRET = xPSIDOSECRET_example; //  (default to null)

// check attachment
[apiInstance attachmentsPostWith:key
    xPSIDOSECRET:xPSIDOSECRET
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var key = key_example; // {String} 
var xPSIDOSECRET = xPSIDOSECRET_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attachmentsPost(key, xPSIDOSECRET, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attachmentsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var key = key_example;  // String |  (default to null)
            var xPSIDOSECRET = xPSIDOSECRET_example;  // String |  (default to null)

            try {
                // check attachment
                apiInstance.attachmentsPost(key, xPSIDOSECRET);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.attachmentsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$key = key_example; // String | 
$xPSIDOSECRET = xPSIDOSECRET_example; // String | 

try {
    $api_instance->attachmentsPost($key, $xPSIDOSECRET);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attachmentsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $key = key_example; # String | 
my $xPSIDOSECRET = xPSIDOSECRET_example; # String | 

eval {
    $api_instance->attachmentsPost(key => $key, xPSIDOSECRET => $xPSIDOSECRET);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
key = key_example # String |  (default to null)
xPSIDOSECRET = xPSIDOSECRET_example # String |  (default to null)

try:
    # check attachment
    api_instance.attachments_post(key, xPSIDOSECRET)
except ApiException as e:
    print("Exception when calling DefaultApi->attachmentsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let key = key_example; // String
    let xPSIDOSECRET = xPSIDOSECRET_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.attachmentsPost(key, xPSIDOSECRET, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Header parameters
NameDescription
X-PSIDO-SECRET*
String
Required
Query parameters
NameDescription
key*
String
Required

Responses


v1AnamnesisDelete

Deletes an anamnesis

This deletes a anamnesis from the database


/v1/anamnesis

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/anamnesis?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis.

        try {
            anamnesis result = apiInstance.v1AnamnesisDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the anamnesis.

try {
    final result = await api_instance.v1AnamnesisDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AnamnesisDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis.

        try {
            anamnesis result = apiInstance.v1AnamnesisDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the anamnesis. (default to null)

// Deletes an anamnesis
[apiInstance v1AnamnesisDeleteWith:uuid
              completionHandler: ^(anamnesis output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the anamnesis.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AnamnesisDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AnamnesisDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the anamnesis. (default to null)

            try {
                // Deletes an anamnesis
                anamnesis result = apiInstance.v1AnamnesisDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AnamnesisDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis.

try {
    $result = $api_instance->v1AnamnesisDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AnamnesisDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the anamnesis.

eval {
    my $result = $api_instance->v1AnamnesisDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AnamnesisDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the anamnesis. (default to null)

try:
    # Deletes an anamnesis
    api_response = api_instance.v1_anamnesis_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AnamnesisDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1AnamnesisDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the anamnesis.
Required

Responses


v1AnamnesisGet

Get anamnesis Data

This returns all anamnesis templates


/v1/anamnesis

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/anamnesis?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis. If not set, the request will return all families.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            anamnesis result = apiInstance.v1AnamnesisGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the anamnesis. If not set, the request will return all families.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1AnamnesisGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AnamnesisGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis. If not set, the request will return all families.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            anamnesis result = apiInstance.v1AnamnesisGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the anamnesis. If not set, the request will return all families. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get anamnesis Data
[apiInstance v1AnamnesisGetWith:uuid
    limit:limit
              completionHandler: ^(anamnesis output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the anamnesis. If not set, the request will return all families.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AnamnesisGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AnamnesisGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the anamnesis. If not set, the request will return all families. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get anamnesis Data
                anamnesis result = apiInstance.v1AnamnesisGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AnamnesisGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis. If not set, the request will return all families.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1AnamnesisGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AnamnesisGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the anamnesis. If not set, the request will return all families.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1AnamnesisGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AnamnesisGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the anamnesis. If not set, the request will return all families. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get anamnesis Data
    api_response = api_instance.v1_anamnesis_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AnamnesisGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1AnamnesisGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the anamnesis. If not set, the request will return all families.
limit
Integer
How many datasets to return

Responses


v1AnamnesisPost

Save a new anamnesis template

This creates a new anamnesis in the database


/v1/anamnesis

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/anamnesis" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Anamnesis anamnesis = ; // Anamnesis | 

        try {
            anamnesis result = apiInstance.v1AnamnesisPost(anamnesis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Anamnesis anamnesis = new Anamnesis(); // Anamnesis | 

try {
    final result = await api_instance.v1AnamnesisPost(anamnesis);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AnamnesisPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Anamnesis anamnesis = ; // Anamnesis | 

        try {
            anamnesis result = apiInstance.v1AnamnesisPost(anamnesis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Anamnesis *anamnesis = ; //  (optional)

// Save a new anamnesis template
[apiInstance v1AnamnesisPostWith:anamnesis
              completionHandler: ^(anamnesis output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'anamnesis':  // {Anamnesis} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AnamnesisPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AnamnesisPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var anamnesis = new Anamnesis(); // Anamnesis |  (optional) 

            try {
                // Save a new anamnesis template
                anamnesis result = apiInstance.v1AnamnesisPost(anamnesis);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AnamnesisPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$anamnesis = ; // Anamnesis | 

try {
    $result = $api_instance->v1AnamnesisPost($anamnesis);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AnamnesisPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $anamnesis = WWW::OPenAPIClient::Object::Anamnesis->new(); # Anamnesis | 

eval {
    my $result = $api_instance->v1AnamnesisPost(anamnesis => $anamnesis);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AnamnesisPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
anamnesis =  # Anamnesis |  (optional)

try:
    # Save a new anamnesis template
    api_response = api_instance.v1_anamnesis_post(anamnesis=anamnesis)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AnamnesisPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let anamnesis = ; // Anamnesis

    let mut context = DefaultApi::Context::default();
    let result = client.v1AnamnesisPost(anamnesis, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
anamnesis

Responses


v1AnamnesisPut

Update anamnesis Data

This updates an anamnesis


/v1/anamnesis

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/anamnesis?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis.
        Anamnesis anamnesis = ; // Anamnesis | 

        try {
            anamnesis result = apiInstance.v1AnamnesisPut(uuid, anamnesis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the anamnesis.
final Anamnesis anamnesis = new Anamnesis(); // Anamnesis | 

try {
    final result = await api_instance.v1AnamnesisPut(uuid, anamnesis);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AnamnesisPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis.
        Anamnesis anamnesis = ; // Anamnesis | 

        try {
            anamnesis result = apiInstance.v1AnamnesisPut(uuid, anamnesis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AnamnesisPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the anamnesis. (default to null)
Anamnesis *anamnesis = ; //  (optional)

// Update anamnesis Data
[apiInstance v1AnamnesisPutWith:uuid
    anamnesis:anamnesis
              completionHandler: ^(anamnesis output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the anamnesis.
var opts = {
  'anamnesis':  // {Anamnesis} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AnamnesisPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AnamnesisPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the anamnesis. (default to null)
            var anamnesis = new Anamnesis(); // Anamnesis |  (optional) 

            try {
                // Update anamnesis Data
                anamnesis result = apiInstance.v1AnamnesisPut(uuid, anamnesis);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AnamnesisPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the anamnesis.
$anamnesis = ; // Anamnesis | 

try {
    $result = $api_instance->v1AnamnesisPut($uuid, $anamnesis);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AnamnesisPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the anamnesis.
my $anamnesis = WWW::OPenAPIClient::Object::Anamnesis->new(); # Anamnesis | 

eval {
    my $result = $api_instance->v1AnamnesisPut(uuid => $uuid, anamnesis => $anamnesis);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AnamnesisPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the anamnesis. (default to null)
anamnesis =  # Anamnesis |  (optional)

try:
    # Update anamnesis Data
    api_response = api_instance.v1_anamnesis_put(uuid, anamnesis=anamnesis)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AnamnesisPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let anamnesis = ; // Anamnesis

    let mut context = DefaultApi::Context::default();
    let result = client.v1AnamnesisPut(uuid, anamnesis, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
anamnesis

Query parameters
NameDescription
uuid*
String
The UUID of the anamnesis.
Required

Responses


v1AttachmentInspectorGet

Inspect Attachment

This returns an attachment for inspection by root users.


/v1/attachment-inspector

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/attachment-inspector?filekey=41C0FE2F"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String filekey = 41C0FE2F; // String | The filekey of the attachment.

        try {
            attachment result = apiInstance.v1AttachmentInspectorGet(filekey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AttachmentInspectorGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String filekey = new String(); // String | The filekey of the attachment.

try {
    final result = await api_instance.v1AttachmentInspectorGet(filekey);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AttachmentInspectorGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String filekey = 41C0FE2F; // String | The filekey of the attachment.

        try {
            attachment result = apiInstance.v1AttachmentInspectorGet(filekey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AttachmentInspectorGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *filekey = 41C0FE2F; // The filekey of the attachment. (default to null)

// Inspect Attachment
[apiInstance v1AttachmentInspectorGetWith:filekey
              completionHandler: ^(attachment output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var filekey = 41C0FE2F; // {String} The filekey of the attachment.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AttachmentInspectorGet(filekey, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AttachmentInspectorGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filekey = 41C0FE2F;  // String | The filekey of the attachment. (default to null)

            try {
                // Inspect Attachment
                attachment result = apiInstance.v1AttachmentInspectorGet(filekey);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AttachmentInspectorGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filekey = 41C0FE2F; // String | The filekey of the attachment.

try {
    $result = $api_instance->v1AttachmentInspectorGet($filekey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AttachmentInspectorGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $filekey = 41C0FE2F; # String | The filekey of the attachment.

eval {
    my $result = $api_instance->v1AttachmentInspectorGet(filekey => $filekey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AttachmentInspectorGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
filekey = 41C0FE2F # String | The filekey of the attachment. (default to null)

try:
    # Inspect Attachment
    api_response = api_instance.v1_attachment_inspector_get(filekey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AttachmentInspectorGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filekey = 41C0FE2F; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1AttachmentInspectorGet(filekey, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
filekey*
String
The filekey of the attachment.
Required

Responses


v1BackupGet

Get all Patient and family Data in a single zip file

This returns all patients and families in a zip file


/v1/backup

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/octet-stream" \
 "https://app.psido.at/api/v1/backup"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            File result = apiInstance.v1BackupGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BackupGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1BackupGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BackupGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            File result = apiInstance.v1BackupGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BackupGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get all Patient and family Data in a single zip file
[apiInstance v1BackupGetWithCompletionHandler: 
              ^(File output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BackupGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BackupGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Get all Patient and family Data in a single zip file
                File result = apiInstance.v1BackupGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BackupGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1BackupGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BackupGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1BackupGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BackupGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Get all Patient and family Data in a single zip file
    api_response = api_instance.v1_backup_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BackupGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1BackupGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1BecomeGet

creates the cookie

This call converts an url to a logged in user by setting a cookie, allowing the manipulations to happen.


/v1/become

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/become?cookie=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The cookie

        try {
            apiInstance.v1BecomeGet(cookie);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BecomeGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String cookie = new String(); // String | The cookie

try {
    final result = await api_instance.v1BecomeGet(cookie);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BecomeGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The cookie

        try {
            apiInstance.v1BecomeGet(cookie);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BecomeGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The cookie (default to null)

// creates the cookie
[apiInstance v1BecomeGetWith:cookie
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The cookie

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1BecomeGet(cookie, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BecomeGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The cookie (default to null)

            try {
                // creates the cookie
                apiInstance.v1BecomeGet(cookie);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BecomeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The cookie

try {
    $api_instance->v1BecomeGet($cookie);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BecomeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The cookie

eval {
    $api_instance->v1BecomeGet(cookie => $cookie);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BecomeGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The cookie (default to null)

try:
    # creates the cookie
    api_instance.v1_become_get(cookie)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BecomeGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cookie = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1BecomeGet(cookie, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
cookie*

Responses

NameTypeFormatDescription
Set-CookieString


v1BecomePost

A root user can manipulate user data with this post request.

This call allows a root user to manipulate any user's data by specifying the user id.


/v1/become

Usage and SDK Samples

curl -X POST \
 -H "Accept: text/plain,application/json" \
 "https://app.psido.at/api/v1/become?user_id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | The user id we want to become

        try {
            'String' result = apiInstance.v1BecomePost(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BecomePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userId = new Long(); // Long | The user id we want to become

try {
    final result = await api_instance.v1BecomePost(userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BecomePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | The user id we want to become

        try {
            'String' result = apiInstance.v1BecomePost(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BecomePost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userId = 1; // The user id we want to become (default to null)

// A root user can manipulate user data with this post request.
[apiInstance v1BecomePostWith:userId
              completionHandler: ^('String' output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var userId = 1; // {Long} The user id we want to become

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BecomePost(userId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BecomePostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userId = 1;  // Long | The user id we want to become (default to null)

            try {
                // A root user can manipulate user data with this post request.
                'String' result = apiInstance.v1BecomePost(userId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BecomePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userId = 1; // Long | The user id we want to become

try {
    $result = $api_instance->v1BecomePost($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BecomePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userId = 1; # Long | The user id we want to become

eval {
    my $result = $api_instance->v1BecomePost(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BecomePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userId = 1 # Long | The user id we want to become (default to null)

try:
    # A root user can manipulate user data with this post request.
    api_response = api_instance.v1_become_post(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BecomePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userId = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1BecomePost(userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
user_id*
Long (int64)
The user id we want to become
Required

Responses


v1BillTemplatesDelete

Deletes a billTemplate

This deletes a billTemplate from the database


/v1/bill-templates

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/bill-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate.

        try {
            billTemplate result = apiInstance.v1BillTemplatesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the billTemplate.

try {
    final result = await api_instance.v1BillTemplatesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillTemplatesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate.

        try {
            billTemplate result = apiInstance.v1BillTemplatesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the billTemplate. (default to null)

// Deletes a billTemplate
[apiInstance v1BillTemplatesDeleteWith:uuid
              completionHandler: ^(billTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the billTemplate.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillTemplatesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillTemplatesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the billTemplate. (default to null)

            try {
                // Deletes a billTemplate
                billTemplate result = apiInstance.v1BillTemplatesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillTemplatesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate.

try {
    $result = $api_instance->v1BillTemplatesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillTemplatesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the billTemplate.

eval {
    my $result = $api_instance->v1BillTemplatesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillTemplatesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the billTemplate. (default to null)

try:
    # Deletes a billTemplate
    api_response = api_instance.v1_bill_templates_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillTemplatesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillTemplatesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the billTemplate.
Required

Responses


v1BillTemplatesGet

Get billTemplate templates Data

This returns all billTemplate templates


/v1/bill-templates

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/bill-templates?limit=5&user_id=1&verbose=true&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate. If not set, the request will return all bills.

        try {
            array[billTemplate] result = apiInstance.v1BillTemplatesGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT
final Boolean verbose = new Boolean(); // Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
final String uuid = new String(); // String | The UUID of the billTemplate. If not set, the request will return all bills.

try {
    final result = await api_instance.v1BillTemplatesGet(limit, userId, verbose, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillTemplatesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate. If not set, the request will return all bills.

        try {
            array[billTemplate] result = apiInstance.v1BillTemplatesGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
Boolean *verbose = true; // If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the billTemplate. If not set, the request will return all bills. (optional) (default to null)

// Get billTemplate templates Data
[apiInstance v1BillTemplatesGetWith:limit
    userId:userId
    verbose:verbose
    uuid:uuid
              completionHandler: ^(array[billTemplate] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'userId': 1, // {Long} The user_id of the user. Can only be used for users with role == ROOT
  'verbose': true, // {Boolean} If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the billTemplate. If not set, the request will return all bills.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillTemplatesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillTemplatesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)
            var verbose = true;  // Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date. (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the billTemplate. If not set, the request will return all bills. (optional)  (default to null)

            try {
                // Get billTemplate templates Data
                array[billTemplate] result = apiInstance.v1BillTemplatesGet(limit, userId, verbose, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillTemplatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
$verbose = true; // Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate. If not set, the request will return all bills.

try {
    $result = $api_instance->v1BillTemplatesGet($limit, $userId, $verbose, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillTemplatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT
my $verbose = true; # Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the billTemplate. If not set, the request will return all bills.

eval {
    my $result = $api_instance->v1BillTemplatesGet(limit => $limit, userId => $userId, verbose => $verbose, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillTemplatesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
verbose = true # Boolean | If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the billTemplate. If not set, the request will return all bills. (optional) (default to null)

try:
    # Get billTemplate templates Data
    api_response = api_instance.v1_bill_templates_get(limit=limit, userId=userId, verbose=verbose, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillTemplatesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let userId = 1; // Long
    let verbose = true; // Boolean
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillTemplatesGet(limit, userId, verbose, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT
verbose
Boolean
If set to true, the response will contain all fields of the billTemplate. If set to false, the response will contain only the uuid and the date.
uuid
String
The UUID of the billTemplate. If not set, the request will return all bills.

Responses


v1BillTemplatesPost

Save a new billTemplate

This creates a new billTemplate in the database


/v1/bill-templates

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/bill-templates?noRelationship=true&parentObjectName=family" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        BillTemplate billTemplate = ; // BillTemplate | 

        try {
            billTemplate result = apiInstance.v1BillTemplatesPost(noRelationship, parentObjectName, billTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean noRelationship = new Boolean(); // Boolean | if the relationship should be created or not
final String parentObjectName = new String(); // String | the name of the parent object
final BillTemplate billTemplate = new BillTemplate(); // BillTemplate | 

try {
    final result = await api_instance.v1BillTemplatesPost(noRelationship, parentObjectName, billTemplate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillTemplatesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        BillTemplate billTemplate = ; // BillTemplate | 

        try {
            billTemplate result = apiInstance.v1BillTemplatesPost(noRelationship, parentObjectName, billTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *noRelationship = true; // if the relationship should be created or not (optional) (default to null)
String *parentObjectName = family; // the name of the parent object (optional) (default to null)
BillTemplate *billTemplate = ; //  (optional)

// Save a new billTemplate
[apiInstance v1BillTemplatesPostWith:noRelationship
    parentObjectName:parentObjectName
    billTemplate:billTemplate
              completionHandler: ^(billTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'noRelationship': true, // {Boolean} if the relationship should be created or not
  'parentObjectName': family, // {String} the name of the parent object
  'billTemplate':  // {BillTemplate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillTemplatesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillTemplatesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var noRelationship = true;  // Boolean | if the relationship should be created or not (optional)  (default to null)
            var parentObjectName = family;  // String | the name of the parent object (optional)  (default to null)
            var billTemplate = new BillTemplate(); // BillTemplate |  (optional) 

            try {
                // Save a new billTemplate
                billTemplate result = apiInstance.v1BillTemplatesPost(noRelationship, parentObjectName, billTemplate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillTemplatesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$noRelationship = true; // Boolean | if the relationship should be created or not
$parentObjectName = family; // String | the name of the parent object
$billTemplate = ; // BillTemplate | 

try {
    $result = $api_instance->v1BillTemplatesPost($noRelationship, $parentObjectName, $billTemplate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillTemplatesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $noRelationship = true; # Boolean | if the relationship should be created or not
my $parentObjectName = family; # String | the name of the parent object
my $billTemplate = WWW::OPenAPIClient::Object::BillTemplate->new(); # BillTemplate | 

eval {
    my $result = $api_instance->v1BillTemplatesPost(noRelationship => $noRelationship, parentObjectName => $parentObjectName, billTemplate => $billTemplate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillTemplatesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
noRelationship = true # Boolean | if the relationship should be created or not (optional) (default to null)
parentObjectName = family # String | the name of the parent object (optional) (default to null)
billTemplate =  # BillTemplate |  (optional)

try:
    # Save a new billTemplate
    api_response = api_instance.v1_bill_templates_post(noRelationship=noRelationship, parentObjectName=parentObjectName, billTemplate=billTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillTemplatesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let noRelationship = true; // Boolean
    let parentObjectName = family; // String
    let billTemplate = ; // BillTemplate

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillTemplatesPost(noRelationship, parentObjectName, billTemplate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
billTemplate

Query parameters
NameDescription
noRelationship
Boolean
if the relationship should be created or not
parentObjectName
String
the name of the parent object

Responses


v1BillTemplatesPut

Update billTemplateing Data

This updates a billTemplate


/v1/bill-templates

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/bill-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate.
        BillTemplate billTemplate = ; // BillTemplate | 

        try {
            billTemplate result = apiInstance.v1BillTemplatesPut(uuid, billTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the billTemplate.
final BillTemplate billTemplate = new BillTemplate(); // BillTemplate | 

try {
    final result = await api_instance.v1BillTemplatesPut(uuid, billTemplate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillTemplatesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate.
        BillTemplate billTemplate = ; // BillTemplate | 

        try {
            billTemplate result = apiInstance.v1BillTemplatesPut(uuid, billTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillTemplatesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the billTemplate. (optional) (default to null)
BillTemplate *billTemplate = ; //  (optional)

// Update billTemplateing Data
[apiInstance v1BillTemplatesPutWith:uuid
    billTemplate:billTemplate
              completionHandler: ^(billTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the billTemplate.
  'billTemplate':  // {BillTemplate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillTemplatesPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillTemplatesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the billTemplate. (optional)  (default to null)
            var billTemplate = new BillTemplate(); // BillTemplate |  (optional) 

            try {
                // Update billTemplateing Data
                billTemplate result = apiInstance.v1BillTemplatesPut(uuid, billTemplate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillTemplatesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the billTemplate.
$billTemplate = ; // BillTemplate | 

try {
    $result = $api_instance->v1BillTemplatesPut($uuid, $billTemplate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillTemplatesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the billTemplate.
my $billTemplate = WWW::OPenAPIClient::Object::BillTemplate->new(); # BillTemplate | 

eval {
    my $result = $api_instance->v1BillTemplatesPut(uuid => $uuid, billTemplate => $billTemplate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillTemplatesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the billTemplate. (optional) (default to null)
billTemplate =  # BillTemplate |  (optional)

try:
    # Update billTemplateing Data
    api_response = api_instance.v1_bill_templates_put(uuid=uuid, billTemplate=billTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillTemplatesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let billTemplate = ; // BillTemplate

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillTemplatesPut(uuid, billTemplate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
billTemplate

Query parameters
NameDescription
uuid
String
The UUID of the billTemplate.

Responses


v1BillsChangeBillNumberPut

Update Bill number

This updates a bill number, which is not supposed to be easily changeable because it should be atomic in nature.


/v1/bills/change-bill-number

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/x-www-form-urlencoded" \
 "https://app.psido.at/api/v1/bills/change-bill-number"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer oldBillNumber = 56; // Integer | Old bill number - the one that needs to be replaced
        Integer newBillNumber = 56; // Integer | Old bill number - the one that needs to be replaced

        try {
            apiInstance.v1BillsChangeBillNumberPut(oldBillNumber, newBillNumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsChangeBillNumberPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer oldBillNumber = new Integer(); // Integer | Old bill number - the one that needs to be replaced
final Integer newBillNumber = new Integer(); // Integer | Old bill number - the one that needs to be replaced

try {
    final result = await api_instance.v1BillsChangeBillNumberPut(oldBillNumber, newBillNumber);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillsChangeBillNumberPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer oldBillNumber = 56; // Integer | Old bill number - the one that needs to be replaced
        Integer newBillNumber = 56; // Integer | Old bill number - the one that needs to be replaced

        try {
            apiInstance.v1BillsChangeBillNumberPut(oldBillNumber, newBillNumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsChangeBillNumberPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *oldBillNumber = 56; // Old bill number - the one that needs to be replaced (default to null)
Integer *newBillNumber = 56; // Old bill number - the one that needs to be replaced (default to null)

// Update Bill number
[apiInstance v1BillsChangeBillNumberPutWith:oldBillNumber
    newBillNumber:newBillNumber
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var oldBillNumber = 56; // {Integer} Old bill number - the one that needs to be replaced
var newBillNumber = 56; // {Integer} Old bill number - the one that needs to be replaced

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1BillsChangeBillNumberPut(oldBillNumber, newBillNumber, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillsChangeBillNumberPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var oldBillNumber = 56;  // Integer | Old bill number - the one that needs to be replaced (default to null)
            var newBillNumber = 56;  // Integer | Old bill number - the one that needs to be replaced (default to null)

            try {
                // Update Bill number
                apiInstance.v1BillsChangeBillNumberPut(oldBillNumber, newBillNumber);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillsChangeBillNumberPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$oldBillNumber = 56; // Integer | Old bill number - the one that needs to be replaced
$newBillNumber = 56; // Integer | Old bill number - the one that needs to be replaced

try {
    $api_instance->v1BillsChangeBillNumberPut($oldBillNumber, $newBillNumber);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillsChangeBillNumberPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $oldBillNumber = 56; # Integer | Old bill number - the one that needs to be replaced
my $newBillNumber = 56; # Integer | Old bill number - the one that needs to be replaced

eval {
    $api_instance->v1BillsChangeBillNumberPut(oldBillNumber => $oldBillNumber, newBillNumber => $newBillNumber);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillsChangeBillNumberPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
oldBillNumber = 56 # Integer | Old bill number - the one that needs to be replaced (default to null)
newBillNumber = 56 # Integer | Old bill number - the one that needs to be replaced (default to null)

try:
    # Update Bill number
    api_instance.v1_bills_change_bill_number_put(oldBillNumber, newBillNumber)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillsChangeBillNumberPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let oldBillNumber = 56; // Integer
    let newBillNumber = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillsChangeBillNumberPut(oldBillNumber, newBillNumber, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Form parameters
NameDescription
oldBillNumber*
Integer (int32)
Old bill number - the one that needs to be replaced
Required
newBillNumber*
Integer (int32)
Old bill number - the one that needs to be replaced
Required

Responses


v1BillsDelete

Deletes a bill

This deletes a bill from the database


/v1/bills

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/bills?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.

        try {
            bill result = apiInstance.v1BillsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the bill.

try {
    final result = await api_instance.v1BillsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.

        try {
            bill result = apiInstance.v1BillsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the bill. (default to null)

// Deletes a bill
[apiInstance v1BillsDeleteWith:uuid
              completionHandler: ^(bill output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the bill.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the bill. (default to null)

            try {
                // Deletes a bill
                bill result = apiInstance.v1BillsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.

try {
    $result = $api_instance->v1BillsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the bill.

eval {
    my $result = $api_instance->v1BillsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the bill. (default to null)

try:
    # Deletes a bill
    api_response = api_instance.v1_bills_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the bill.
Required

Responses


v1BillsGet

Get Billing Data

This returns all bills


/v1/bills

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/bills?limit=5&user_id=1&verbose=true&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill. If not set, the request will return all bills.

        try {
            array[bill] result = apiInstance.v1BillsGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT
final Boolean verbose = new Boolean(); // Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
final String uuid = new String(); // String | The UUID of the bill. If not set, the request will return all bills.

try {
    final result = await api_instance.v1BillsGet(limit, userId, verbose, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill. If not set, the request will return all bills.

        try {
            array[bill] result = apiInstance.v1BillsGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
Boolean *verbose = true; // If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the bill. If not set, the request will return all bills. (optional) (default to null)

// Get Billing Data
[apiInstance v1BillsGetWith:limit
    userId:userId
    verbose:verbose
    uuid:uuid
              completionHandler: ^(array[bill] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'userId': 1, // {Long} The user_id of the user. Can only be used for users with role == ROOT
  'verbose': true, // {Boolean} If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the bill. If not set, the request will return all bills.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)
            var verbose = true;  // Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date. (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the bill. If not set, the request will return all bills. (optional)  (default to null)

            try {
                // Get Billing Data
                array[bill] result = apiInstance.v1BillsGet(limit, userId, verbose, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
$verbose = true; // Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill. If not set, the request will return all bills.

try {
    $result = $api_instance->v1BillsGet($limit, $userId, $verbose, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT
my $verbose = true; # Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the bill. If not set, the request will return all bills.

eval {
    my $result = $api_instance->v1BillsGet(limit => $limit, userId => $userId, verbose => $verbose, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
verbose = true # Boolean | If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the bill. If not set, the request will return all bills. (optional) (default to null)

try:
    # Get Billing Data
    api_response = api_instance.v1_bills_get(limit=limit, userId=userId, verbose=verbose, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let userId = 1; // Long
    let verbose = true; // Boolean
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillsGet(limit, userId, verbose, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT
verbose
Boolean
If set to true, the response will contain all fields of the bill. If set to false, the response will contain only the uuid and the date.
uuid
String
The UUID of the bill. If not set, the request will return all bills.

Responses


v1BillsPost

Save a new bill

This creates a new bill in the database


/v1/bills

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/bills?noRelationship=true&parentObjectName=family" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        Bill bill = ; // Bill | 

        try {
            bill result = apiInstance.v1BillsPost(noRelationship, parentObjectName, bill);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean noRelationship = new Boolean(); // Boolean | if the relationship should be created or not
final String parentObjectName = new String(); // String | the name of the parent object
final Bill bill = new Bill(); // Bill | 

try {
    final result = await api_instance.v1BillsPost(noRelationship, parentObjectName, bill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        Bill bill = ; // Bill | 

        try {
            bill result = apiInstance.v1BillsPost(noRelationship, parentObjectName, bill);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *noRelationship = true; // if the relationship should be created or not (optional) (default to null)
String *parentObjectName = family; // the name of the parent object (optional) (default to null)
Bill *bill = ; //  (optional)

// Save a new bill
[apiInstance v1BillsPostWith:noRelationship
    parentObjectName:parentObjectName
    bill:bill
              completionHandler: ^(bill output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'noRelationship': true, // {Boolean} if the relationship should be created or not
  'parentObjectName': family, // {String} the name of the parent object
  'bill':  // {Bill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var noRelationship = true;  // Boolean | if the relationship should be created or not (optional)  (default to null)
            var parentObjectName = family;  // String | the name of the parent object (optional)  (default to null)
            var bill = new Bill(); // Bill |  (optional) 

            try {
                // Save a new bill
                bill result = apiInstance.v1BillsPost(noRelationship, parentObjectName, bill);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$noRelationship = true; // Boolean | if the relationship should be created or not
$parentObjectName = family; // String | the name of the parent object
$bill = ; // Bill | 

try {
    $result = $api_instance->v1BillsPost($noRelationship, $parentObjectName, $bill);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $noRelationship = true; # Boolean | if the relationship should be created or not
my $parentObjectName = family; # String | the name of the parent object
my $bill = WWW::OPenAPIClient::Object::Bill->new(); # Bill | 

eval {
    my $result = $api_instance->v1BillsPost(noRelationship => $noRelationship, parentObjectName => $parentObjectName, bill => $bill);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
noRelationship = true # Boolean | if the relationship should be created or not (optional) (default to null)
parentObjectName = family # String | the name of the parent object (optional) (default to null)
bill =  # Bill |  (optional)

try:
    # Save a new bill
    api_response = api_instance.v1_bills_post(noRelationship=noRelationship, parentObjectName=parentObjectName, bill=bill)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let noRelationship = true; // Boolean
    let parentObjectName = family; // String
    let bill = ; // Bill

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillsPost(noRelationship, parentObjectName, bill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
bill

Query parameters
NameDescription
noRelationship
Boolean
if the relationship should be created or not
parentObjectName
String
the name of the parent object

Responses


v1BillsPut

Update Billing Data

This updates a bill


/v1/bills

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/bills?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.
        Bill bill = ; // Bill | 

        try {
            bill result = apiInstance.v1BillsPut(uuid, bill);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the bill.
final Bill bill = new Bill(); // Bill | 

try {
    final result = await api_instance.v1BillsPut(uuid, bill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.
        Bill bill = ; // Bill | 

        try {
            bill result = apiInstance.v1BillsPut(uuid, bill);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the bill. (optional) (default to null)
Bill *bill = ; //  (optional)

// Update Billing Data
[apiInstance v1BillsPutWith:uuid
    bill:bill
              completionHandler: ^(bill output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the bill.
  'bill':  // {Bill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1BillsPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the bill. (optional)  (default to null)
            var bill = new Bill(); // Bill |  (optional) 

            try {
                // Update Billing Data
                bill result = apiInstance.v1BillsPut(uuid, bill);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.
$bill = ; // Bill | 

try {
    $result = $api_instance->v1BillsPut($uuid, $bill);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the bill.
my $bill = WWW::OPenAPIClient::Object::Bill->new(); # Bill | 

eval {
    my $result = $api_instance->v1BillsPut(uuid => $uuid, bill => $bill);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the bill. (optional) (default to null)
bill =  # Bill |  (optional)

try:
    # Update Billing Data
    api_response = api_instance.v1_bills_put(uuid=uuid, bill=bill)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let bill = ; // Bill

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillsPut(uuid, bill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
bill

Query parameters
NameDescription
uuid
String
The UUID of the bill.

Responses


v1BillsSetpaidPut

updated the paid status of a bill.

This updates the paid status of a bill.


/v1/bills/setpaid

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/bills/setpaid?paid=true&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&payDate=2025-04-11T22:00:00.000Z"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Object paid = true; // Object | if the bill is paid or not.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.
        String payDate = 2025-04-11T22:00:00.000Z; // String | The date of the payment of the bill.

        try {
            apiInstance.v1BillsSetpaidPut(paid, uuid, payDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsSetpaidPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Object paid = new Object(); // Object | if the bill is paid or not.
final String uuid = new String(); // String | The UUID of the bill.
final String payDate = new String(); // String | The date of the payment of the bill.

try {
    final result = await api_instance.v1BillsSetpaidPut(paid, uuid, payDate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1BillsSetpaidPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Object paid = true; // Object | if the bill is paid or not.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.
        String payDate = 2025-04-11T22:00:00.000Z; // String | The date of the payment of the bill.

        try {
            apiInstance.v1BillsSetpaidPut(paid, uuid, payDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1BillsSetpaidPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Object *paid = true; // if the bill is paid or not. (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the bill. (default to null)
String *payDate = 2025-04-11T22:00:00.000Z; // The date of the payment of the bill. (optional) (default to null)

// updated the paid status of a bill.
[apiInstance v1BillsSetpaidPutWith:paid
    uuid:uuid
    payDate:payDate
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var paid = true; // {Object} if the bill is paid or not.
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the bill.
var opts = {
  'payDate': 2025-04-11T22:00:00.000Z // {String} The date of the payment of the bill.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1BillsSetpaidPut(paid, uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1BillsSetpaidPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var paid = new Object(); // Object | if the bill is paid or not. (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the bill. (default to null)
            var payDate = 2025-04-11T22:00:00.000Z;  // String | The date of the payment of the bill. (optional)  (default to null)

            try {
                // updated the paid status of a bill.
                apiInstance.v1BillsSetpaidPut(paid, uuid, payDate);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1BillsSetpaidPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$paid = true; // Object | if the bill is paid or not.
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the bill.
$payDate = 2025-04-11T22:00:00.000Z; // String | The date of the payment of the bill.

try {
    $api_instance->v1BillsSetpaidPut($paid, $uuid, $payDate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1BillsSetpaidPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $paid = true; # Object | if the bill is paid or not.
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the bill.
my $payDate = 2025-04-11T22:00:00.000Z; # String | The date of the payment of the bill.

eval {
    $api_instance->v1BillsSetpaidPut(paid => $paid, uuid => $uuid, payDate => $payDate);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1BillsSetpaidPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
paid = true # Object | if the bill is paid or not. (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the bill. (default to null)
payDate = 2025-04-11T22:00:00.000Z # String | The date of the payment of the bill. (optional) (default to null)

try:
    # updated the paid status of a bill.
    api_instance.v1_bills_setpaid_put(paid, uuid, payDate=payDate)
except ApiException as e:
    print("Exception when calling DefaultApi->v1BillsSetpaidPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let paid = true; // Object
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let payDate = 2025-04-11T22:00:00.000Z; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1BillsSetpaidPut(paid, uuid, payDate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
paid*
Object
if the bill is paid or not.
Required
uuid*
String
The UUID of the bill.
Required
payDate
String
The date of the payment of the bill.

Responses


v1CalendarsDelete

Deletes a calendar setting

This just removes a calendar setting in the database. It does not deauthenticate the user from Google.


/v1/calendars

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/calendars"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1CalendarsDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CalendarsDelete();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1CalendarsDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Deletes a calendar setting
[apiInstance v1CalendarsDeleteWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CalendarsDelete(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Deletes a calendar setting
                apiInstance.v1CalendarsDelete();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1CalendarsDelete();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1CalendarsDelete();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Deletes a calendar setting
    api_instance.v1_calendars_delete()
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsDelete(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CalendarsEventsGet

Get the stored events for the next few days.

The data will be fetched from the psido cache, not from the google calendar itself.


/v1/calendars/events

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/calendars/events?limit=5&hoursInThePast=24&patientUuid=1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F&mostRecentEvent=true&day=1734044400"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | The number of results
        Integer hoursInThePast = 24; // Integer | The number of hours to look back
        String patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F; // String | The uuid of the patient, this will then only return events that are connected to this patient
        Boolean mostRecentEvent = true; // Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
        Long day = 1734044400; // Long | The day to look for events. If not provided, the current day will be used.

        try {
            array[calendarEvent] result = apiInstance.v1CalendarsEventsGet(limit, hoursInThePast, patientUuid, mostRecentEvent, day);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsEventsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | The number of results
final Integer hoursInThePast = new Integer(); // Integer | The number of hours to look back
final String patientUuid = new String(); // String | The uuid of the patient, this will then only return events that are connected to this patient
final Boolean mostRecentEvent = new Boolean(); // Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
final Long day = new Long(); // Long | The day to look for events. If not provided, the current day will be used.

try {
    final result = await api_instance.v1CalendarsEventsGet(limit, hoursInThePast, patientUuid, mostRecentEvent, day);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsEventsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | The number of results
        Integer hoursInThePast = 24; // Integer | The number of hours to look back
        String patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F; // String | The uuid of the patient, this will then only return events that are connected to this patient
        Boolean mostRecentEvent = true; // Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
        Long day = 1734044400; // Long | The day to look for events. If not provided, the current day will be used.

        try {
            array[calendarEvent] result = apiInstance.v1CalendarsEventsGet(limit, hoursInThePast, patientUuid, mostRecentEvent, day);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsEventsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // The number of results (optional) (default to null)
Integer *hoursInThePast = 24; // The number of hours to look back (optional) (default to null)
String *patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F; // The uuid of the patient, this will then only return events that are connected to this patient (optional) (default to null)
Boolean *mostRecentEvent = true; // Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise. (optional) (default to null)
Long *day = 1734044400; // The day to look for events. If not provided, the current day will be used. (optional) (default to null)

// Get the stored events for the next few days.
[apiInstance v1CalendarsEventsGetWith:limit
    hoursInThePast:hoursInThePast
    patientUuid:patientUuid
    mostRecentEvent:mostRecentEvent
    day:day
              completionHandler: ^(array[calendarEvent] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} The number of results
  'hoursInThePast': 24, // {Integer} The number of hours to look back
  'patientUuid': 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F, // {String} The uuid of the patient, this will then only return events that are connected to this patient
  'mostRecentEvent': true, // {Boolean} Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
  'day': 1734044400 // {Long} The day to look for events. If not provided, the current day will be used.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CalendarsEventsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsEventsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | The number of results (optional)  (default to null)
            var hoursInThePast = 24;  // Integer | The number of hours to look back (optional)  (default to null)
            var patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F;  // String | The uuid of the patient, this will then only return events that are connected to this patient (optional)  (default to null)
            var mostRecentEvent = true;  // Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise. (optional)  (default to null)
            var day = 1734044400;  // Long | The day to look for events. If not provided, the current day will be used. (optional)  (default to null)

            try {
                // Get the stored events for the next few days.
                array[calendarEvent] result = apiInstance.v1CalendarsEventsGet(limit, hoursInThePast, patientUuid, mostRecentEvent, day);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsEventsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | The number of results
$hoursInThePast = 24; // Integer | The number of hours to look back
$patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F; // String | The uuid of the patient, this will then only return events that are connected to this patient
$mostRecentEvent = true; // Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
$day = 1734044400; // Long | The day to look for events. If not provided, the current day will be used.

try {
    $result = $api_instance->v1CalendarsEventsGet($limit, $hoursInThePast, $patientUuid, $mostRecentEvent, $day);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsEventsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | The number of results
my $hoursInThePast = 24; # Integer | The number of hours to look back
my $patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F; # String | The uuid of the patient, this will then only return events that are connected to this patient
my $mostRecentEvent = true; # Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
my $day = 1734044400; # Long | The day to look for events. If not provided, the current day will be used.

eval {
    my $result = $api_instance->v1CalendarsEventsGet(limit => $limit, hoursInThePast => $hoursInThePast, patientUuid => $patientUuid, mostRecentEvent => $mostRecentEvent, day => $day);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsEventsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | The number of results (optional) (default to null)
hoursInThePast = 24 # Integer | The number of hours to look back (optional) (default to null)
patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F # String | The uuid of the patient, this will then only return events that are connected to this patient (optional) (default to null)
mostRecentEvent = true # Boolean | Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise. (optional) (default to null)
day = 1734044400 # Long | The day to look for events. If not provided, the current day will be used. (optional) (default to null)

try:
    # Get the stored events for the next few days.
    api_response = api_instance.v1_calendars_events_get(limit=limit, hoursInThePast=hoursInThePast, patientUuid=patientUuid, mostRecentEvent=mostRecentEvent, day=day)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsEventsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let hoursInThePast = 24; // Integer
    let patientUuid = 1AFCF3D0-5F6B-4F5F-8F6F-5F6F4F5F6F5F; // String
    let mostRecentEvent = true; // Boolean
    let day = 1734044400; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsEventsGet(limit, hoursInThePast, patientUuid, mostRecentEvent, day, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
The number of results
hoursInThePast
Integer
The number of hours to look back
patientUuid
String
The uuid of the patient, this will then only return events that are connected to this patient
mostRecentEvent
Boolean
Only return the most recent event that happened. Used for reports. Mused provide a PatientUuid or is ignored otherwise.
day
Long (int64)
The day to look for events. If not provided, the current day will be used.

Responses


v1CalendarsEventsPut

change a stored event

used to clear problems, connect with a patient, etc.


/v1/calendars/events

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/calendars/events"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[calendarEvent] result = apiInstance.v1CalendarsEventsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsEventsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CalendarsEventsPut();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsEventsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[calendarEvent] result = apiInstance.v1CalendarsEventsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsEventsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// change a stored event
[apiInstance v1CalendarsEventsPutWithCompletionHandler: 
              ^(array[calendarEvent] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CalendarsEventsPut(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsEventsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // change a stored event
                array[calendarEvent] result = apiInstance.v1CalendarsEventsPut();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsEventsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1CalendarsEventsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsEventsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1CalendarsEventsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsEventsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # change a stored event
    api_response = api_instance.v1_calendars_events_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsEventsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsEventsPut(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CalendarsGet

List the users calendars

List the users calendars. This will be proxied by Psido and directly access the Google Calendar API. AccessRoles of FreeBusyReader and deleted calendars will be hidden.


/v1/calendars

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/calendars"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[calendar] result = apiInstance.v1CalendarsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CalendarsGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[calendar] result = apiInstance.v1CalendarsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List the users calendars
[apiInstance v1CalendarsGetWithCompletionHandler: 
              ^(array[calendar] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CalendarsGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // List the users calendars
                array[calendar] result = apiInstance.v1CalendarsGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1CalendarsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1CalendarsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # List the users calendars
    api_response = api_instance.v1_calendars_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CalendarsPost

Sync calendar

Sync calendar now, doesn't need any parameters.


/v1/calendars

Usage and SDK Samples

curl -X POST \
 \
 "https://app.psido.at/api/v1/calendars"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1CalendarsPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CalendarsPost();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1CalendarsPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sync calendar
[apiInstance v1CalendarsPostWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CalendarsPost(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Sync calendar
                apiInstance.v1CalendarsPost();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1CalendarsPost();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1CalendarsPost();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Sync calendar
    api_instance.v1_calendars_post()
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsPost(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CalendarsPut

Selects a calendar

This selects a calendar by sending its json proto to the server, where it is persisted and a get call can actually get the data back.


/v1/calendars

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/calendars" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Calendar calendar = ; // Calendar | 

        try {
            apiInstance.v1CalendarsPut(calendar);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Calendar calendar = new Calendar(); // Calendar | 

try {
    final result = await api_instance.v1CalendarsPut(calendar);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Calendar calendar = ; // Calendar | 

        try {
            apiInstance.v1CalendarsPut(calendar);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Calendar *calendar = ; // 

// Selects a calendar
[apiInstance v1CalendarsPutWith:calendar
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var calendar = ; // {Calendar} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CalendarsPut(calendar, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var calendar = new Calendar(); // Calendar | 

            try {
                // Selects a calendar
                apiInstance.v1CalendarsPut(calendar);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$calendar = ; // Calendar | 

try {
    $api_instance->v1CalendarsPut($calendar);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $calendar = WWW::OPenAPIClient::Object::Calendar->new(); # Calendar | 

eval {
    $api_instance->v1CalendarsPut(calendar => $calendar);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
calendar =  # Calendar | 

try:
    # Selects a calendar
    api_instance.v1_calendars_put(calendar)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let calendar = ; // Calendar

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsPut(calendar, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
calendar *

Responses


v1CalendarsSyncissueGet

Get the binary value if there is a sync issue or not.

Sync Issues are stored in a binary value in the database. This call returns the value.


/v1/calendars/syncissue

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/calendars/syncissue"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            syncIssue result = apiInstance.v1CalendarsSyncissueGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsSyncissueGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CalendarsSyncissueGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CalendarsSyncissueGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            syncIssue result = apiInstance.v1CalendarsSyncissueGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CalendarsSyncissueGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the binary value if there is a sync issue or not.
[apiInstance v1CalendarsSyncissueGetWithCompletionHandler: 
              ^(syncIssue output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CalendarsSyncissueGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CalendarsSyncissueGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Get the binary value if there is a sync issue or not.
                syncIssue result = apiInstance.v1CalendarsSyncissueGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CalendarsSyncissueGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1CalendarsSyncissueGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CalendarsSyncissueGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1CalendarsSyncissueGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CalendarsSyncissueGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Get the binary value if there is a sync issue or not.
    api_response = api_instance.v1_calendars_syncissue_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CalendarsSyncissueGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CalendarsSyncissueGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CashboxBillsDelete

delte a customerbill

deletes a customerbill.


/v1/cashbox/bills

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/bills?dryrun=true&bill_number=2023053001" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        Long billNumber = 2023053001; // Long | the bill number
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1CashboxBillsDelete(dryrun, billNumber, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't update the bill.
final Long billNumber = new Long(); // Long | the bill number
final PsidoCustomerBill psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill | 

try {
    final result = await api_instance.v1CashboxBillsDelete(dryrun, billNumber, psidoCustomerBill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxBillsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        Long billNumber = 2023053001; // Long | the bill number
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1CashboxBillsDelete(dryrun, billNumber, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't update the bill. (optional) (default to null)
Long *billNumber = 2023053001; // the bill number (optional) (default to null)
PsidoCustomerBill *psidoCustomerBill = ; //  (optional)

// delte a customerbill
[apiInstance v1CashboxBillsDeleteWith:dryrun
    billNumber:billNumber
    psidoCustomerBill:psidoCustomerBill
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true, // {Boolean} Do a dry-run and don't update the bill.
  'billNumber': 2023053001, // {Long} the bill number
  'psidoCustomerBill':  // {PsidoCustomerBill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxBillsDelete(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxBillsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't update the bill. (optional)  (default to null)
            var billNumber = 2023053001;  // Long | the bill number (optional)  (default to null)
            var psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill |  (optional) 

            try {
                // delte a customerbill
                apiInstance.v1CashboxBillsDelete(dryrun, billNumber, psidoCustomerBill);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxBillsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't update the bill.
$billNumber = 2023053001; // Long | the bill number
$psidoCustomerBill = ; // PsidoCustomerBill | 

try {
    $api_instance->v1CashboxBillsDelete($dryrun, $billNumber, $psidoCustomerBill);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxBillsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't update the bill.
my $billNumber = 2023053001; # Long | the bill number
my $psidoCustomerBill = WWW::OPenAPIClient::Object::PsidoCustomerBill->new(); # PsidoCustomerBill | 

eval {
    $api_instance->v1CashboxBillsDelete(dryrun => $dryrun, billNumber => $billNumber, psidoCustomerBill => $psidoCustomerBill);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxBillsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't update the bill. (optional) (default to null)
billNumber = 2023053001 # Long | the bill number (optional) (default to null)
psidoCustomerBill =  # PsidoCustomerBill |  (optional)

try:
    # delte a customerbill
    api_instance.v1_cashbox_bills_delete(dryrun=dryrun, billNumber=billNumber, psidoCustomerBill=psidoCustomerBill)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxBillsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean
    let billNumber = 2023053001; // Long
    let psidoCustomerBill = ; // PsidoCustomerBill

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxBillsDelete(dryrun, billNumber, psidoCustomerBill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
psidoCustomerBill

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't update the bill.
bill_number
Long (int64)
the bill number

Responses


v1CashboxBillsGet

get a customerbill according to a certain criteria in the query string.

sends customerbills. requires bill_number or any other criteria.


/v1/cashbox/bills

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/cashbox/bills?user_id=1&bill_number=2023053001"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | the user id - returns the latest bill for a user id
        Long billNumber = 2023053001; // Long | the bill number

        try {
            psidoCustomerBill result = apiInstance.v1CashboxBillsGet(userId, billNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userId = new Long(); // Long | the user id - returns the latest bill for a user id
final Long billNumber = new Long(); // Long | the bill number

try {
    final result = await api_instance.v1CashboxBillsGet(userId, billNumber);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxBillsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | the user id - returns the latest bill for a user id
        Long billNumber = 2023053001; // Long | the bill number

        try {
            psidoCustomerBill result = apiInstance.v1CashboxBillsGet(userId, billNumber);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userId = 1; // the user id - returns the latest bill for a user id (optional) (default to null)
Long *billNumber = 2023053001; // the bill number (optional) (default to null)

// get a customerbill according to a certain criteria in the query string.
[apiInstance v1CashboxBillsGetWith:userId
    billNumber:billNumber
              completionHandler: ^(psidoCustomerBill output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'userId': 1, // {Long} the user id - returns the latest bill for a user id
  'billNumber': 2023053001 // {Long} the bill number
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxBillsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxBillsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userId = 1;  // Long | the user id - returns the latest bill for a user id (optional)  (default to null)
            var billNumber = 2023053001;  // Long | the bill number (optional)  (default to null)

            try {
                // get a customerbill according to a certain criteria in the query string.
                psidoCustomerBill result = apiInstance.v1CashboxBillsGet(userId, billNumber);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxBillsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userId = 1; // Long | the user id - returns the latest bill for a user id
$billNumber = 2023053001; // Long | the bill number

try {
    $result = $api_instance->v1CashboxBillsGet($userId, $billNumber);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxBillsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userId = 1; # Long | the user id - returns the latest bill for a user id
my $billNumber = 2023053001; # Long | the bill number

eval {
    my $result = $api_instance->v1CashboxBillsGet(userId => $userId, billNumber => $billNumber);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxBillsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userId = 1 # Long | the user id - returns the latest bill for a user id (optional) (default to null)
billNumber = 2023053001 # Long | the bill number (optional) (default to null)

try:
    # get a customerbill according to a certain criteria in the query string.
    api_response = api_instance.v1_cashbox_bills_get(userId=userId, billNumber=billNumber)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxBillsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userId = 1; // Long
    let billNumber = 2023053001; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxBillsGet(userId, billNumber, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
user_id
Long (int64)
the user id - returns the latest bill for a user id
bill_number
Long (int64)
the bill number

Responses


v1CashboxBillsPost

create a customerbill according to a certain criteria in the query string.

creates a customerbill. requires bill object that you can get with the get call.


/v1/cashbox/bills

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/bills?dryrun=true" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1CashboxBillsPost(dryrun, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't update the bill.
final PsidoCustomerBill psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill | 

try {
    final result = await api_instance.v1CashboxBillsPost(dryrun, psidoCustomerBill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxBillsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1CashboxBillsPost(dryrun, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't update the bill. (optional) (default to null)
PsidoCustomerBill *psidoCustomerBill = ; //  (optional)

// create a customerbill according to a certain criteria in the query string.
[apiInstance v1CashboxBillsPostWith:dryrun
    psidoCustomerBill:psidoCustomerBill
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true, // {Boolean} Do a dry-run and don't update the bill.
  'psidoCustomerBill':  // {PsidoCustomerBill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxBillsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxBillsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't update the bill. (optional)  (default to null)
            var psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill |  (optional) 

            try {
                // create a customerbill according to a certain criteria in the query string.
                apiInstance.v1CashboxBillsPost(dryrun, psidoCustomerBill);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxBillsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't update the bill.
$psidoCustomerBill = ; // PsidoCustomerBill | 

try {
    $api_instance->v1CashboxBillsPost($dryrun, $psidoCustomerBill);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxBillsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't update the bill.
my $psidoCustomerBill = WWW::OPenAPIClient::Object::PsidoCustomerBill->new(); # PsidoCustomerBill | 

eval {
    $api_instance->v1CashboxBillsPost(dryrun => $dryrun, psidoCustomerBill => $psidoCustomerBill);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxBillsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't update the bill. (optional) (default to null)
psidoCustomerBill =  # PsidoCustomerBill |  (optional)

try:
    # create a customerbill according to a certain criteria in the query string.
    api_instance.v1_cashbox_bills_post(dryrun=dryrun, psidoCustomerBill=psidoCustomerBill)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxBillsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean
    let psidoCustomerBill = ; // PsidoCustomerBill

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxBillsPost(dryrun, psidoCustomerBill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
psidoCustomerBill

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't update the bill.

Responses


v1CashboxBillsPut

update a customerbill according to a certain criteria in the query string.

updates customerbills. requires bill object that you can get with the get call.


/v1/cashbox/bills

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/bills?dryrun=true" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1CashboxBillsPut(dryrun, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't update the bill.
final PsidoCustomerBill psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill | 

try {
    final result = await api_instance.v1CashboxBillsPut(dryrun, psidoCustomerBill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxBillsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1CashboxBillsPut(dryrun, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxBillsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't update the bill. (optional) (default to null)
PsidoCustomerBill *psidoCustomerBill = ; //  (optional)

// update a customerbill according to a certain criteria in the query string.
[apiInstance v1CashboxBillsPutWith:dryrun
    psidoCustomerBill:psidoCustomerBill
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true, // {Boolean} Do a dry-run and don't update the bill.
  'psidoCustomerBill':  // {PsidoCustomerBill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxBillsPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxBillsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't update the bill. (optional)  (default to null)
            var psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill |  (optional) 

            try {
                // update a customerbill according to a certain criteria in the query string.
                apiInstance.v1CashboxBillsPut(dryrun, psidoCustomerBill);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxBillsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't update the bill.
$psidoCustomerBill = ; // PsidoCustomerBill | 

try {
    $api_instance->v1CashboxBillsPut($dryrun, $psidoCustomerBill);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxBillsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't update the bill.
my $psidoCustomerBill = WWW::OPenAPIClient::Object::PsidoCustomerBill->new(); # PsidoCustomerBill | 

eval {
    $api_instance->v1CashboxBillsPut(dryrun => $dryrun, psidoCustomerBill => $psidoCustomerBill);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxBillsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't update the bill. (optional) (default to null)
psidoCustomerBill =  # PsidoCustomerBill |  (optional)

try:
    # update a customerbill according to a certain criteria in the query string.
    api_instance.v1_cashbox_bills_put(dryrun=dryrun, psidoCustomerBill=psidoCustomerBill)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxBillsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean
    let psidoCustomerBill = ; // PsidoCustomerBill

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxBillsPut(dryrun, psidoCustomerBill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
psidoCustomerBill

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't update the bill.

Responses


v1CashboxReceiptDownloadGet

Get Cashbox Receipt PNG file

Waits for the cashboxReceipt to be uploaded to Azure and then returns the PNG file


/v1/cashbox/receipt-download

Usage and SDK Samples

curl -X GET \
 \
 "https://app.psido.at/api/v1/cashbox/receipt-download?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.

        try {
            apiInstance.v1CashboxReceiptDownloadGet(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptDownloadGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.

try {
    final result = await api_instance.v1CashboxReceiptDownloadGet(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxReceiptDownloadGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.

        try {
            apiInstance.v1CashboxReceiptDownloadGet(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptDownloadGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings. (optional) (default to null)

// Get Cashbox Receipt PNG file
[apiInstance v1CashboxReceiptDownloadGetWith:uuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxReceiptDownloadGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxReceiptDownloadGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings. (optional)  (default to null)

            try {
                // Get Cashbox Receipt PNG file
                apiInstance.v1CashboxReceiptDownloadGet(uuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxReceiptDownloadGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.

try {
    $api_instance->v1CashboxReceiptDownloadGet($uuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxReceiptDownloadGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.

eval {
    $api_instance->v1CashboxReceiptDownloadGet(uuid => $uuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxReceiptDownloadGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings. (optional) (default to null)

try:
    # Get Cashbox Receipt PNG file
    api_instance.v1_cashbox_receipt_download_get(uuid=uuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxReceiptDownloadGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxReceiptDownloadGet(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.

Responses


v1CashboxReceiptsDelete

Deletes a cashboxReceipt

This deletes a cashboxReceipt from the database


/v1/cashbox/receipts

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/cashbox/receipts?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt.

        try {
            apiInstance.v1CashboxReceiptsDelete(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxReceipt.

try {
    final result = await api_instance.v1CashboxReceiptsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxReceiptsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt.

        try {
            apiInstance.v1CashboxReceiptsDelete(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxReceipt. (default to null)

// Deletes a cashboxReceipt
[apiInstance v1CashboxReceiptsDeleteWith:uuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the cashboxReceipt.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxReceiptsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxReceiptsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxReceipt. (default to null)

            try {
                // Deletes a cashboxReceipt
                apiInstance.v1CashboxReceiptsDelete(uuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxReceiptsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt.

try {
    $api_instance->v1CashboxReceiptsDelete($uuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxReceiptsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxReceipt.

eval {
    $api_instance->v1CashboxReceiptsDelete(uuid => $uuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxReceiptsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxReceipt. (default to null)

try:
    # Deletes a cashboxReceipt
    api_instance.v1_cashbox_receipts_delete(uuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxReceiptsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxReceiptsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the cashboxReceipt.
Required

Responses


v1CashboxReceiptsGet

Get CashboxReceipt Data

This returns all cashboxsettings


/v1/cashbox/receipts

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/cashbox/receipts?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&user_id=1&verbose=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
        Long userId = 1; // Long | The user id of the user
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.

        try {
            array[cashboxReceiptElement] result = apiInstance.v1CashboxReceiptsGet(uuid, userId, verbose);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
final Long userId = new Long(); // Long | The user id of the user
final Boolean verbose = new Boolean(); // Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.

try {
    final result = await api_instance.v1CashboxReceiptsGet(uuid, userId, verbose);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxReceiptsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
        Long userId = 1; // Long | The user id of the user
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.

        try {
            array[cashboxReceiptElement] result = apiInstance.v1CashboxReceiptsGet(uuid, userId, verbose);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings. (optional) (default to null)
Long *userId = 1; // The user id of the user (optional) (default to null)
Boolean *verbose = true; // If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date. (optional) (default to null)

// Get CashboxReceipt Data
[apiInstance v1CashboxReceiptsGetWith:uuid
    userId:userId
    verbose:verbose
              completionHandler: ^(array[cashboxReceiptElement] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
  'userId': 1, // {Long} The user id of the user
  'verbose': true // {Boolean} If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxReceiptsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxReceiptsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings. (optional)  (default to null)
            var userId = 1;  // Long | The user id of the user (optional)  (default to null)
            var verbose = true;  // Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date. (optional)  (default to null)

            try {
                // Get CashboxReceipt Data
                array[cashboxReceiptElement] result = apiInstance.v1CashboxReceiptsGet(uuid, userId, verbose);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxReceiptsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
$userId = 1; // Long | The user id of the user
$verbose = true; // Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.

try {
    $result = $api_instance->v1CashboxReceiptsGet($uuid, $userId, $verbose);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxReceiptsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
my $userId = 1; # Long | The user id of the user
my $verbose = true; # Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.

eval {
    my $result = $api_instance->v1CashboxReceiptsGet(uuid => $uuid, userId => $userId, verbose => $verbose);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxReceiptsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings. (optional) (default to null)
userId = 1 # Long | The user id of the user (optional) (default to null)
verbose = true # Boolean | If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date. (optional) (default to null)

try:
    # Get CashboxReceipt Data
    api_response = api_instance.v1_cashbox_receipts_get(uuid=uuid, userId=userId, verbose=verbose)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxReceiptsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let userId = 1; // Long
    let verbose = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxReceiptsGet(uuid, userId, verbose, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the cashboxReceipt. If not set, the request will return all cashboxsettings.
user_id
Long (int64)
The user id of the user
verbose
Boolean
If set to true, the response will contain all fields of the cashboxReceipt. If set to false, the response will contain only the uuid and the date.

Responses


v1CashboxReceiptsPost

Save a new cashboxReceipt

This creates a new cashboxReceipt in the database


/v1/cashbox/receipts

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/receipts" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CashboxReceipt cashboxReceipt = ; // CashboxReceipt | 

        try {
            cashboxReceipt result = apiInstance.v1CashboxReceiptsPost(cashboxReceipt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CashboxReceipt cashboxReceipt = new CashboxReceipt(); // CashboxReceipt | 

try {
    final result = await api_instance.v1CashboxReceiptsPost(cashboxReceipt);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxReceiptsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CashboxReceipt cashboxReceipt = ; // CashboxReceipt | 

        try {
            cashboxReceipt result = apiInstance.v1CashboxReceiptsPost(cashboxReceipt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CashboxReceipt *cashboxReceipt = ; //  (optional)

// Save a new cashboxReceipt
[apiInstance v1CashboxReceiptsPostWith:cashboxReceipt
              completionHandler: ^(cashboxReceipt output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'cashboxReceipt':  // {CashboxReceipt} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxReceiptsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxReceiptsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cashboxReceipt = new CashboxReceipt(); // CashboxReceipt |  (optional) 

            try {
                // Save a new cashboxReceipt
                cashboxReceipt result = apiInstance.v1CashboxReceiptsPost(cashboxReceipt);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxReceiptsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cashboxReceipt = ; // CashboxReceipt | 

try {
    $result = $api_instance->v1CashboxReceiptsPost($cashboxReceipt);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxReceiptsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cashboxReceipt = WWW::OPenAPIClient::Object::CashboxReceipt->new(); # CashboxReceipt | 

eval {
    my $result = $api_instance->v1CashboxReceiptsPost(cashboxReceipt => $cashboxReceipt);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxReceiptsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cashboxReceipt =  # CashboxReceipt |  (optional)

try:
    # Save a new cashboxReceipt
    api_response = api_instance.v1_cashbox_receipts_post(cashboxReceipt=cashboxReceipt)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxReceiptsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cashboxReceipt = ; // CashboxReceipt

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxReceiptsPost(cashboxReceipt, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
cashboxReceipt

Responses


v1CashboxReceiptsPut

Update CashboxReceipt Data

This updates a cashboxReceipt


/v1/cashbox/receipts

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/receipts?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt.
        CashboxReceipt cashboxReceipt = ; // CashboxReceipt | 

        try {
            cashboxReceipt result = apiInstance.v1CashboxReceiptsPut(uuid, cashboxReceipt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxReceipt.
final CashboxReceipt cashboxReceipt = new CashboxReceipt(); // CashboxReceipt | 

try {
    final result = await api_instance.v1CashboxReceiptsPut(uuid, cashboxReceipt);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxReceiptsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt.
        CashboxReceipt cashboxReceipt = ; // CashboxReceipt | 

        try {
            cashboxReceipt result = apiInstance.v1CashboxReceiptsPut(uuid, cashboxReceipt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxReceiptsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxReceipt. (default to null)
CashboxReceipt *cashboxReceipt = ; //  (optional)

// Update CashboxReceipt Data
[apiInstance v1CashboxReceiptsPutWith:uuid
    cashboxReceipt:cashboxReceipt
              completionHandler: ^(cashboxReceipt output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the cashboxReceipt.
var opts = {
  'cashboxReceipt':  // {CashboxReceipt} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxReceiptsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxReceiptsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxReceipt. (default to null)
            var cashboxReceipt = new CashboxReceipt(); // CashboxReceipt |  (optional) 

            try {
                // Update CashboxReceipt Data
                cashboxReceipt result = apiInstance.v1CashboxReceiptsPut(uuid, cashboxReceipt);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxReceiptsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxReceipt.
$cashboxReceipt = ; // CashboxReceipt | 

try {
    $result = $api_instance->v1CashboxReceiptsPut($uuid, $cashboxReceipt);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxReceiptsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxReceipt.
my $cashboxReceipt = WWW::OPenAPIClient::Object::CashboxReceipt->new(); # CashboxReceipt | 

eval {
    my $result = $api_instance->v1CashboxReceiptsPut(uuid => $uuid, cashboxReceipt => $cashboxReceipt);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxReceiptsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxReceipt. (default to null)
cashboxReceipt =  # CashboxReceipt |  (optional)

try:
    # Update CashboxReceipt Data
    api_response = api_instance.v1_cashbox_receipts_put(uuid, cashboxReceipt=cashboxReceipt)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxReceiptsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let cashboxReceipt = ; // CashboxReceipt

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxReceiptsPut(uuid, cashboxReceipt, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
cashboxReceipt

Query parameters
NameDescription
uuid*
String
The UUID of the cashboxReceipt.
Required

Responses


v1CashboxRunMonthlyEventsPost

Run monthly events, that is, create a zeroReceipt for each customer who has cashbox-settings.

This is not meant to be called, just in emergencies.


/v1/cashbox/run-monthly-events

Usage and SDK Samples

curl -X POST \
 \
 "https://app.psido.at/api/v1/cashbox/run-monthly-events"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1CashboxRunMonthlyEventsPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxRunMonthlyEventsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CashboxRunMonthlyEventsPost();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxRunMonthlyEventsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1CashboxRunMonthlyEventsPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxRunMonthlyEventsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Run monthly events, that is, create a zeroReceipt for each customer who has cashbox-settings.
[apiInstance v1CashboxRunMonthlyEventsPostWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxRunMonthlyEventsPost(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxRunMonthlyEventsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Run monthly events, that is, create a zeroReceipt for each customer who has cashbox-settings.
                apiInstance.v1CashboxRunMonthlyEventsPost();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxRunMonthlyEventsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1CashboxRunMonthlyEventsPost();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxRunMonthlyEventsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1CashboxRunMonthlyEventsPost();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxRunMonthlyEventsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Run monthly events, that is, create a zeroReceipt for each customer who has cashbox-settings.
    api_instance.v1_cashbox_run_monthly_events_post()
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxRunMonthlyEventsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxRunMonthlyEventsPost(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CashboxSettingsDelete

Deletes a cashboxSetting

This deletes a cashboxSetting from the database


/v1/cashbox/settings

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/cashbox/settings?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting.

        try {
            apiInstance.v1CashboxSettingsDelete(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxSetting.

try {
    final result = await api_instance.v1CashboxSettingsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxSettingsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting.

        try {
            apiInstance.v1CashboxSettingsDelete(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxSetting. (default to null)

// Deletes a cashboxSetting
[apiInstance v1CashboxSettingsDeleteWith:uuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the cashboxSetting.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CashboxSettingsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxSettingsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxSetting. (default to null)

            try {
                // Deletes a cashboxSetting
                apiInstance.v1CashboxSettingsDelete(uuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxSettingsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting.

try {
    $api_instance->v1CashboxSettingsDelete($uuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxSettingsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxSetting.

eval {
    $api_instance->v1CashboxSettingsDelete(uuid => $uuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxSettingsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxSetting. (default to null)

try:
    # Deletes a cashboxSetting
    api_instance.v1_cashbox_settings_delete(uuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxSettingsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxSettingsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the cashboxSetting.
Required

Responses


v1CashboxSettingsGet

Get CashboxSetting Data

This returns all cashboxsettings


/v1/cashbox/settings

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/cashbox/settings?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.

        try {
            cashboxSetting result = apiInstance.v1CashboxSettingsGet(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.

try {
    final result = await api_instance.v1CashboxSettingsGet(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxSettingsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.

        try {
            cashboxSetting result = apiInstance.v1CashboxSettingsGet(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings. (optional) (default to null)

// Get CashboxSetting Data
[apiInstance v1CashboxSettingsGetWith:uuid
              completionHandler: ^(cashboxSetting output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxSettingsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxSettingsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings. (optional)  (default to null)

            try {
                // Get CashboxSetting Data
                cashboxSetting result = apiInstance.v1CashboxSettingsGet(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxSettingsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.

try {
    $result = $api_instance->v1CashboxSettingsGet($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.

eval {
    my $result = $api_instance->v1CashboxSettingsGet(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings. (optional) (default to null)

try:
    # Get CashboxSetting Data
    api_response = api_instance.v1_cashbox_settings_get(uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxSettingsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxSettingsGet(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the cashboxSetting. If not set, the request will return all cashboxsettings.

Responses


v1CashboxSettingsPost

Save a new cashboxSetting

This creates a new cashboxSetting in the database


/v1/cashbox/settings

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/settings" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CashboxSetting cashboxSetting = ; // CashboxSetting | 

        try {
            cashboxSetting result = apiInstance.v1CashboxSettingsPost(cashboxSetting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CashboxSetting cashboxSetting = new CashboxSetting(); // CashboxSetting | 

try {
    final result = await api_instance.v1CashboxSettingsPost(cashboxSetting);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxSettingsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CashboxSetting cashboxSetting = ; // CashboxSetting | 

        try {
            cashboxSetting result = apiInstance.v1CashboxSettingsPost(cashboxSetting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CashboxSetting *cashboxSetting = ; //  (optional)

// Save a new cashboxSetting
[apiInstance v1CashboxSettingsPostWith:cashboxSetting
              completionHandler: ^(cashboxSetting output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'cashboxSetting':  // {CashboxSetting} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxSettingsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxSettingsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cashboxSetting = new CashboxSetting(); // CashboxSetting |  (optional) 

            try {
                // Save a new cashboxSetting
                cashboxSetting result = apiInstance.v1CashboxSettingsPost(cashboxSetting);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxSettingsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cashboxSetting = ; // CashboxSetting | 

try {
    $result = $api_instance->v1CashboxSettingsPost($cashboxSetting);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxSettingsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cashboxSetting = WWW::OPenAPIClient::Object::CashboxSetting->new(); # CashboxSetting | 

eval {
    my $result = $api_instance->v1CashboxSettingsPost(cashboxSetting => $cashboxSetting);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxSettingsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cashboxSetting =  # CashboxSetting |  (optional)

try:
    # Save a new cashboxSetting
    api_response = api_instance.v1_cashbox_settings_post(cashboxSetting=cashboxSetting)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxSettingsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cashboxSetting = ; // CashboxSetting

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxSettingsPost(cashboxSetting, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
cashboxSetting

Responses


v1CashboxSettingsPut

Update CashboxSetting Data

This updates a cashboxSetting


/v1/cashbox/settings

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/cashbox/settings?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting.
        CashboxSetting cashboxSetting = ; // CashboxSetting | 

        try {
            cashboxSetting result = apiInstance.v1CashboxSettingsPut(uuid, cashboxSetting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the cashboxSetting.
final CashboxSetting cashboxSetting = new CashboxSetting(); // CashboxSetting | 

try {
    final result = await api_instance.v1CashboxSettingsPut(uuid, cashboxSetting);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CashboxSettingsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting.
        CashboxSetting cashboxSetting = ; // CashboxSetting | 

        try {
            cashboxSetting result = apiInstance.v1CashboxSettingsPut(uuid, cashboxSetting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CashboxSettingsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the cashboxSetting. (default to null)
CashboxSetting *cashboxSetting = ; //  (optional)

// Update CashboxSetting Data
[apiInstance v1CashboxSettingsPutWith:uuid
    cashboxSetting:cashboxSetting
              completionHandler: ^(cashboxSetting output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the cashboxSetting.
var opts = {
  'cashboxSetting':  // {CashboxSetting} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CashboxSettingsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CashboxSettingsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the cashboxSetting. (default to null)
            var cashboxSetting = new CashboxSetting(); // CashboxSetting |  (optional) 

            try {
                // Update CashboxSetting Data
                cashboxSetting result = apiInstance.v1CashboxSettingsPut(uuid, cashboxSetting);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CashboxSettingsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the cashboxSetting.
$cashboxSetting = ; // CashboxSetting | 

try {
    $result = $api_instance->v1CashboxSettingsPut($uuid, $cashboxSetting);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CashboxSettingsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the cashboxSetting.
my $cashboxSetting = WWW::OPenAPIClient::Object::CashboxSetting->new(); # CashboxSetting | 

eval {
    my $result = $api_instance->v1CashboxSettingsPut(uuid => $uuid, cashboxSetting => $cashboxSetting);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CashboxSettingsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the cashboxSetting. (default to null)
cashboxSetting =  # CashboxSetting |  (optional)

try:
    # Update CashboxSetting Data
    api_response = api_instance.v1_cashbox_settings_put(uuid, cashboxSetting=cashboxSetting)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CashboxSettingsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let cashboxSetting = ; // CashboxSetting

    let mut context = DefaultApi::Context::default();
    let result = client.v1CashboxSettingsPut(uuid, cashboxSetting, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
cashboxSetting

Query parameters
NameDescription
uuid*
String
The UUID of the cashboxSetting.
Required

Responses


v1CustomFieldsDelete

Deletes a custom field

This deletes a custom field from the database


/v1/custom-fields

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/custom-fields?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field.

        try {
            formElement result = apiInstance.v1CustomFieldsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the custom field.

try {
    final result = await api_instance.v1CustomFieldsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomFieldsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field.

        try {
            formElement result = apiInstance.v1CustomFieldsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the custom field. (default to null)

// Deletes a custom field
[apiInstance v1CustomFieldsDeleteWith:uuid
              completionHandler: ^(formElement output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the custom field.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomFieldsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomFieldsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the custom field. (default to null)

            try {
                // Deletes a custom field
                formElement result = apiInstance.v1CustomFieldsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomFieldsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field.

try {
    $result = $api_instance->v1CustomFieldsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomFieldsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the custom field.

eval {
    my $result = $api_instance->v1CustomFieldsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomFieldsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the custom field. (default to null)

try:
    # Deletes a custom field
    api_response = api_instance.v1_custom_fields_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomFieldsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomFieldsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the custom field.
Required

Responses


v1CustomFieldsGeneratorGet

Return custom field batch names

This returns all custom field batch names


/v1/custom-fields-generator

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/custom-fields-generator"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            Object result = apiInstance.v1CustomFieldsGeneratorGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsGeneratorGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1CustomFieldsGeneratorGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomFieldsGeneratorGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            Object result = apiInstance.v1CustomFieldsGeneratorGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsGeneratorGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Return custom field batch names
[apiInstance v1CustomFieldsGeneratorGetWithCompletionHandler: 
              ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomFieldsGeneratorGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomFieldsGeneratorGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Return custom field batch names
                Object result = apiInstance.v1CustomFieldsGeneratorGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomFieldsGeneratorGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1CustomFieldsGeneratorGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomFieldsGeneratorGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1CustomFieldsGeneratorGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomFieldsGeneratorGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Return custom field batch names
    api_response = api_instance.v1_custom_fields_generator_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomFieldsGeneratorGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomFieldsGeneratorGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1CustomFieldsGeneratorPost

Create a batch of custom fields

This creates a batch of custom fields in the database


/v1/custom-fields-generator

Usage and SDK Samples

curl -X POST \
 \
 "https://app.psido.at/api/v1/custom-fields-generator?batch=neuropsychologie"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String batch = neuropsychologie; // String | which batch name to create

        try {
            apiInstance.v1CustomFieldsGeneratorPost(batch);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsGeneratorPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String batch = new String(); // String | which batch name to create

try {
    final result = await api_instance.v1CustomFieldsGeneratorPost(batch);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomFieldsGeneratorPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String batch = neuropsychologie; // String | which batch name to create

        try {
            apiInstance.v1CustomFieldsGeneratorPost(batch);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsGeneratorPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *batch = neuropsychologie; // which batch name to create (optional) (default to null)

// Create a batch of custom fields
[apiInstance v1CustomFieldsGeneratorPostWith:batch
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'batch': neuropsychologie // {String} which batch name to create
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CustomFieldsGeneratorPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomFieldsGeneratorPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var batch = neuropsychologie;  // String | which batch name to create (optional)  (default to null)

            try {
                // Create a batch of custom fields
                apiInstance.v1CustomFieldsGeneratorPost(batch);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomFieldsGeneratorPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$batch = neuropsychologie; // String | which batch name to create

try {
    $api_instance->v1CustomFieldsGeneratorPost($batch);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomFieldsGeneratorPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $batch = neuropsychologie; # String | which batch name to create

eval {
    $api_instance->v1CustomFieldsGeneratorPost(batch => $batch);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomFieldsGeneratorPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
batch = neuropsychologie # String | which batch name to create (optional) (default to null)

try:
    # Create a batch of custom fields
    api_instance.v1_custom_fields_generator_post(batch=batch)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomFieldsGeneratorPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let batch = neuropsychologie; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomFieldsGeneratorPost(batch, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
batch
String
which batch name to create

Responses


v1CustomFieldsGet

Return custom fields

This returns all custom fields or some :)


/v1/custom-fields

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/custom-fields?limit=5&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&user_id=1&object=patient&by_family_uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field. If not set, the request will return all datasets.
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        String object = patient; // String | The object of the custom field. If not set, the request will return all datasets.
        String byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.

        try {
            Object result = apiInstance.v1CustomFieldsGet(limit, uuid, userId, object, byFamilyUuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final String uuid = new String(); // String | The UUID of the custom field. If not set, the request will return all datasets.
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT
final String object = new String(); // String | The object of the custom field. If not set, the request will return all datasets.
final String byFamilyUuid = new String(); // String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.

try {
    final result = await api_instance.v1CustomFieldsGet(limit, uuid, userId, object, byFamilyUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomFieldsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field. If not set, the request will return all datasets.
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        String object = patient; // String | The object of the custom field. If not set, the request will return all datasets.
        String byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.

        try {
            Object result = apiInstance.v1CustomFieldsGet(limit, uuid, userId, object, byFamilyUuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the custom field. If not set, the request will return all datasets. (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
String *object = patient; // The object of the custom field. If not set, the request will return all datasets. (optional) (default to null)
String *byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first. (optional) (default to null)

// Return custom fields
[apiInstance v1CustomFieldsGetWith:limit
    uuid:uuid
    userId:userId
    object:object
    byFamilyUuid:byFamilyUuid
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the custom field. If not set, the request will return all datasets.
  'userId': 1, // {Long} The user_id of the user. Can only be used for users with role == ROOT
  'object': patient, // {String} The object of the custom field. If not set, the request will return all datasets.
  'byFamilyUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomFieldsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomFieldsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the custom field. If not set, the request will return all datasets. (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)
            var object = patient;  // String | The object of the custom field. If not set, the request will return all datasets. (optional)  (default to null)
            var byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first. (optional)  (default to null)

            try {
                // Return custom fields
                Object result = apiInstance.v1CustomFieldsGet(limit, uuid, userId, object, byFamilyUuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomFieldsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field. If not set, the request will return all datasets.
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
$object = patient; // String | The object of the custom field. If not set, the request will return all datasets.
$byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.

try {
    $result = $api_instance->v1CustomFieldsGet($limit, $uuid, $userId, $object, $byFamilyUuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomFieldsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the custom field. If not set, the request will return all datasets.
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT
my $object = patient; # String | The object of the custom field. If not set, the request will return all datasets.
my $byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.

eval {
    my $result = $api_instance->v1CustomFieldsGet(limit => $limit, uuid => $uuid, userId => $userId, object => $object, byFamilyUuid => $byFamilyUuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomFieldsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the custom field. If not set, the request will return all datasets. (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
object = patient # String | The object of the custom field. If not set, the request will return all datasets. (optional) (default to null)
byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first. (optional) (default to null)

try:
    # Return custom fields
    api_response = api_instance.v1_custom_fields_get(limit=limit, uuid=uuid, userId=userId, object=object, byFamilyUuid=byFamilyUuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomFieldsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let userId = 1; // Long
    let object = patient; // String
    let byFamilyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomFieldsGet(limit, uuid, userId, object, byFamilyUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
uuid
String
The UUID of the custom field. If not set, the request will return all datasets.
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT
object
String
The object of the custom field. If not set, the request will return all datasets.
by_family_uuid
String
The family_uuid if we are asking for a custom field of a patient that is part of a family and when that patient is new, we have to query the family to get the user id first.

Responses


v1CustomFieldsPost

Save a new custom field

This creates a new custom field in the database


/v1/custom-fields

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/custom-fields" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        FormElement formElement = ; // FormElement | 

        try {
            formElement result = apiInstance.v1CustomFieldsPost(formElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final FormElement formElement = new FormElement(); // FormElement | 

try {
    final result = await api_instance.v1CustomFieldsPost(formElement);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomFieldsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        FormElement formElement = ; // FormElement | 

        try {
            formElement result = apiInstance.v1CustomFieldsPost(formElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
FormElement *formElement = ; //  (optional)

// Save a new custom field
[apiInstance v1CustomFieldsPostWith:formElement
              completionHandler: ^(formElement output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'formElement':  // {FormElement} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomFieldsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomFieldsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var formElement = new FormElement(); // FormElement |  (optional) 

            try {
                // Save a new custom field
                formElement result = apiInstance.v1CustomFieldsPost(formElement);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomFieldsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$formElement = ; // FormElement | 

try {
    $result = $api_instance->v1CustomFieldsPost($formElement);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomFieldsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $formElement = WWW::OPenAPIClient::Object::FormElement->new(); # FormElement | 

eval {
    my $result = $api_instance->v1CustomFieldsPost(formElement => $formElement);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomFieldsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
formElement =  # FormElement |  (optional)

try:
    # Save a new custom field
    api_response = api_instance.v1_custom_fields_post(formElement=formElement)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomFieldsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let formElement = ; // FormElement

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomFieldsPost(formElement, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
formElement

Responses


v1CustomFieldsPut

Update custom field data

This updates a custom field


/v1/custom-fields

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/custom-fields?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field.
        FormElement formElement = ; // FormElement | 

        try {
            formElement result = apiInstance.v1CustomFieldsPut(uuid, formElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the custom field.
final FormElement formElement = new FormElement(); // FormElement | 

try {
    final result = await api_instance.v1CustomFieldsPut(uuid, formElement);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomFieldsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field.
        FormElement formElement = ; // FormElement | 

        try {
            formElement result = apiInstance.v1CustomFieldsPut(uuid, formElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomFieldsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the custom field. (optional) (default to null)
FormElement *formElement = ; //  (optional)

// Update custom field data
[apiInstance v1CustomFieldsPutWith:uuid
    formElement:formElement
              completionHandler: ^(formElement output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the custom field.
  'formElement':  // {FormElement} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomFieldsPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomFieldsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the custom field. (optional)  (default to null)
            var formElement = new FormElement(); // FormElement |  (optional) 

            try {
                // Update custom field data
                formElement result = apiInstance.v1CustomFieldsPut(uuid, formElement);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomFieldsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the custom field.
$formElement = ; // FormElement | 

try {
    $result = $api_instance->v1CustomFieldsPut($uuid, $formElement);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomFieldsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the custom field.
my $formElement = WWW::OPenAPIClient::Object::FormElement->new(); # FormElement | 

eval {
    my $result = $api_instance->v1CustomFieldsPut(uuid => $uuid, formElement => $formElement);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomFieldsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the custom field. (optional) (default to null)
formElement =  # FormElement |  (optional)

try:
    # Update custom field data
    api_response = api_instance.v1_custom_fields_put(uuid=uuid, formElement=formElement)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomFieldsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let formElement = ; // FormElement

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomFieldsPut(uuid, formElement, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
formElement

Query parameters
NameDescription
uuid
String
The UUID of the custom field.

Responses


v1DemoSignupPost

Create a demo user

Creates a demo user in the database and sends an e-mail to the user with the login information.


/v1/demo-signup

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json,application/x-www-form-urlencoded" \
 "https://app.psido.at/api/v1/demo-signup" \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1DemoSignupPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1DemoSignupPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final User user = new User(); // User | 

try {
    final result = await api_instance.v1DemoSignupPost(user);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1DemoSignupPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1DemoSignupPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1DemoSignupPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
User *user = ; //  (optional)

// Create a demo user
[apiInstance v1DemoSignupPostWith:user
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'user':  // {User} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1DemoSignupPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1DemoSignupPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var user = new User(); // User |  (optional) 

            try {
                // Create a demo user
                apiInstance.v1DemoSignupPost(user);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1DemoSignupPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$user = ; // User | 

try {
    $api_instance->v1DemoSignupPost($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1DemoSignupPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $user = WWW::OPenAPIClient::Object::User->new(); # User | 

eval {
    $api_instance->v1DemoSignupPost(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1DemoSignupPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
user =  # User |  (optional)

try:
    # Create a demo user
    api_instance.v1_demo_signup_post(user=user)
except ApiException as e:
    print("Exception when calling DefaultApi->v1DemoSignupPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let user = ; // User

    let mut context = DefaultApi::Context::default();
    let result = client.v1DemoSignupPost(user, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
user

Responses


v1EmailFilePost

Send an e-mail to a patient of a file

This sends an e-mail to a patient attaching a file


/v1/email/file

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/email/file" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        EmailFile emailFile = ; // EmailFile | 

        try {
            apiInstance.v1EmailFilePost(emailFile);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1EmailFilePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final EmailFile emailFile = new EmailFile(); // EmailFile | 

try {
    final result = await api_instance.v1EmailFilePost(emailFile);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1EmailFilePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        EmailFile emailFile = ; // EmailFile | 

        try {
            apiInstance.v1EmailFilePost(emailFile);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1EmailFilePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
EmailFile *emailFile = ; //  (optional)

// Send an e-mail to a patient of a file
[apiInstance v1EmailFilePostWith:emailFile
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'emailFile':  // {EmailFile} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1EmailFilePost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1EmailFilePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var emailFile = new EmailFile(); // EmailFile |  (optional) 

            try {
                // Send an e-mail to a patient of a file
                apiInstance.v1EmailFilePost(emailFile);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1EmailFilePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$emailFile = ; // EmailFile | 

try {
    $api_instance->v1EmailFilePost($emailFile);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1EmailFilePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $emailFile = WWW::OPenAPIClient::Object::EmailFile->new(); # EmailFile | 

eval {
    $api_instance->v1EmailFilePost(emailFile => $emailFile);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1EmailFilePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
emailFile =  # EmailFile |  (optional)

try:
    # Send an e-mail to a patient of a file
    api_instance.v1_email_file_post(emailFile=emailFile)
except ApiException as e:
    print("Exception when calling DefaultApi->v1EmailFilePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let emailFile = ; // EmailFile

    let mut context = DefaultApi::Context::default();
    let result = client.v1EmailFilePost(emailFile, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
emailFile

Responses


v1ExpensesDelete

Deletes an expense

This deletes a expense from the database


/v1/expenses

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/expenses?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense.

        try {
            expense result = apiInstance.v1ExpensesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the expense.

try {
    final result = await api_instance.v1ExpensesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExpensesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense.

        try {
            expense result = apiInstance.v1ExpensesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the expense. (default to null)

// Deletes an expense
[apiInstance v1ExpensesDeleteWith:uuid
              completionHandler: ^(expense output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the expense.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExpensesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExpensesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the expense. (default to null)

            try {
                // Deletes an expense
                expense result = apiInstance.v1ExpensesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExpensesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense.

try {
    $result = $api_instance->v1ExpensesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExpensesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the expense.

eval {
    my $result = $api_instance->v1ExpensesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExpensesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the expense. (default to null)

try:
    # Deletes an expense
    api_response = api_instance.v1_expenses_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExpensesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExpensesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the expense.
Required

Responses


v1ExpensesGet

Get expenses

This returns all expenses


/v1/expenses

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/expenses?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense. If not set, the request will return all expenses.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[expense] result = apiInstance.v1ExpensesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the expense. If not set, the request will return all expenses.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1ExpensesGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExpensesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense. If not set, the request will return all expenses.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[expense] result = apiInstance.v1ExpensesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the expense. If not set, the request will return all expenses. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get expenses
[apiInstance v1ExpensesGetWith:uuid
    limit:limit
              completionHandler: ^(array[expense] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the expense. If not set, the request will return all expenses.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExpensesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExpensesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the expense. If not set, the request will return all expenses. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get expenses
                array[expense] result = apiInstance.v1ExpensesGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExpensesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense. If not set, the request will return all expenses.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1ExpensesGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExpensesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the expense. If not set, the request will return all expenses.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1ExpensesGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExpensesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the expense. If not set, the request will return all expenses. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get expenses
    api_response = api_instance.v1_expenses_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExpensesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExpensesGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the expense. If not set, the request will return all expenses.
limit
Integer
How many datasets to return

Responses


v1ExpensesPost

Save a new expense

This creates a new expense in the database


/v1/expenses

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/expenses" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Expense expense = ; // Expense | 

        try {
            expense result = apiInstance.v1ExpensesPost(expense);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Expense expense = new Expense(); // Expense | 

try {
    final result = await api_instance.v1ExpensesPost(expense);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExpensesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Expense expense = ; // Expense | 

        try {
            expense result = apiInstance.v1ExpensesPost(expense);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Expense *expense = ; //  (optional)

// Save a new expense
[apiInstance v1ExpensesPostWith:expense
              completionHandler: ^(expense output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'expense':  // {Expense} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExpensesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExpensesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var expense = new Expense(); // Expense |  (optional) 

            try {
                // Save a new expense
                expense result = apiInstance.v1ExpensesPost(expense);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExpensesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$expense = ; // Expense | 

try {
    $result = $api_instance->v1ExpensesPost($expense);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExpensesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $expense = WWW::OPenAPIClient::Object::Expense->new(); # Expense | 

eval {
    my $result = $api_instance->v1ExpensesPost(expense => $expense);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExpensesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
expense =  # Expense |  (optional)

try:
    # Save a new expense
    api_response = api_instance.v1_expenses_post(expense=expense)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExpensesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let expense = ; // Expense

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExpensesPost(expense, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
expense

Responses


v1ExpensesPut

Update expense

This updates an expense


/v1/expenses

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/expenses?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense.
        Expense expense = ; // Expense | 

        try {
            expense result = apiInstance.v1ExpensesPut(uuid, expense);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the expense.
final Expense expense = new Expense(); // Expense | 

try {
    final result = await api_instance.v1ExpensesPut(uuid, expense);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExpensesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense.
        Expense expense = ; // Expense | 

        try {
            expense result = apiInstance.v1ExpensesPut(uuid, expense);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExpensesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the expense. (default to null)
Expense *expense = ; //  (optional)

// Update expense
[apiInstance v1ExpensesPutWith:uuid
    expense:expense
              completionHandler: ^(expense output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the expense.
var opts = {
  'expense':  // {Expense} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExpensesPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExpensesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the expense. (default to null)
            var expense = new Expense(); // Expense |  (optional) 

            try {
                // Update expense
                expense result = apiInstance.v1ExpensesPut(uuid, expense);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExpensesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the expense.
$expense = ; // Expense | 

try {
    $result = $api_instance->v1ExpensesPut($uuid, $expense);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExpensesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the expense.
my $expense = WWW::OPenAPIClient::Object::Expense->new(); # Expense | 

eval {
    my $result = $api_instance->v1ExpensesPut(uuid => $uuid, expense => $expense);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExpensesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the expense. (default to null)
expense =  # Expense |  (optional)

try:
    # Update expense
    api_response = api_instance.v1_expenses_put(uuid, expense=expense)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExpensesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let expense = ; // Expense

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExpensesPut(uuid, expense, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
expense

Query parameters
NameDescription
uuid*
String
The UUID of the expense.
Required

Responses


v1ExtraIncomesDelete

Deletes an extra income

This deletes an extra income from the database


/v1/extra-incomes

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/extra-incomes?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income.

        try {
            extraIncome result = apiInstance.v1ExtraIncomesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the extra income.

try {
    final result = await api_instance.v1ExtraIncomesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExtraIncomesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income.

        try {
            extraIncome result = apiInstance.v1ExtraIncomesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the extra income. (default to null)

// Deletes an extra income
[apiInstance v1ExtraIncomesDeleteWith:uuid
              completionHandler: ^(extraIncome output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the extra income.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExtraIncomesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExtraIncomesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the extra income. (default to null)

            try {
                // Deletes an extra income
                extraIncome result = apiInstance.v1ExtraIncomesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExtraIncomesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income.

try {
    $result = $api_instance->v1ExtraIncomesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExtraIncomesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the extra income.

eval {
    my $result = $api_instance->v1ExtraIncomesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExtraIncomesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the extra income. (default to null)

try:
    # Deletes an extra income
    api_response = api_instance.v1_extra_incomes_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExtraIncomesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExtraIncomesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the extra income.
Required

Responses


v1ExtraIncomesGet

Get extra incomes

This returns all extra incomes


/v1/extra-incomes

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/extra-incomes?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income. If not set, the request will return all extra incomes.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[extraIncome] result = apiInstance.v1ExtraIncomesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the extra income. If not set, the request will return all extra incomes.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1ExtraIncomesGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExtraIncomesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income. If not set, the request will return all extra incomes.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[extraIncome] result = apiInstance.v1ExtraIncomesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the extra income. If not set, the request will return all extra incomes. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get extra incomes
[apiInstance v1ExtraIncomesGetWith:uuid
    limit:limit
              completionHandler: ^(array[extraIncome] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the extra income. If not set, the request will return all extra incomes.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExtraIncomesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExtraIncomesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the extra income. If not set, the request will return all extra incomes. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get extra incomes
                array[extraIncome] result = apiInstance.v1ExtraIncomesGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExtraIncomesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income. If not set, the request will return all extra incomes.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1ExtraIncomesGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExtraIncomesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the extra income. If not set, the request will return all extra incomes.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1ExtraIncomesGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExtraIncomesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the extra income. If not set, the request will return all extra incomes. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get extra incomes
    api_response = api_instance.v1_extra_incomes_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExtraIncomesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExtraIncomesGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the extra income. If not set, the request will return all extra incomes.
limit
Integer
How many datasets to return

Responses


v1ExtraIncomesPost

Save a new extra income

This creates a new extra income in the database


/v1/extra-incomes

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/extra-incomes" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ExtraIncome extraIncome = ; // ExtraIncome | 

        try {
            extraIncome result = apiInstance.v1ExtraIncomesPost(extraIncome);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ExtraIncome extraIncome = new ExtraIncome(); // ExtraIncome | 

try {
    final result = await api_instance.v1ExtraIncomesPost(extraIncome);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExtraIncomesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ExtraIncome extraIncome = ; // ExtraIncome | 

        try {
            extraIncome result = apiInstance.v1ExtraIncomesPost(extraIncome);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ExtraIncome *extraIncome = ; //  (optional)

// Save a new extra income
[apiInstance v1ExtraIncomesPostWith:extraIncome
              completionHandler: ^(extraIncome output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'extraIncome':  // {ExtraIncome} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExtraIncomesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExtraIncomesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var extraIncome = new ExtraIncome(); // ExtraIncome |  (optional) 

            try {
                // Save a new extra income
                extraIncome result = apiInstance.v1ExtraIncomesPost(extraIncome);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExtraIncomesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$extraIncome = ; // ExtraIncome | 

try {
    $result = $api_instance->v1ExtraIncomesPost($extraIncome);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExtraIncomesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $extraIncome = WWW::OPenAPIClient::Object::ExtraIncome->new(); # ExtraIncome | 

eval {
    my $result = $api_instance->v1ExtraIncomesPost(extraIncome => $extraIncome);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExtraIncomesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
extraIncome =  # ExtraIncome |  (optional)

try:
    # Save a new extra income
    api_response = api_instance.v1_extra_incomes_post(extraIncome=extraIncome)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExtraIncomesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let extraIncome = ; // ExtraIncome

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExtraIncomesPost(extraIncome, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
extraIncome

Responses


v1ExtraIncomesPut

Update extra income

This updates an extra income


/v1/extra-incomes

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/extra-incomes?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income.
        ExtraIncome extraIncome = ; // ExtraIncome | 

        try {
            extraIncome result = apiInstance.v1ExtraIncomesPut(uuid, extraIncome);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the extra income.
final ExtraIncome extraIncome = new ExtraIncome(); // ExtraIncome | 

try {
    final result = await api_instance.v1ExtraIncomesPut(uuid, extraIncome);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ExtraIncomesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income.
        ExtraIncome extraIncome = ; // ExtraIncome | 

        try {
            extraIncome result = apiInstance.v1ExtraIncomesPut(uuid, extraIncome);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ExtraIncomesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the extra income. (default to null)
ExtraIncome *extraIncome = ; //  (optional)

// Update extra income
[apiInstance v1ExtraIncomesPutWith:uuid
    extraIncome:extraIncome
              completionHandler: ^(extraIncome output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the extra income.
var opts = {
  'extraIncome':  // {ExtraIncome} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ExtraIncomesPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ExtraIncomesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the extra income. (default to null)
            var extraIncome = new ExtraIncome(); // ExtraIncome |  (optional) 

            try {
                // Update extra income
                extraIncome result = apiInstance.v1ExtraIncomesPut(uuid, extraIncome);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ExtraIncomesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the extra income.
$extraIncome = ; // ExtraIncome | 

try {
    $result = $api_instance->v1ExtraIncomesPut($uuid, $extraIncome);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ExtraIncomesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the extra income.
my $extraIncome = WWW::OPenAPIClient::Object::ExtraIncome->new(); # ExtraIncome | 

eval {
    my $result = $api_instance->v1ExtraIncomesPut(uuid => $uuid, extraIncome => $extraIncome);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ExtraIncomesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the extra income. (default to null)
extraIncome =  # ExtraIncome |  (optional)

try:
    # Update extra income
    api_response = api_instance.v1_extra_incomes_put(uuid, extraIncome=extraIncome)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ExtraIncomesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let extraIncome = ; // ExtraIncome

    let mut context = DefaultApi::Context::default();
    let result = client.v1ExtraIncomesPut(uuid, extraIncome, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
extraIncome

Query parameters
NameDescription
uuid*
String
The UUID of the extra income.
Required

Responses


v1FamiliesDelete

Deletes a family

This deletes a family from the database


/v1/families

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/families?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family.

        try {
            family result = apiInstance.v1FamiliesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the family.

try {
    final result = await api_instance.v1FamiliesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FamiliesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family.

        try {
            family result = apiInstance.v1FamiliesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the family. (default to null)

// Deletes a family
[apiInstance v1FamiliesDeleteWith:uuid
              completionHandler: ^(family output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the family.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FamiliesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FamiliesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the family. (default to null)

            try {
                // Deletes a family
                family result = apiInstance.v1FamiliesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FamiliesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family.

try {
    $result = $api_instance->v1FamiliesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FamiliesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the family.

eval {
    my $result = $api_instance->v1FamiliesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FamiliesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the family. (default to null)

try:
    # Deletes a family
    api_response = api_instance.v1_families_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FamiliesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FamiliesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the family.
Required

Responses


v1FamiliesGet

Get Family Data

This returns all families


/v1/families

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/families?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all families.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[family] result = apiInstance.v1FamiliesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the family. If not set, the request will return all families.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1FamiliesGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FamiliesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all families.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[family] result = apiInstance.v1FamiliesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the family. If not set, the request will return all families. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get Family Data
[apiInstance v1FamiliesGetWith:uuid
    limit:limit
              completionHandler: ^(array[family] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the family. If not set, the request will return all families.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FamiliesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FamiliesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the family. If not set, the request will return all families. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get Family Data
                array[family] result = apiInstance.v1FamiliesGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FamiliesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all families.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1FamiliesGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FamiliesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the family. If not set, the request will return all families.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1FamiliesGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FamiliesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the family. If not set, the request will return all families. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get Family Data
    api_response = api_instance.v1_families_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FamiliesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1FamiliesGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the family. If not set, the request will return all families.
limit
Integer
How many datasets to return

Responses


v1FamiliesPost

Save a new family

This creates a new family in the database


/v1/families

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/families" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Family family = ; // Family | 

        try {
            family result = apiInstance.v1FamiliesPost(family);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Family family = new Family(); // Family | 

try {
    final result = await api_instance.v1FamiliesPost(family);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FamiliesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Family family = ; // Family | 

        try {
            family result = apiInstance.v1FamiliesPost(family);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Family *family = ; //  (optional)

// Save a new family
[apiInstance v1FamiliesPostWith:family
              completionHandler: ^(family output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'family':  // {Family} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FamiliesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FamiliesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var family = new Family(); // Family |  (optional) 

            try {
                // Save a new family
                family result = apiInstance.v1FamiliesPost(family);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FamiliesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$family = ; // Family | 

try {
    $result = $api_instance->v1FamiliesPost($family);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FamiliesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $family = WWW::OPenAPIClient::Object::Family->new(); # Family | 

eval {
    my $result = $api_instance->v1FamiliesPost(family => $family);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FamiliesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
family =  # Family |  (optional)

try:
    # Save a new family
    api_response = api_instance.v1_families_post(family=family)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FamiliesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let family = ; // Family

    let mut context = DefaultApi::Context::default();
    let result = client.v1FamiliesPost(family, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
family

Responses


v1FamiliesPut

Update Family Data

This updates a family


/v1/families

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/families?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family.
        Family family = ; // Family | 

        try {
            family result = apiInstance.v1FamiliesPut(uuid, family);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the family.
final Family family = new Family(); // Family | 

try {
    final result = await api_instance.v1FamiliesPut(uuid, family);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FamiliesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family.
        Family family = ; // Family | 

        try {
            family result = apiInstance.v1FamiliesPut(uuid, family);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FamiliesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the family. (default to null)
Family *family = ; //  (optional)

// Update Family Data
[apiInstance v1FamiliesPutWith:uuid
    family:family
              completionHandler: ^(family output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the family.
var opts = {
  'family':  // {Family} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FamiliesPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FamiliesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the family. (default to null)
            var family = new Family(); // Family |  (optional) 

            try {
                // Update Family Data
                family result = apiInstance.v1FamiliesPut(uuid, family);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FamiliesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family.
$family = ; // Family | 

try {
    $result = $api_instance->v1FamiliesPut($uuid, $family);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FamiliesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the family.
my $family = WWW::OPenAPIClient::Object::Family->new(); # Family | 

eval {
    my $result = $api_instance->v1FamiliesPut(uuid => $uuid, family => $family);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FamiliesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the family. (default to null)
family =  # Family |  (optional)

try:
    # Update Family Data
    api_response = api_instance.v1_families_put(uuid, family=family)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FamiliesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let family = ; // Family

    let mut context = DefaultApi::Context::default();
    let result = client.v1FamiliesPut(uuid, family, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
family

Query parameters
NameDescription
uuid*
String
The UUID of the family.
Required

Responses


v1FilesGet

Get file Data

This returns all files in a certain object


/v1/files

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/files?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&object=session"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the object
        String object = session; // String | Which object we'd like to get files from (Family, Session, etc)

        try {
            array[uploadFile] result = apiInstance.v1FilesGet(uuid, object);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FilesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the object
final String object = new String(); // String | Which object we'd like to get files from (Family, Session, etc)

try {
    final result = await api_instance.v1FilesGet(uuid, object);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FilesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the object
        String object = session; // String | Which object we'd like to get files from (Family, Session, etc)

        try {
            array[uploadFile] result = apiInstance.v1FilesGet(uuid, object);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FilesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the object (default to null)
String *object = session; // Which object we'd like to get files from (Family, Session, etc) (default to null)

// Get file Data
[apiInstance v1FilesGetWith:uuid
    object:object
              completionHandler: ^(array[uploadFile] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the object
var object = session; // {String} Which object we'd like to get files from (Family, Session, etc)

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesGet(uuid, object, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FilesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the object (default to null)
            var object = session;  // String | Which object we'd like to get files from (Family, Session, etc) (default to null)

            try {
                // Get file Data
                array[uploadFile] result = apiInstance.v1FilesGet(uuid, object);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FilesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the object
$object = session; // String | Which object we'd like to get files from (Family, Session, etc)

try {
    $result = $api_instance->v1FilesGet($uuid, $object);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FilesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the object
my $object = session; # String | Which object we'd like to get files from (Family, Session, etc)

eval {
    my $result = $api_instance->v1FilesGet(uuid => $uuid, object => $object);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FilesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the object (default to null)
object = session # String | Which object we'd like to get files from (Family, Session, etc) (default to null)

try:
    # Get file Data
    api_response = api_instance.v1_files_get(uuid, object)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FilesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let object = session; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FilesGet(uuid, object, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the object
Required
object*
String
Which object we'd like to get files from (Family, Session, etc)
Required

Responses


v1FindingElementsDelete

Deletes a report

This deletes a report from the database


/v1/finding-elements

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/finding-elements?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            finding-element result = apiInstance.v1FindingElementsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the patient.

try {
    final result = await api_instance.v1FindingElementsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingElementsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            finding-element result = apiInstance.v1FindingElementsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. (default to null)

// Deletes a report
[apiInstance v1FindingElementsDeleteWith:uuid
              completionHandler: ^(finding-element output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingElementsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingElementsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. (default to null)

            try {
                // Deletes a report
                finding-element result = apiInstance.v1FindingElementsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingElementsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

try {
    $result = $api_instance->v1FindingElementsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingElementsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient.

eval {
    my $result = $api_instance->v1FindingElementsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingElementsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. (default to null)

try:
    # Deletes a report
    api_response = api_instance.v1_finding_elements_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingElementsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingElementsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the patient.
Required

Responses


v1FindingElementsGet

Get Finding elements

This returns all finding elements


/v1/finding-elements

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/finding-elements?limit=5&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

        try {
            array[finding-element] result = apiInstance.v1FindingElementsGet(limit, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final String uuid = new String(); // String | The UUID of the patient. If not set, the request will return all patients.

try {
    final result = await api_instance.v1FindingElementsGet(limit, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingElementsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

        try {
            array[finding-element] result = apiInstance.v1FindingElementsGet(limit, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)

// Get Finding elements
[apiInstance v1FindingElementsGetWith:limit
    uuid:uuid
              completionHandler: ^(array[finding-element] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the patient. If not set, the request will return all patients.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingElementsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingElementsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. If not set, the request will return all patients. (optional)  (default to null)

            try {
                // Get Finding elements
                array[finding-element] result = apiInstance.v1FindingElementsGet(limit, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingElementsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

try {
    $result = $api_instance->v1FindingElementsGet($limit, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingElementsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. If not set, the request will return all patients.

eval {
    my $result = $api_instance->v1FindingElementsGet(limit => $limit, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingElementsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)

try:
    # Get Finding elements
    api_response = api_instance.v1_finding_elements_get(limit=limit, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingElementsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingElementsGet(limit, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
uuid
String
The UUID of the patient. If not set, the request will return all patients.

Responses


v1FindingElementsPost

Save a new report

This creates a new patient in the database


/v1/finding-elements

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/finding-elements" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        FindingElement findingElement = ; // FindingElement | 

        try {
            finding-element result = apiInstance.v1FindingElementsPost(findingElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final FindingElement findingElement = new FindingElement(); // FindingElement | 

try {
    final result = await api_instance.v1FindingElementsPost(findingElement);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingElementsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        FindingElement findingElement = ; // FindingElement | 

        try {
            finding-element result = apiInstance.v1FindingElementsPost(findingElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
FindingElement *findingElement = ; //  (optional)

// Save a new report
[apiInstance v1FindingElementsPostWith:findingElement
              completionHandler: ^(finding-element output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'findingElement':  // {FindingElement} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingElementsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingElementsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var findingElement = new FindingElement(); // FindingElement |  (optional) 

            try {
                // Save a new report
                finding-element result = apiInstance.v1FindingElementsPost(findingElement);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingElementsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$findingElement = ; // FindingElement | 

try {
    $result = $api_instance->v1FindingElementsPost($findingElement);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingElementsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $findingElement = WWW::OPenAPIClient::Object::FindingElement->new(); # FindingElement | 

eval {
    my $result = $api_instance->v1FindingElementsPost(findingElement => $findingElement);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingElementsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
findingElement =  # FindingElement |  (optional)

try:
    # Save a new report
    api_response = api_instance.v1_finding_elements_post(findingElement=findingElement)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingElementsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let findingElement = ; // FindingElement

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingElementsPost(findingElement, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
findingElement

Responses


v1FindingElementsPut

Update Report

This updates a report


/v1/finding-elements

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/finding-elements?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
        FindingElement findingElement = ; // FindingElement | 

        try {
            finding-element result = apiInstance.v1FindingElementsPut(uuid, findingElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the report
final FindingElement findingElement = new FindingElement(); // FindingElement | 

try {
    final result = await api_instance.v1FindingElementsPut(uuid, findingElement);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingElementsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
        FindingElement findingElement = ; // FindingElement | 

        try {
            finding-element result = apiInstance.v1FindingElementsPut(uuid, findingElement);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingElementsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the report (default to null)
FindingElement *findingElement = ; //  (optional)

// Update Report
[apiInstance v1FindingElementsPutWith:uuid
    findingElement:findingElement
              completionHandler: ^(finding-element output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the report
var opts = {
  'findingElement':  // {FindingElement} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingElementsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingElementsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the report (default to null)
            var findingElement = new FindingElement(); // FindingElement |  (optional) 

            try {
                // Update Report
                finding-element result = apiInstance.v1FindingElementsPut(uuid, findingElement);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingElementsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
$findingElement = ; // FindingElement | 

try {
    $result = $api_instance->v1FindingElementsPut($uuid, $findingElement);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingElementsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the report
my $findingElement = WWW::OPenAPIClient::Object::FindingElement->new(); # FindingElement | 

eval {
    my $result = $api_instance->v1FindingElementsPut(uuid => $uuid, findingElement => $findingElement);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingElementsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the report (default to null)
findingElement =  # FindingElement |  (optional)

try:
    # Update Report
    api_response = api_instance.v1_finding_elements_put(uuid, findingElement=findingElement)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingElementsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let findingElement = ; // FindingElement

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingElementsPut(uuid, findingElement, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
findingElement

Query parameters
NameDescription
uuid*
String
The UUID of the report
Required

Responses


v1FindingGeneratePost

Create a new report

This creates a new finding report


/v1/finding-generate

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/octet-stream" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/finding-generate?patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&findingReportUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient
        String findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the finding report
        FindingReport findingReport = ; // FindingReport | 

        try {
            File result = apiInstance.v1FindingGeneratePost(patientUuid, findingReportUuid, findingReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingGeneratePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient
final String findingReportUuid = new String(); // String | The UUID of the finding report
final FindingReport findingReport = new FindingReport(); // FindingReport | 

try {
    final result = await api_instance.v1FindingGeneratePost(patientUuid, findingReportUuid, findingReport);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingGeneratePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient
        String findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the finding report
        FindingReport findingReport = ; // FindingReport | 

        try {
            File result = apiInstance.v1FindingGeneratePost(patientUuid, findingReportUuid, findingReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingGeneratePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient (default to null)
String *findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the finding report (default to null)
FindingReport *findingReport = ; //  (optional)

// Create a new report
[apiInstance v1FindingGeneratePostWith:patientUuid
    findingReportUuid:findingReportUuid
    findingReport:findingReport
              completionHandler: ^(File output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient
var findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the finding report
var opts = {
  'findingReport':  // {FindingReport} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingGeneratePost(patientUuid, findingReportUuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingGeneratePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient (default to null)
            var findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the finding report (default to null)
            var findingReport = new FindingReport(); // FindingReport |  (optional) 

            try {
                // Create a new report
                File result = apiInstance.v1FindingGeneratePost(patientUuid, findingReportUuid, findingReport);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingGeneratePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient
$findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the finding report
$findingReport = ; // FindingReport | 

try {
    $result = $api_instance->v1FindingGeneratePost($patientUuid, $findingReportUuid, $findingReport);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingGeneratePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient
my $findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the finding report
my $findingReport = WWW::OPenAPIClient::Object::FindingReport->new(); # FindingReport | 

eval {
    my $result = $api_instance->v1FindingGeneratePost(patientUuid => $patientUuid, findingReportUuid => $findingReportUuid, findingReport => $findingReport);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingGeneratePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient (default to null)
findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the finding report (default to null)
findingReport =  # FindingReport |  (optional)

try:
    # Create a new report
    api_response = api_instance.v1_finding_generate_post(patientUuid, findingReportUuid, findingReport=findingReport)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingGeneratePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let findingReportUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let findingReport = ; // FindingReport

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingGeneratePost(patientUuid, findingReportUuid, findingReport, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
findingReport

Query parameters
NameDescription
patientUuid*
String
The UUID of the patient
Required
findingReportUuid*
String
The UUID of the finding report
Required

Responses


v1FindingReportsDelete

Deletes a report

This deletes a report from the database


/v1/finding-reports

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/finding-reports?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            finding-report result = apiInstance.v1FindingReportsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the patient.

try {
    final result = await api_instance.v1FindingReportsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingReportsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            finding-report result = apiInstance.v1FindingReportsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. (default to null)

// Deletes a report
[apiInstance v1FindingReportsDeleteWith:uuid
              completionHandler: ^(finding-report output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingReportsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingReportsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. (default to null)

            try {
                // Deletes a report
                finding-report result = apiInstance.v1FindingReportsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingReportsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

try {
    $result = $api_instance->v1FindingReportsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingReportsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient.

eval {
    my $result = $api_instance->v1FindingReportsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingReportsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. (default to null)

try:
    # Deletes a report
    api_response = api_instance.v1_finding_reports_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingReportsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingReportsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the patient.
Required

Responses


v1FindingReportsGet

Get Finding reports

This returns all finding reports


/v1/finding-reports

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/finding-reports?limit=5&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

        try {
            array[finding-report] result = apiInstance.v1FindingReportsGet(limit, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final String uuid = new String(); // String | The UUID of the patient. If not set, the request will return all patients.

try {
    final result = await api_instance.v1FindingReportsGet(limit, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingReportsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

        try {
            array[finding-report] result = apiInstance.v1FindingReportsGet(limit, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)

// Get Finding reports
[apiInstance v1FindingReportsGetWith:limit
    uuid:uuid
              completionHandler: ^(array[finding-report] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the patient. If not set, the request will return all patients.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingReportsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingReportsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. If not set, the request will return all patients. (optional)  (default to null)

            try {
                // Get Finding reports
                array[finding-report] result = apiInstance.v1FindingReportsGet(limit, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingReportsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

try {
    $result = $api_instance->v1FindingReportsGet($limit, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingReportsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. If not set, the request will return all patients.

eval {
    my $result = $api_instance->v1FindingReportsGet(limit => $limit, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingReportsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)

try:
    # Get Finding reports
    api_response = api_instance.v1_finding_reports_get(limit=limit, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingReportsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingReportsGet(limit, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
uuid
String
The UUID of the patient. If not set, the request will return all patients.

Responses


v1FindingReportsPost

Save a new report

This creates a new patient in the database


/v1/finding-reports

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/finding-reports" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        FindingReport findingReport = ; // FindingReport | 

        try {
            finding-report result = apiInstance.v1FindingReportsPost(findingReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final FindingReport findingReport = new FindingReport(); // FindingReport | 

try {
    final result = await api_instance.v1FindingReportsPost(findingReport);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingReportsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        FindingReport findingReport = ; // FindingReport | 

        try {
            finding-report result = apiInstance.v1FindingReportsPost(findingReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
FindingReport *findingReport = ; //  (optional)

// Save a new report
[apiInstance v1FindingReportsPostWith:findingReport
              completionHandler: ^(finding-report output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'findingReport':  // {FindingReport} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingReportsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingReportsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var findingReport = new FindingReport(); // FindingReport |  (optional) 

            try {
                // Save a new report
                finding-report result = apiInstance.v1FindingReportsPost(findingReport);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingReportsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$findingReport = ; // FindingReport | 

try {
    $result = $api_instance->v1FindingReportsPost($findingReport);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingReportsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $findingReport = WWW::OPenAPIClient::Object::FindingReport->new(); # FindingReport | 

eval {
    my $result = $api_instance->v1FindingReportsPost(findingReport => $findingReport);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingReportsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
findingReport =  # FindingReport |  (optional)

try:
    # Save a new report
    api_response = api_instance.v1_finding_reports_post(findingReport=findingReport)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingReportsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let findingReport = ; // FindingReport

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingReportsPost(findingReport, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
findingReport

Responses


v1FindingReportsPut

Update Report

This updates a report


/v1/finding-reports

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/finding-reports?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
        FindingReport findingReport = ; // FindingReport | 

        try {
            finding-report result = apiInstance.v1FindingReportsPut(uuid, findingReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the report
final FindingReport findingReport = new FindingReport(); // FindingReport | 

try {
    final result = await api_instance.v1FindingReportsPut(uuid, findingReport);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FindingReportsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
        FindingReport findingReport = ; // FindingReport | 

        try {
            finding-report result = apiInstance.v1FindingReportsPut(uuid, findingReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FindingReportsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the report (default to null)
FindingReport *findingReport = ; //  (optional)

// Update Report
[apiInstance v1FindingReportsPutWith:uuid
    findingReport:findingReport
              completionHandler: ^(finding-report output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the report
var opts = {
  'findingReport':  // {FindingReport} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FindingReportsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FindingReportsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the report (default to null)
            var findingReport = new FindingReport(); // FindingReport |  (optional) 

            try {
                // Update Report
                finding-report result = apiInstance.v1FindingReportsPut(uuid, findingReport);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FindingReportsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
$findingReport = ; // FindingReport | 

try {
    $result = $api_instance->v1FindingReportsPut($uuid, $findingReport);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FindingReportsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the report
my $findingReport = WWW::OPenAPIClient::Object::FindingReport->new(); # FindingReport | 

eval {
    my $result = $api_instance->v1FindingReportsPut(uuid => $uuid, findingReport => $findingReport);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FindingReportsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the report (default to null)
findingReport =  # FindingReport |  (optional)

try:
    # Update Report
    api_response = api_instance.v1_finding_reports_put(uuid, findingReport=findingReport)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FindingReportsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let findingReport = ; // FindingReport

    let mut context = DefaultApi::Context::default();
    let result = client.v1FindingReportsPut(uuid, findingReport, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
findingReport

Query parameters
NameDescription
uuid*
String
The UUID of the report
Required

Responses


v1GenerateQrGet

Generate a QR code for a user

returns an image/png for teh data


/v1/generate-qr

Usage and SDK Samples

curl -X GET \
 "https://app.psido.at/api/v1/generate-qr?data=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | the data to transform into a QR code

        try {
            apiInstance.v1GenerateQrGet(data);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1GenerateQrGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String data = new String(); // String | the data to transform into a QR code

try {
    final result = await api_instance.v1GenerateQrGet(data);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1GenerateQrGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | the data to transform into a QR code

        try {
            apiInstance.v1GenerateQrGet(data);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1GenerateQrGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // the data to transform into a QR code (default to null)

// Generate a QR code for a user
[apiInstance v1GenerateQrGetWith:data
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} the data to transform into a QR code

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1GenerateQrGet(data, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1GenerateQrGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | the data to transform into a QR code (default to null)

            try {
                // Generate a QR code for a user
                apiInstance.v1GenerateQrGet(data);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1GenerateQrGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | the data to transform into a QR code

try {
    $api_instance->v1GenerateQrGet($data);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1GenerateQrGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | the data to transform into a QR code

eval {
    $api_instance->v1GenerateQrGet(data => $data);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1GenerateQrGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | the data to transform into a QR code (default to null)

try:
    # Generate a QR code for a user
    api_instance.v1_generate_qr_get(data)
except ApiException as e:
    print("Exception when calling DefaultApi->v1GenerateQrGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let data = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1GenerateQrGet(data, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
data*
String
the data to transform into a QR code
Required

Responses


v1Icd10CodesGet

return icd codes based on a search string

returns ICD codes based on a search string


/v1/icd10-codes

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/icd10-codes?queryString=F21"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String queryString = F21; // String | ICD Code search string

        try {
            icdCode result = apiInstance.v1Icd10CodesGet(queryString);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1Icd10CodesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String queryString = new String(); // String | ICD Code search string

try {
    final result = await api_instance.v1Icd10CodesGet(queryString);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1Icd10CodesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String queryString = F21; // String | ICD Code search string

        try {
            icdCode result = apiInstance.v1Icd10CodesGet(queryString);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1Icd10CodesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *queryString = F21; // ICD Code search string (default to null)

// return icd codes based on a search string
[apiInstance v1Icd10CodesGetWith:queryString
              completionHandler: ^(icdCode output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var queryString = F21; // {String} ICD Code search string

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1Icd10CodesGet(queryString, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1Icd10CodesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var queryString = F21;  // String | ICD Code search string (default to null)

            try {
                // return icd codes based on a search string
                icdCode result = apiInstance.v1Icd10CodesGet(queryString);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1Icd10CodesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$queryString = F21; // String | ICD Code search string

try {
    $result = $api_instance->v1Icd10CodesGet($queryString);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1Icd10CodesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $queryString = F21; # String | ICD Code search string

eval {
    my $result = $api_instance->v1Icd10CodesGet(queryString => $queryString);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1Icd10CodesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
queryString = F21 # String | ICD Code search string (default to null)

try:
    # return icd codes based on a search string
    api_response = api_instance.v1_icd10_codes_get(queryString)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1Icd10CodesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let queryString = F21; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1Icd10CodesGet(queryString, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
queryString*
String
ICD Code search string
Required

Responses


v1ImagesGet

Get image Data

This returns image files


/v1/images

Usage and SDK Samples

curl -X GET \
 \
-H "token: [[apiKey]]" \
 -H "Accept: image/png" \
 "https://app.psido.at/api/v1/images?id=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The unique identifier of a user. Used for the gtag.

        try {
            File result = apiInstance.v1ImagesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ImagesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | The unique identifier of a user. Used for the gtag.

try {
    final result = await api_instance.v1ImagesGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ImagesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The unique identifier of a user. Used for the gtag.

        try {
            File result = apiInstance.v1ImagesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ImagesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];

// Configure API key authorization: (authentication scheme: ApiKeyAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The unique identifier of a user. Used for the gtag. (default to null)

// Get image Data
[apiInstance v1ImagesGetWith:id
              completionHandler: ^(File output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The unique identifier of a user. Used for the gtag.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ImagesGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ImagesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");
            // Configure API key authorization: ApiKeyAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The unique identifier of a user. Used for the gtag. (default to null)

            try {
                // Get image Data
                File result = apiInstance.v1ImagesGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ImagesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: ApiKeyAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The unique identifier of a user. Used for the gtag.

try {
    $result = $api_instance->v1ImagesGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ImagesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Configure API key authorization: ApiKeyAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The unique identifier of a user. Used for the gtag.

eval {
    my $result = $api_instance->v1ImagesGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ImagesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Configure API key authorization: ApiKeyAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The unique identifier of a user. Used for the gtag. (default to null)

try:
    # Get image Data
    api_response = api_instance.v1_images_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ImagesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ImagesGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
id*
String
The unique identifier of a user. Used for the gtag.
Required

Responses


v1InsuranceApplicationTemplatesDelete

Deletes an insurance application template

This deletes an insurance application template from the database


/v1/insurance-application-templates

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/insurance-application-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template.

        try {
            insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the insurance application template.

try {
    final result = await api_instance.v1InsuranceApplicationTemplatesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationTemplatesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template.

        try {
            insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the insurance application template. (default to null)

// Deletes an insurance application template
[apiInstance v1InsuranceApplicationTemplatesDeleteWith:uuid
              completionHandler: ^(insuranceApplicationTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the insurance application template.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationTemplatesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationTemplatesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the insurance application template. (default to null)

            try {
                // Deletes an insurance application template
                insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationTemplatesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template.

try {
    $result = $api_instance->v1InsuranceApplicationTemplatesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationTemplatesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the insurance application template.

eval {
    my $result = $api_instance->v1InsuranceApplicationTemplatesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationTemplatesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the insurance application template. (default to null)

try:
    # Deletes an insurance application template
    api_response = api_instance.v1_insurance_application_templates_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationTemplatesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationTemplatesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the insurance application template.
Required

Responses


v1InsuranceApplicationTemplatesGet

Get insurance application templates

This returns all insurance application templates


/v1/insurance-application-templates

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/insurance-application-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template. If not set, the request will return all insurance application templates.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[insuranceApplicationTemplate] result = apiInstance.v1InsuranceApplicationTemplatesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the insurance application template. If not set, the request will return all insurance application templates.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1InsuranceApplicationTemplatesGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationTemplatesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template. If not set, the request will return all insurance application templates.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[insuranceApplicationTemplate] result = apiInstance.v1InsuranceApplicationTemplatesGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the insurance application template. If not set, the request will return all insurance application templates. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get insurance application templates
[apiInstance v1InsuranceApplicationTemplatesGetWith:uuid
    limit:limit
              completionHandler: ^(array[insuranceApplicationTemplate] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the insurance application template. If not set, the request will return all insurance application templates.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationTemplatesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationTemplatesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the insurance application template. If not set, the request will return all insurance application templates. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get insurance application templates
                array[insuranceApplicationTemplate] result = apiInstance.v1InsuranceApplicationTemplatesGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationTemplatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template. If not set, the request will return all insurance application templates.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1InsuranceApplicationTemplatesGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationTemplatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the insurance application template. If not set, the request will return all insurance application templates.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1InsuranceApplicationTemplatesGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationTemplatesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the insurance application template. If not set, the request will return all insurance application templates. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get insurance application templates
    api_response = api_instance.v1_insurance_application_templates_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationTemplatesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationTemplatesGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the insurance application template. If not set, the request will return all insurance application templates.
limit
Integer
How many datasets to return

Responses


v1InsuranceApplicationTemplatesPost

Save a new insurance application template

This creates a new insurance application template in the database


/v1/insurance-application-templates

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/insurance-application-templates" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        InsuranceApplicationTemplate insuranceApplicationTemplate = ; // InsuranceApplicationTemplate | 

        try {
            insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesPost(insuranceApplicationTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final InsuranceApplicationTemplate insuranceApplicationTemplate = new InsuranceApplicationTemplate(); // InsuranceApplicationTemplate | 

try {
    final result = await api_instance.v1InsuranceApplicationTemplatesPost(insuranceApplicationTemplate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        InsuranceApplicationTemplate insuranceApplicationTemplate = ; // InsuranceApplicationTemplate | 

        try {
            insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesPost(insuranceApplicationTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
InsuranceApplicationTemplate *insuranceApplicationTemplate = ; //  (optional)

// Save a new insurance application template
[apiInstance v1InsuranceApplicationTemplatesPostWith:insuranceApplicationTemplate
              completionHandler: ^(insuranceApplicationTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'insuranceApplicationTemplate':  // {InsuranceApplicationTemplate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationTemplatesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationTemplatesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var insuranceApplicationTemplate = new InsuranceApplicationTemplate(); // InsuranceApplicationTemplate |  (optional) 

            try {
                // Save a new insurance application template
                insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesPost(insuranceApplicationTemplate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationTemplatesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$insuranceApplicationTemplate = ; // InsuranceApplicationTemplate | 

try {
    $result = $api_instance->v1InsuranceApplicationTemplatesPost($insuranceApplicationTemplate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $insuranceApplicationTemplate = WWW::OPenAPIClient::Object::InsuranceApplicationTemplate->new(); # InsuranceApplicationTemplate | 

eval {
    my $result = $api_instance->v1InsuranceApplicationTemplatesPost(insuranceApplicationTemplate => $insuranceApplicationTemplate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
insuranceApplicationTemplate =  # InsuranceApplicationTemplate |  (optional)

try:
    # Save a new insurance application template
    api_response = api_instance.v1_insurance_application_templates_post(insuranceApplicationTemplate=insuranceApplicationTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let insuranceApplicationTemplate = ; // InsuranceApplicationTemplate

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationTemplatesPost(insuranceApplicationTemplate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
insuranceApplicationTemplate

Responses


v1InsuranceApplicationTemplatesPut

Update insurance application template

This updates an insurance application template


/v1/insurance-application-templates

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/insurance-application-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template.
        InsuranceApplicationTemplate insuranceApplicationTemplate = ; // InsuranceApplicationTemplate | 

        try {
            insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesPut(uuid, insuranceApplicationTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the insurance application template.
final InsuranceApplicationTemplate insuranceApplicationTemplate = new InsuranceApplicationTemplate(); // InsuranceApplicationTemplate | 

try {
    final result = await api_instance.v1InsuranceApplicationTemplatesPut(uuid, insuranceApplicationTemplate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template.
        InsuranceApplicationTemplate insuranceApplicationTemplate = ; // InsuranceApplicationTemplate | 

        try {
            insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesPut(uuid, insuranceApplicationTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationTemplatesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the insurance application template. (default to null)
InsuranceApplicationTemplate *insuranceApplicationTemplate = ; //  (optional)

// Update insurance application template
[apiInstance v1InsuranceApplicationTemplatesPutWith:uuid
    insuranceApplicationTemplate:insuranceApplicationTemplate
              completionHandler: ^(insuranceApplicationTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the insurance application template.
var opts = {
  'insuranceApplicationTemplate':  // {InsuranceApplicationTemplate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationTemplatesPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationTemplatesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the insurance application template. (default to null)
            var insuranceApplicationTemplate = new InsuranceApplicationTemplate(); // InsuranceApplicationTemplate |  (optional) 

            try {
                // Update insurance application template
                insuranceApplicationTemplate result = apiInstance.v1InsuranceApplicationTemplatesPut(uuid, insuranceApplicationTemplate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationTemplatesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application template.
$insuranceApplicationTemplate = ; // InsuranceApplicationTemplate | 

try {
    $result = $api_instance->v1InsuranceApplicationTemplatesPut($uuid, $insuranceApplicationTemplate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the insurance application template.
my $insuranceApplicationTemplate = WWW::OPenAPIClient::Object::InsuranceApplicationTemplate->new(); # InsuranceApplicationTemplate | 

eval {
    my $result = $api_instance->v1InsuranceApplicationTemplatesPut(uuid => $uuid, insuranceApplicationTemplate => $insuranceApplicationTemplate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the insurance application template. (default to null)
insuranceApplicationTemplate =  # InsuranceApplicationTemplate |  (optional)

try:
    # Update insurance application template
    api_response = api_instance.v1_insurance_application_templates_put(uuid, insuranceApplicationTemplate=insuranceApplicationTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationTemplatesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let insuranceApplicationTemplate = ; // InsuranceApplicationTemplate

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationTemplatesPut(uuid, insuranceApplicationTemplate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
insuranceApplicationTemplate

Query parameters
NameDescription
uuid*
String
The UUID of the insurance application template.
Required

Responses


v1InsuranceApplicationsDelete

Deletes an insurance application

This deletes an insurance application from the database


/v1/insurance-applications

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/insurance-applications?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application.

        try {
            insuranceApplication result = apiInstance.v1InsuranceApplicationsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the insurance application.

try {
    final result = await api_instance.v1InsuranceApplicationsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application.

        try {
            insuranceApplication result = apiInstance.v1InsuranceApplicationsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the insurance application. (default to null)

// Deletes an insurance application
[apiInstance v1InsuranceApplicationsDeleteWith:uuid
              completionHandler: ^(insuranceApplication output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the insurance application.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the insurance application. (default to null)

            try {
                // Deletes an insurance application
                insuranceApplication result = apiInstance.v1InsuranceApplicationsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application.

try {
    $result = $api_instance->v1InsuranceApplicationsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the insurance application.

eval {
    my $result = $api_instance->v1InsuranceApplicationsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the insurance application. (default to null)

try:
    # Deletes an insurance application
    api_response = api_instance.v1_insurance_applications_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the insurance application.
Required

Responses


v1InsuranceApplicationsGet

Get insurance applications

This returns all insurance applications


/v1/insurance-applications

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/insurance-applications?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application. If not set, the request will return all insurance applications.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[insuranceApplication] result = apiInstance.v1InsuranceApplicationsGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the insurance application. If not set, the request will return all insurance applications.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1InsuranceApplicationsGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application. If not set, the request will return all insurance applications.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[insuranceApplication] result = apiInstance.v1InsuranceApplicationsGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the insurance application. If not set, the request will return all insurance applications. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get insurance applications
[apiInstance v1InsuranceApplicationsGetWith:uuid
    limit:limit
              completionHandler: ^(array[insuranceApplication] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the insurance application. If not set, the request will return all insurance applications.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the insurance application. If not set, the request will return all insurance applications. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get insurance applications
                array[insuranceApplication] result = apiInstance.v1InsuranceApplicationsGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application. If not set, the request will return all insurance applications.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1InsuranceApplicationsGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the insurance application. If not set, the request will return all insurance applications.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1InsuranceApplicationsGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the insurance application. If not set, the request will return all insurance applications. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get insurance applications
    api_response = api_instance.v1_insurance_applications_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationsGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the insurance application. If not set, the request will return all insurance applications.
limit
Integer
How many datasets to return

Responses


v1InsuranceApplicationsPost

Save a new insurance application

This creates a new insurance application in the database


/v1/insurance-applications

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/insurance-applications" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        InsuranceApplication insuranceApplication = ; // InsuranceApplication | 

        try {
            insuranceApplication result = apiInstance.v1InsuranceApplicationsPost(insuranceApplication);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final InsuranceApplication insuranceApplication = new InsuranceApplication(); // InsuranceApplication | 

try {
    final result = await api_instance.v1InsuranceApplicationsPost(insuranceApplication);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        InsuranceApplication insuranceApplication = ; // InsuranceApplication | 

        try {
            insuranceApplication result = apiInstance.v1InsuranceApplicationsPost(insuranceApplication);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
InsuranceApplication *insuranceApplication = ; //  (optional)

// Save a new insurance application
[apiInstance v1InsuranceApplicationsPostWith:insuranceApplication
              completionHandler: ^(insuranceApplication output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'insuranceApplication':  // {InsuranceApplication} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var insuranceApplication = new InsuranceApplication(); // InsuranceApplication |  (optional) 

            try {
                // Save a new insurance application
                insuranceApplication result = apiInstance.v1InsuranceApplicationsPost(insuranceApplication);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$insuranceApplication = ; // InsuranceApplication | 

try {
    $result = $api_instance->v1InsuranceApplicationsPost($insuranceApplication);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $insuranceApplication = WWW::OPenAPIClient::Object::InsuranceApplication->new(); # InsuranceApplication | 

eval {
    my $result = $api_instance->v1InsuranceApplicationsPost(insuranceApplication => $insuranceApplication);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
insuranceApplication =  # InsuranceApplication |  (optional)

try:
    # Save a new insurance application
    api_response = api_instance.v1_insurance_applications_post(insuranceApplication=insuranceApplication)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let insuranceApplication = ; // InsuranceApplication

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationsPost(insuranceApplication, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
insuranceApplication

Responses


v1InsuranceApplicationsPsychologistCreatePost

Generate psychology application pdf document

This generates a psychology application - pdf or png.


/v1/insurance-applications/psychologist-create

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/insurance-applications/psychologist-create?format=png" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String format = png; // String | the format of the psychology application. PDF and PNG are supported. PDF is the default format.
        InsuranceApplication insuranceApplication = ; // InsuranceApplication | 

        try {
            uploadFile result = apiInstance.v1InsuranceApplicationsPsychologistCreatePost(format, insuranceApplication);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsPsychologistCreatePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String format = new String(); // String | the format of the psychology application. PDF and PNG are supported. PDF is the default format.
final InsuranceApplication insuranceApplication = new InsuranceApplication(); // InsuranceApplication | 

try {
    final result = await api_instance.v1InsuranceApplicationsPsychologistCreatePost(format, insuranceApplication);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationsPsychologistCreatePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String format = png; // String | the format of the psychology application. PDF and PNG are supported. PDF is the default format.
        InsuranceApplication insuranceApplication = ; // InsuranceApplication | 

        try {
            uploadFile result = apiInstance.v1InsuranceApplicationsPsychologistCreatePost(format, insuranceApplication);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsPsychologistCreatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *format = png; // the format of the psychology application. PDF and PNG are supported. PDF is the default format. (optional) (default to null)
InsuranceApplication *insuranceApplication = ; //  (optional)

// Generate psychology application pdf document
[apiInstance v1InsuranceApplicationsPsychologistCreatePostWith:format
    insuranceApplication:insuranceApplication
              completionHandler: ^(uploadFile output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'format': png, // {String} the format of the psychology application. PDF and PNG are supported. PDF is the default format.
  'insuranceApplication':  // {InsuranceApplication} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationsPsychologistCreatePost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationsPsychologistCreatePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var format = png;  // String | the format of the psychology application. PDF and PNG are supported. PDF is the default format. (optional)  (default to null)
            var insuranceApplication = new InsuranceApplication(); // InsuranceApplication |  (optional) 

            try {
                // Generate psychology application pdf document
                uploadFile result = apiInstance.v1InsuranceApplicationsPsychologistCreatePost(format, insuranceApplication);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationsPsychologistCreatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$format = png; // String | the format of the psychology application. PDF and PNG are supported. PDF is the default format.
$insuranceApplication = ; // InsuranceApplication | 

try {
    $result = $api_instance->v1InsuranceApplicationsPsychologistCreatePost($format, $insuranceApplication);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationsPsychologistCreatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $format = png; # String | the format of the psychology application. PDF and PNG are supported. PDF is the default format.
my $insuranceApplication = WWW::OPenAPIClient::Object::InsuranceApplication->new(); # InsuranceApplication | 

eval {
    my $result = $api_instance->v1InsuranceApplicationsPsychologistCreatePost(format => $format, insuranceApplication => $insuranceApplication);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationsPsychologistCreatePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
format = png # String | the format of the psychology application. PDF and PNG are supported. PDF is the default format. (optional) (default to null)
insuranceApplication =  # InsuranceApplication |  (optional)

try:
    # Generate psychology application pdf document
    api_response = api_instance.v1_insurance_applications_psychologist_create_post(format=format, insuranceApplication=insuranceApplication)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationsPsychologistCreatePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let format = png; // String
    let insuranceApplication = ; // InsuranceApplication

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationsPsychologistCreatePost(format, insuranceApplication, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
insuranceApplication

Query parameters
NameDescription
format
String
the format of the psychology application. PDF and PNG are supported. PDF is the default format.

Responses


v1InsuranceApplicationsPut

Update insurance application

This updates an insurance application


/v1/insurance-applications

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/insurance-applications?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application.
        InsuranceApplication insuranceApplication = ; // InsuranceApplication | 

        try {
            insuranceApplication result = apiInstance.v1InsuranceApplicationsPut(uuid, insuranceApplication);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the insurance application.
final InsuranceApplication insuranceApplication = new InsuranceApplication(); // InsuranceApplication | 

try {
    final result = await api_instance.v1InsuranceApplicationsPut(uuid, insuranceApplication);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InsuranceApplicationsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application.
        InsuranceApplication insuranceApplication = ; // InsuranceApplication | 

        try {
            insuranceApplication result = apiInstance.v1InsuranceApplicationsPut(uuid, insuranceApplication);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InsuranceApplicationsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the insurance application. (default to null)
InsuranceApplication *insuranceApplication = ; //  (optional)

// Update insurance application
[apiInstance v1InsuranceApplicationsPutWith:uuid
    insuranceApplication:insuranceApplication
              completionHandler: ^(insuranceApplication output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the insurance application.
var opts = {
  'insuranceApplication':  // {InsuranceApplication} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InsuranceApplicationsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InsuranceApplicationsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the insurance application. (default to null)
            var insuranceApplication = new InsuranceApplication(); // InsuranceApplication |  (optional) 

            try {
                // Update insurance application
                insuranceApplication result = apiInstance.v1InsuranceApplicationsPut(uuid, insuranceApplication);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InsuranceApplicationsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the insurance application.
$insuranceApplication = ; // InsuranceApplication | 

try {
    $result = $api_instance->v1InsuranceApplicationsPut($uuid, $insuranceApplication);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InsuranceApplicationsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the insurance application.
my $insuranceApplication = WWW::OPenAPIClient::Object::InsuranceApplication->new(); # InsuranceApplication | 

eval {
    my $result = $api_instance->v1InsuranceApplicationsPut(uuid => $uuid, insuranceApplication => $insuranceApplication);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InsuranceApplicationsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the insurance application. (default to null)
insuranceApplication =  # InsuranceApplication |  (optional)

try:
    # Update insurance application
    api_response = api_instance.v1_insurance_applications_put(uuid, insuranceApplication=insuranceApplication)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InsuranceApplicationsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let insuranceApplication = ; // InsuranceApplication

    let mut context = DefaultApi::Context::default();
    let result = client.v1InsuranceApplicationsPut(uuid, insuranceApplication, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
insuranceApplication

Query parameters
NameDescription
uuid*
String
The UUID of the insurance application.
Required

Responses


v1LoginPost

Authenticate a user against the system.

This call is meant for interactive web applications. Be aware that the server returns a cookie with a 24 hour lifetime.


/v1/login

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json,application/x-www-form-urlencoded" \
 "https://app.psido.at/api/v1/login" \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1LoginPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1LoginPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final User user = new User(); // User | 

try {
    final result = await api_instance.v1LoginPost(user);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1LoginPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1LoginPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1LoginPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
User *user = ; // 

// Authenticate a user against the system.
[apiInstance v1LoginPostWith:user
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var user = ; // {User} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1LoginPost(user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1LoginPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var user = new User(); // User | 

            try {
                // Authenticate a user against the system.
                apiInstance.v1LoginPost(user);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1LoginPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$user = ; // User | 

try {
    $api_instance->v1LoginPost($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1LoginPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $user = WWW::OPenAPIClient::Object::User->new(); # User | 

eval {
    $api_instance->v1LoginPost(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1LoginPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
user =  # User | 

try:
    # Authenticate a user against the system.
    api_instance.v1_login_post(user)
except ApiException as e:
    print("Exception when calling DefaultApi->v1LoginPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let user = ; // User

    let mut context = DefaultApi::Context::default();
    let result = client.v1LoginPost(user, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
user *

Responses

NameTypeFormatDescription
Set-CookieString


v1LoginWithOtpPost

Authenticate a user against the system with the OTP

This call is meant for interactive web applications. Be aware that the server returns a cookie with a 24 hour lifetime.


/v1/login-with-otp

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json,application/x-www-form-urlencoded" \
 "https://app.psido.at/api/v1/login-with-otp" \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1LoginWithOtpPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1LoginWithOtpPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final User user = new User(); // User | 

try {
    final result = await api_instance.v1LoginWithOtpPost(user);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1LoginWithOtpPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1LoginWithOtpPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1LoginWithOtpPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
User *user = ; // 

// Authenticate a user against the system with the OTP
[apiInstance v1LoginWithOtpPostWith:user
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var user = ; // {User} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1LoginWithOtpPost(user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1LoginWithOtpPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var user = new User(); // User | 

            try {
                // Authenticate a user against the system with the OTP
                apiInstance.v1LoginWithOtpPost(user);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1LoginWithOtpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$user = ; // User | 

try {
    $api_instance->v1LoginWithOtpPost($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1LoginWithOtpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $user = WWW::OPenAPIClient::Object::User->new(); # User | 

eval {
    $api_instance->v1LoginWithOtpPost(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1LoginWithOtpPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
user =  # User | 

try:
    # Authenticate a user against the system with the OTP
    api_instance.v1_login_with_otp_post(user)
except ApiException as e:
    print("Exception when calling DefaultApi->v1LoginWithOtpPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let user = ; // User

    let mut context = DefaultApi::Context::default();
    let result = client.v1LoginWithOtpPost(user, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
user *

Responses

NameTypeFormatDescription
Set-CookieString


v1LogoutDelete

Delete the authentication token in the system

Deletes the authentication token in the system


/v1/logout

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/logout"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1LogoutDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1LogoutDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1LogoutDelete();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1LogoutDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1LogoutDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1LogoutDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete the authentication token in the system
[apiInstance v1LogoutDeleteWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1LogoutDelete(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1LogoutDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Delete the authentication token in the system
                apiInstance.v1LogoutDelete();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1LogoutDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1LogoutDelete();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1LogoutDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1LogoutDelete();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1LogoutDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Delete the authentication token in the system
    api_instance.v1_logout_delete()
except ApiException as e:
    print("Exception when calling DefaultApi->v1LogoutDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1LogoutDelete(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1MailersendFlushSuppressionListGet

Flushes the mailersend suppression list.

This is also executed by the batch job every 1 hour.


/v1/mailersend-flush-suppression-list

Usage and SDK Samples

curl -X GET \
 \
 "https://app.psido.at/api/v1/mailersend-flush-suppression-list"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1MailersendFlushSuppressionListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MailersendFlushSuppressionListGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1MailersendFlushSuppressionListGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1MailersendFlushSuppressionListGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1MailersendFlushSuppressionListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MailersendFlushSuppressionListGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Flushes the mailersend suppression list.
[apiInstance v1MailersendFlushSuppressionListGetWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1MailersendFlushSuppressionListGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1MailersendFlushSuppressionListGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Flushes the mailersend suppression list.
                apiInstance.v1MailersendFlushSuppressionListGet();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1MailersendFlushSuppressionListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1MailersendFlushSuppressionListGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1MailersendFlushSuppressionListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1MailersendFlushSuppressionListGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1MailersendFlushSuppressionListGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Flushes the mailersend suppression list.
    api_instance.v1_mailersend_flush_suppression_list_get()
except ApiException as e:
    print("Exception when calling DefaultApi->v1MailersendFlushSuppressionListGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1MailersendFlushSuppressionListGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1NewsiesDelete

Deletes a news item. can only be done by admins.

This deletes a news item. Can only be done by admins.


/v1/newsies

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/newsies?uuid=uuid_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = uuid_example; // String | uuid of the news item

        try {
            apiInstance.v1NewsiesDelete(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | uuid of the news item

try {
    final result = await api_instance.v1NewsiesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1NewsiesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = uuid_example; // String | uuid of the news item

        try {
            apiInstance.v1NewsiesDelete(uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = uuid_example; // uuid of the news item (default to null)

// Deletes a news item. can only be done by admins.
[apiInstance v1NewsiesDeleteWith:uuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = uuid_example; // {String} uuid of the news item

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1NewsiesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1NewsiesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = uuid_example;  // String | uuid of the news item (default to null)

            try {
                // Deletes a news item. can only be done by admins.
                apiInstance.v1NewsiesDelete(uuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1NewsiesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = uuid_example; // String | uuid of the news item

try {
    $api_instance->v1NewsiesDelete($uuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1NewsiesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = uuid_example; # String | uuid of the news item

eval {
    $api_instance->v1NewsiesDelete(uuid => $uuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1NewsiesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = uuid_example # String | uuid of the news item (default to null)

try:
    # Deletes a news item. can only be done by admins.
    api_instance.v1_newsies_delete(uuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1NewsiesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = uuid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1NewsiesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
uuid of the news item
Required

Responses


v1NewsiesGet

Get the news

Returns a list of new news items based on the last time the user has seen the news.


/v1/newsies

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/newsies"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[news] result = apiInstance.v1NewsiesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1NewsiesGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1NewsiesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[news] result = apiInstance.v1NewsiesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the news
[apiInstance v1NewsiesGetWithCompletionHandler: 
              ^(array[news] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1NewsiesGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1NewsiesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Get the news
                array[news] result = apiInstance.v1NewsiesGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1NewsiesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1NewsiesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1NewsiesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1NewsiesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1NewsiesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Get the news
    api_response = api_instance.v1_newsies_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1NewsiesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1NewsiesGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1NewsiesPost

create news item. Can only be done by admins.

This creates a new news item. Can only be done by admins.


/v1/newsies

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/newsies" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        News news = ; // News | 

        try {
            apiInstance.v1NewsiesPost(news);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final News news = new News(); // News | 

try {
    final result = await api_instance.v1NewsiesPost(news);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1NewsiesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        News news = ; // News | 

        try {
            apiInstance.v1NewsiesPost(news);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
News *news = ; // 

// create news item. Can only be done by admins.
[apiInstance v1NewsiesPostWith:news
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var news = ; // {News} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1NewsiesPost(news, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1NewsiesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var news = new News(); // News | 

            try {
                // create news item. Can only be done by admins.
                apiInstance.v1NewsiesPost(news);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1NewsiesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$news = ; // News | 

try {
    $api_instance->v1NewsiesPost($news);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1NewsiesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $news = WWW::OPenAPIClient::Object::News->new(); # News | 

eval {
    $api_instance->v1NewsiesPost(news => $news);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1NewsiesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
news =  # News | 

try:
    # create news item. Can only be done by admins.
    api_instance.v1_newsies_post(news)
except ApiException as e:
    print("Exception when calling DefaultApi->v1NewsiesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let news = ; // News

    let mut context = DefaultApi::Context::default();
    let result = client.v1NewsiesPost(news, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
news *

Responses


v1NewsiesPut

Confirms that the user has seen the news

This updates the last seen news timestamp for the user account. No parameters are needed.


/v1/newsies

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/newsies"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1NewsiesPut();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1NewsiesPut();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1NewsiesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1NewsiesPut();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1NewsiesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Confirms that the user has seen the news
[apiInstance v1NewsiesPutWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1NewsiesPut(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1NewsiesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Confirms that the user has seen the news
                apiInstance.v1NewsiesPut();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1NewsiesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1NewsiesPut();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1NewsiesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1NewsiesPut();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1NewsiesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Confirms that the user has seen the news
    api_instance.v1_newsies_put()
except ApiException as e:
    print("Exception when calling DefaultApi->v1NewsiesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1NewsiesPut(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1PatientsDelete

Deletes a patient

This deletes a patient from the database


/v1/patients

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/patients?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            patient result = apiInstance.v1PatientsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the patient.

try {
    final result = await api_instance.v1PatientsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PatientsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            patient result = apiInstance.v1PatientsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. (default to null)

// Deletes a patient
[apiInstance v1PatientsDeleteWith:uuid
              completionHandler: ^(patient output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PatientsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PatientsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. (default to null)

            try {
                // Deletes a patient
                patient result = apiInstance.v1PatientsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PatientsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

try {
    $result = $api_instance->v1PatientsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PatientsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient.

eval {
    my $result = $api_instance->v1PatientsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PatientsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. (default to null)

try:
    # Deletes a patient
    api_response = api_instance.v1_patients_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PatientsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1PatientsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the patient.
Required

Responses


v1PatientsGet

Get Patient Data

This returns all patients


/v1/patients

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/patients?familyUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&user_id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all patients.
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT

        try {
            array[patient] result = apiInstance.v1PatientsGet(familyUuid, limit, uuid, userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String familyUuid = new String(); // String | The UUID of the family. If not set, the request will return all patients.
final Integer limit = new Integer(); // Integer | How many datasets to return
final String uuid = new String(); // String | The UUID of the patient. If not set, the request will return all patients.
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT

try {
    final result = await api_instance.v1PatientsGet(familyUuid, limit, uuid, userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PatientsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all patients.
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT

        try {
            array[patient] result = apiInstance.v1PatientsGet(familyUuid, limit, uuid, userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the family. If not set, the request will return all patients. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)

// Get Patient Data
[apiInstance v1PatientsGetWith:familyUuid
    limit:limit
    uuid:uuid
    userId:userId
              completionHandler: ^(array[patient] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'familyUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the family. If not set, the request will return all patients.
  'limit': 5, // {Integer} How many datasets to return
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the patient. If not set, the request will return all patients.
  'userId': 1 // {Long} The user_id of the user. Can only be used for users with role == ROOT
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PatientsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PatientsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the family. If not set, the request will return all patients. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. If not set, the request will return all patients. (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)

            try {
                // Get Patient Data
                array[patient] result = apiInstance.v1PatientsGet(familyUuid, limit, uuid, userId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PatientsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all patients.
$limit = 5; // Integer | How many datasets to return
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT

try {
    $result = $api_instance->v1PatientsGet($familyUuid, $limit, $uuid, $userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PatientsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the family. If not set, the request will return all patients.
my $limit = 5; # Integer | How many datasets to return
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. If not set, the request will return all patients.
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT

eval {
    my $result = $api_instance->v1PatientsGet(familyUuid => $familyUuid, limit => $limit, uuid => $uuid, userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PatientsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the family. If not set, the request will return all patients. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)

try:
    # Get Patient Data
    api_response = api_instance.v1_patients_get(familyUuid=familyUuid, limit=limit, uuid=uuid, userId=userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PatientsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let userId = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1PatientsGet(familyUuid, limit, uuid, userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
familyUuid
String
The UUID of the family. If not set, the request will return all patients.
limit
Integer
How many datasets to return
uuid
String
The UUID of the patient. If not set, the request will return all patients.
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT

Responses


v1PatientsPost

Save a new patient

This creates a new patient in the database


/v1/patients

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/patients?noRelationship=true&parentObjectName=family&user_id=123" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        Long userId = 123; // Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell)
        Patient patient = ; // Patient | 

        try {
            patient result = apiInstance.v1PatientsPost(noRelationship, parentObjectName, userId, patient);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean noRelationship = new Boolean(); // Boolean | if the relationship should be created or not
final String parentObjectName = new String(); // String | the name of the parent object
final Long userId = new Long(); // Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell)
final Patient patient = new Patient(); // Patient | 

try {
    final result = await api_instance.v1PatientsPost(noRelationship, parentObjectName, userId, patient);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PatientsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        Long userId = 123; // Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell)
        Patient patient = ; // Patient | 

        try {
            patient result = apiInstance.v1PatientsPost(noRelationship, parentObjectName, userId, patient);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *noRelationship = true; // if the relationship should be created or not (optional) (default to null)
String *parentObjectName = family; // the name of the parent object (optional) (default to null)
Long *userId = 123; // the ID of the user - needs to be set when creating a new patient via a root user (the shell) (optional) (default to null)
Patient *patient = ; //  (optional)

// Save a new patient
[apiInstance v1PatientsPostWith:noRelationship
    parentObjectName:parentObjectName
    userId:userId
    patient:patient
              completionHandler: ^(patient output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'noRelationship': true, // {Boolean} if the relationship should be created or not
  'parentObjectName': family, // {String} the name of the parent object
  'userId': 123, // {Long} the ID of the user - needs to be set when creating a new patient via a root user (the shell)
  'patient':  // {Patient} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PatientsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PatientsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var noRelationship = true;  // Boolean | if the relationship should be created or not (optional)  (default to null)
            var parentObjectName = family;  // String | the name of the parent object (optional)  (default to null)
            var userId = 123;  // Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell) (optional)  (default to null)
            var patient = new Patient(); // Patient |  (optional) 

            try {
                // Save a new patient
                patient result = apiInstance.v1PatientsPost(noRelationship, parentObjectName, userId, patient);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PatientsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$noRelationship = true; // Boolean | if the relationship should be created or not
$parentObjectName = family; // String | the name of the parent object
$userId = 123; // Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell)
$patient = ; // Patient | 

try {
    $result = $api_instance->v1PatientsPost($noRelationship, $parentObjectName, $userId, $patient);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PatientsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $noRelationship = true; # Boolean | if the relationship should be created or not
my $parentObjectName = family; # String | the name of the parent object
my $userId = 123; # Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell)
my $patient = WWW::OPenAPIClient::Object::Patient->new(); # Patient | 

eval {
    my $result = $api_instance->v1PatientsPost(noRelationship => $noRelationship, parentObjectName => $parentObjectName, userId => $userId, patient => $patient);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PatientsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
noRelationship = true # Boolean | if the relationship should be created or not (optional) (default to null)
parentObjectName = family # String | the name of the parent object (optional) (default to null)
userId = 123 # Long | the ID of the user - needs to be set when creating a new patient via a root user (the shell) (optional) (default to null)
patient =  # Patient |  (optional)

try:
    # Save a new patient
    api_response = api_instance.v1_patients_post(noRelationship=noRelationship, parentObjectName=parentObjectName, userId=userId, patient=patient)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PatientsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let noRelationship = true; // Boolean
    let parentObjectName = family; // String
    let userId = 123; // Long
    let patient = ; // Patient

    let mut context = DefaultApi::Context::default();
    let result = client.v1PatientsPost(noRelationship, parentObjectName, userId, patient, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
patient

Query parameters
NameDescription
noRelationship
Boolean
if the relationship should be created or not
parentObjectName
String
the name of the parent object
user_id
Long (int64)
the ID of the user - needs to be set when creating a new patient via a root user (the shell)

Responses


v1PatientsPut

Update Patient Data

This updates a patient


/v1/patients

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/patients?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.
        Patient patient = ; // Patient | 

        try {
            patient result = apiInstance.v1PatientsPut(uuid, patient);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the patient. If not set, the request will return all patients.
final Patient patient = new Patient(); // Patient | 

try {
    final result = await api_instance.v1PatientsPut(uuid, patient);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PatientsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.
        Patient patient = ; // Patient | 

        try {
            patient result = apiInstance.v1PatientsPut(uuid, patient);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)
Patient *patient = ; //  (optional)

// Update Patient Data
[apiInstance v1PatientsPutWith:uuid
    patient:patient
              completionHandler: ^(patient output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the patient. If not set, the request will return all patients.
  'patient':  // {Patient} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PatientsPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PatientsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. If not set, the request will return all patients. (optional)  (default to null)
            var patient = new Patient(); // Patient |  (optional) 

            try {
                // Update Patient Data
                patient result = apiInstance.v1PatientsPut(uuid, patient);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PatientsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.
$patient = ; // Patient | 

try {
    $result = $api_instance->v1PatientsPut($uuid, $patient);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PatientsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. If not set, the request will return all patients.
my $patient = WWW::OPenAPIClient::Object::Patient->new(); # Patient | 

eval {
    my $result = $api_instance->v1PatientsPut(uuid => $uuid, patient => $patient);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PatientsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)
patient =  # Patient |  (optional)

try:
    # Update Patient Data
    api_response = api_instance.v1_patients_put(uuid=uuid, patient=patient)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PatientsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let patient = ; // Patient

    let mut context = DefaultApi::Context::default();
    let result = client.v1PatientsPut(uuid, patient, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
patient

Query parameters
NameDescription
uuid
String
The UUID of the patient. If not set, the request will return all patients.

Responses


v1PatientsSelfServicePost

Send an e-mail to a patient for self-service stuff.

This sends an e-mail to a patient so they can fill out their own data.


/v1/patients/self-service

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/patients/self-service" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Patient patient = ; // Patient | 

        try {
            apiInstance.v1PatientsSelfServicePost(patient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsSelfServicePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Patient patient = new Patient(); // Patient | 

try {
    final result = await api_instance.v1PatientsSelfServicePost(patient);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PatientsSelfServicePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Patient patient = ; // Patient | 

        try {
            apiInstance.v1PatientsSelfServicePost(patient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PatientsSelfServicePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Patient *patient = ; //  (optional)

// Send an e-mail to a patient for self-service stuff.
[apiInstance v1PatientsSelfServicePostWith:patient
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'patient':  // {Patient} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1PatientsSelfServicePost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PatientsSelfServicePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patient = new Patient(); // Patient |  (optional) 

            try {
                // Send an e-mail to a patient for self-service stuff.
                apiInstance.v1PatientsSelfServicePost(patient);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PatientsSelfServicePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patient = ; // Patient | 

try {
    $api_instance->v1PatientsSelfServicePost($patient);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PatientsSelfServicePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patient = WWW::OPenAPIClient::Object::Patient->new(); # Patient | 

eval {
    $api_instance->v1PatientsSelfServicePost(patient => $patient);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PatientsSelfServicePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patient =  # Patient |  (optional)

try:
    # Send an e-mail to a patient for self-service stuff.
    api_instance.v1_patients_self_service_post(patient=patient)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PatientsSelfServicePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patient = ; // Patient

    let mut context = DefaultApi::Context::default();
    let result = client.v1PatientsSelfServicePost(patient, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
patient

Responses


v1PreferencesGet

Get Preference Data

This returns all preferences


/v1/preferences

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/preferences?user_id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | The user id that we need to update the preference for. This can only be called by a root user.

        try {
            preference result = apiInstance.v1PreferencesGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PreferencesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userId = new Long(); // Long | The user id that we need to update the preference for. This can only be called by a root user.

try {
    final result = await api_instance.v1PreferencesGet(userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PreferencesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | The user id that we need to update the preference for. This can only be called by a root user.

        try {
            preference result = apiInstance.v1PreferencesGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PreferencesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userId = 1; // The user id that we need to update the preference for. This can only be called by a root user. (default to null)

// Get Preference Data
[apiInstance v1PreferencesGetWith:userId
              completionHandler: ^(preference output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var userId = 1; // {Long} The user id that we need to update the preference for. This can only be called by a root user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PreferencesGet(userId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PreferencesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userId = 1;  // Long | The user id that we need to update the preference for. This can only be called by a root user. (default to null)

            try {
                // Get Preference Data
                preference result = apiInstance.v1PreferencesGet(userId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PreferencesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userId = 1; // Long | The user id that we need to update the preference for. This can only be called by a root user.

try {
    $result = $api_instance->v1PreferencesGet($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PreferencesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userId = 1; # Long | The user id that we need to update the preference for. This can only be called by a root user.

eval {
    my $result = $api_instance->v1PreferencesGet(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PreferencesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userId = 1 # Long | The user id that we need to update the preference for. This can only be called by a root user. (default to null)

try:
    # Get Preference Data
    api_response = api_instance.v1_preferences_get(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PreferencesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userId = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1PreferencesGet(userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
user_id*
Long (int64)
The user id that we need to update the preference for. This can only be called by a root user.
Required

Responses


v1PreferencesPut

Update Preference Data

This updates a preference


/v1/preferences

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/preferences?value=calendarVisibleInMenu&name=calendarVisibleInMenu&user_id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String value = calendarVisibleInMenu; // String | The value of the preference.
        String name = calendarVisibleInMenu; // String | The name of the preference.
        Long userId = 1; // Long | The user id that we need to update the preference for. This can only be called by a root user.

        try {
            apiInstance.v1PreferencesPut(value, name, userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PreferencesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String value = new String(); // String | The value of the preference.
final String name = new String(); // String | The name of the preference.
final Long userId = new Long(); // Long | The user id that we need to update the preference for. This can only be called by a root user.

try {
    final result = await api_instance.v1PreferencesPut(value, name, userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PreferencesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String value = calendarVisibleInMenu; // String | The value of the preference.
        String name = calendarVisibleInMenu; // String | The name of the preference.
        Long userId = 1; // Long | The user id that we need to update the preference for. This can only be called by a root user.

        try {
            apiInstance.v1PreferencesPut(value, name, userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PreferencesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *value = calendarVisibleInMenu; // The value of the preference. (default to null)
String *name = calendarVisibleInMenu; // The name of the preference. (default to null)
Long *userId = 1; // The user id that we need to update the preference for. This can only be called by a root user. (default to null)

// Update Preference Data
[apiInstance v1PreferencesPutWith:value
    name:name
    userId:userId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var value = calendarVisibleInMenu; // {String} The value of the preference.
var name = calendarVisibleInMenu; // {String} The name of the preference.
var userId = 1; // {Long} The user id that we need to update the preference for. This can only be called by a root user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1PreferencesPut(value, name, userId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PreferencesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var value = calendarVisibleInMenu;  // String | The value of the preference. (default to null)
            var name = calendarVisibleInMenu;  // String | The name of the preference. (default to null)
            var userId = 1;  // Long | The user id that we need to update the preference for. This can only be called by a root user. (default to null)

            try {
                // Update Preference Data
                apiInstance.v1PreferencesPut(value, name, userId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PreferencesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$value = calendarVisibleInMenu; // String | The value of the preference.
$name = calendarVisibleInMenu; // String | The name of the preference.
$userId = 1; // Long | The user id that we need to update the preference for. This can only be called by a root user.

try {
    $api_instance->v1PreferencesPut($value, $name, $userId);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PreferencesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $value = calendarVisibleInMenu; # String | The value of the preference.
my $name = calendarVisibleInMenu; # String | The name of the preference.
my $userId = 1; # Long | The user id that we need to update the preference for. This can only be called by a root user.

eval {
    $api_instance->v1PreferencesPut(value => $value, name => $name, userId => $userId);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PreferencesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
value = calendarVisibleInMenu # String | The value of the preference. (default to null)
name = calendarVisibleInMenu # String | The name of the preference. (default to null)
userId = 1 # Long | The user id that we need to update the preference for. This can only be called by a root user. (default to null)

try:
    # Update Preference Data
    api_instance.v1_preferences_put(value, name, userId)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PreferencesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let value = calendarVisibleInMenu; // String
    let name = calendarVisibleInMenu; // String
    let userId = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1PreferencesPut(value, name, userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
value*
String
The value of the preference.
Required
name*
String
The name of the preference.
Required
user_id*
Long (int64)
The user id that we need to update the preference for. This can only be called by a root user.
Required

Responses


v1ProceduresDelete

Deletes an procedure

This deletes a procedure from the database


/v1/procedures

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/procedures?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure.

        try {
            procedure result = apiInstance.v1ProceduresDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the procedure.

try {
    final result = await api_instance.v1ProceduresDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProceduresDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure.

        try {
            procedure result = apiInstance.v1ProceduresDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the procedure. (default to null)

// Deletes an procedure
[apiInstance v1ProceduresDeleteWith:uuid
              completionHandler: ^(procedure output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the procedure.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ProceduresDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProceduresDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the procedure. (default to null)

            try {
                // Deletes an procedure
                procedure result = apiInstance.v1ProceduresDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProceduresDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure.

try {
    $result = $api_instance->v1ProceduresDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProceduresDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the procedure.

eval {
    my $result = $api_instance->v1ProceduresDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProceduresDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the procedure. (default to null)

try:
    # Deletes an procedure
    api_response = api_instance.v1_procedures_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProceduresDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProceduresDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the procedure.
Required

Responses


v1ProceduresGet

Get procedures

This returns all procedures


/v1/procedures

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/procedures?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure. If not set, the request will return all procedures.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[procedure] result = apiInstance.v1ProceduresGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the procedure. If not set, the request will return all procedures.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1ProceduresGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProceduresGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure. If not set, the request will return all procedures.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[procedure] result = apiInstance.v1ProceduresGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the procedure. If not set, the request will return all procedures. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get procedures
[apiInstance v1ProceduresGetWith:uuid
    limit:limit
              completionHandler: ^(array[procedure] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the procedure. If not set, the request will return all procedures.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ProceduresGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProceduresGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the procedure. If not set, the request will return all procedures. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get procedures
                array[procedure] result = apiInstance.v1ProceduresGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProceduresGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure. If not set, the request will return all procedures.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1ProceduresGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProceduresGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the procedure. If not set, the request will return all procedures.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1ProceduresGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProceduresGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the procedure. If not set, the request will return all procedures. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get procedures
    api_response = api_instance.v1_procedures_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProceduresGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProceduresGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the procedure. If not set, the request will return all procedures.
limit
Integer
How many datasets to return

Responses


v1ProceduresPost

Save a new procedure

This creates a new procedure in the database


/v1/procedures

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/procedures" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Procedure procedure = ; // Procedure | 

        try {
            procedure result = apiInstance.v1ProceduresPost(procedure);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Procedure procedure = new Procedure(); // Procedure | 

try {
    final result = await api_instance.v1ProceduresPost(procedure);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProceduresPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Procedure procedure = ; // Procedure | 

        try {
            procedure result = apiInstance.v1ProceduresPost(procedure);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Procedure *procedure = ; //  (optional)

// Save a new procedure
[apiInstance v1ProceduresPostWith:procedure
              completionHandler: ^(procedure output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'procedure':  // {Procedure} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ProceduresPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProceduresPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var procedure = new Procedure(); // Procedure |  (optional) 

            try {
                // Save a new procedure
                procedure result = apiInstance.v1ProceduresPost(procedure);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProceduresPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$procedure = ; // Procedure | 

try {
    $result = $api_instance->v1ProceduresPost($procedure);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProceduresPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $procedure = WWW::OPenAPIClient::Object::Procedure->new(); # Procedure | 

eval {
    my $result = $api_instance->v1ProceduresPost(procedure => $procedure);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProceduresPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
procedure =  # Procedure |  (optional)

try:
    # Save a new procedure
    api_response = api_instance.v1_procedures_post(procedure=procedure)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProceduresPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let procedure = ; // Procedure

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProceduresPost(procedure, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
procedure

Responses


v1ProceduresPut

Update procedure

This updates an procedure


/v1/procedures

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/procedures?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure.
        Procedure procedure = ; // Procedure | 

        try {
            procedure result = apiInstance.v1ProceduresPut(uuid, procedure);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the procedure.
final Procedure procedure = new Procedure(); // Procedure | 

try {
    final result = await api_instance.v1ProceduresPut(uuid, procedure);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProceduresPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure.
        Procedure procedure = ; // Procedure | 

        try {
            procedure result = apiInstance.v1ProceduresPut(uuid, procedure);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProceduresPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the procedure. (default to null)
Procedure *procedure = ; //  (optional)

// Update procedure
[apiInstance v1ProceduresPutWith:uuid
    procedure:procedure
              completionHandler: ^(procedure output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the procedure.
var opts = {
  'procedure':  // {Procedure} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ProceduresPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProceduresPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the procedure. (default to null)
            var procedure = new Procedure(); // Procedure |  (optional) 

            try {
                // Update procedure
                procedure result = apiInstance.v1ProceduresPut(uuid, procedure);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProceduresPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the procedure.
$procedure = ; // Procedure | 

try {
    $result = $api_instance->v1ProceduresPut($uuid, $procedure);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProceduresPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the procedure.
my $procedure = WWW::OPenAPIClient::Object::Procedure->new(); # Procedure | 

eval {
    my $result = $api_instance->v1ProceduresPut(uuid => $uuid, procedure => $procedure);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProceduresPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the procedure. (default to null)
procedure =  # Procedure |  (optional)

try:
    # Update procedure
    api_response = api_instance.v1_procedures_put(uuid, procedure=procedure)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProceduresPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let procedure = ; // Procedure

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProceduresPut(uuid, procedure, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
procedure

Query parameters
NameDescription
uuid*
String
The UUID of the procedure.
Required

Responses


v1PsidocustomerbillsDelete

delte a customerbill

deletes a customerbill.


/v1/psidocustomerbills

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/psidocustomerbills?dryrun=true&bill_number=2023053001" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        Long billNumber = 2023053001; // Long | the bill number
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1PsidocustomerbillsDelete(dryrun, billNumber, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't update the bill.
final Long billNumber = new Long(); // Long | the bill number
final PsidoCustomerBill psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill | 

try {
    final result = await api_instance.v1PsidocustomerbillsDelete(dryrun, billNumber, psidoCustomerBill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        Long billNumber = 2023053001; // Long | the bill number
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1PsidocustomerbillsDelete(dryrun, billNumber, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't update the bill. (optional) (default to null)
Long *billNumber = 2023053001; // the bill number (optional) (default to null)
PsidoCustomerBill *psidoCustomerBill = ; //  (optional)

// delte a customerbill
[apiInstance v1PsidocustomerbillsDeleteWith:dryrun
    billNumber:billNumber
    psidoCustomerBill:psidoCustomerBill
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true, // {Boolean} Do a dry-run and don't update the bill.
  'billNumber': 2023053001, // {Long} the bill number
  'psidoCustomerBill':  // {PsidoCustomerBill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1PsidocustomerbillsDelete(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't update the bill. (optional)  (default to null)
            var billNumber = 2023053001;  // Long | the bill number (optional)  (default to null)
            var psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill |  (optional) 

            try {
                // delte a customerbill
                apiInstance.v1PsidocustomerbillsDelete(dryrun, billNumber, psidoCustomerBill);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't update the bill.
$billNumber = 2023053001; // Long | the bill number
$psidoCustomerBill = ; // PsidoCustomerBill | 

try {
    $api_instance->v1PsidocustomerbillsDelete($dryrun, $billNumber, $psidoCustomerBill);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't update the bill.
my $billNumber = 2023053001; # Long | the bill number
my $psidoCustomerBill = WWW::OPenAPIClient::Object::PsidoCustomerBill->new(); # PsidoCustomerBill | 

eval {
    $api_instance->v1PsidocustomerbillsDelete(dryrun => $dryrun, billNumber => $billNumber, psidoCustomerBill => $psidoCustomerBill);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't update the bill. (optional) (default to null)
billNumber = 2023053001 # Long | the bill number (optional) (default to null)
psidoCustomerBill =  # PsidoCustomerBill |  (optional)

try:
    # delte a customerbill
    api_instance.v1_psidocustomerbills_delete(dryrun=dryrun, billNumber=billNumber, psidoCustomerBill=psidoCustomerBill)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean
    let billNumber = 2023053001; // Long
    let psidoCustomerBill = ; // PsidoCustomerBill

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsDelete(dryrun, billNumber, psidoCustomerBill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
psidoCustomerBill

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't update the bill.
bill_number
Long (int64)
the bill number

Responses


v1PsidocustomerbillsGet

get a customerbill according to a certain criteria in the query string.

sends customerbills. requires bill_number or any other criteria.


/v1/psidocustomerbills

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/psidocustomerbills?user_id=1&bill_number=2023053001&id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | the user id - returns the latest bill for a user id
        Long billNumber = 2023053001; // Long | the bill number
        Long id = 1; // Long | the id of the db entry

        try {
            psidoCustomerBill result = apiInstance.v1PsidocustomerbillsGet(userId, billNumber, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userId = new Long(); // Long | the user id - returns the latest bill for a user id
final Long billNumber = new Long(); // Long | the bill number
final Long id = new Long(); // Long | the id of the db entry

try {
    final result = await api_instance.v1PsidocustomerbillsGet(userId, billNumber, id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | the user id - returns the latest bill for a user id
        Long billNumber = 2023053001; // Long | the bill number
        Long id = 1; // Long | the id of the db entry

        try {
            psidoCustomerBill result = apiInstance.v1PsidocustomerbillsGet(userId, billNumber, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userId = 1; // the user id - returns the latest bill for a user id (optional) (default to null)
Long *billNumber = 2023053001; // the bill number (optional) (default to null)
Long *id = 1; // the id of the db entry (optional) (default to null)

// get a customerbill according to a certain criteria in the query string.
[apiInstance v1PsidocustomerbillsGetWith:userId
    billNumber:billNumber
    id:id
              completionHandler: ^(psidoCustomerBill output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'userId': 1, // {Long} the user id - returns the latest bill for a user id
  'billNumber': 2023053001, // {Long} the bill number
  'id': 1 // {Long} the id of the db entry
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PsidocustomerbillsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userId = 1;  // Long | the user id - returns the latest bill for a user id (optional)  (default to null)
            var billNumber = 2023053001;  // Long | the bill number (optional)  (default to null)
            var id = 1;  // Long | the id of the db entry (optional)  (default to null)

            try {
                // get a customerbill according to a certain criteria in the query string.
                psidoCustomerBill result = apiInstance.v1PsidocustomerbillsGet(userId, billNumber, id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userId = 1; // Long | the user id - returns the latest bill for a user id
$billNumber = 2023053001; // Long | the bill number
$id = 1; // Long | the id of the db entry

try {
    $result = $api_instance->v1PsidocustomerbillsGet($userId, $billNumber, $id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userId = 1; # Long | the user id - returns the latest bill for a user id
my $billNumber = 2023053001; # Long | the bill number
my $id = 1; # Long | the id of the db entry

eval {
    my $result = $api_instance->v1PsidocustomerbillsGet(userId => $userId, billNumber => $billNumber, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userId = 1 # Long | the user id - returns the latest bill for a user id (optional) (default to null)
billNumber = 2023053001 # Long | the bill number (optional) (default to null)
id = 1 # Long | the id of the db entry (optional) (default to null)

try:
    # get a customerbill according to a certain criteria in the query string.
    api_response = api_instance.v1_psidocustomerbills_get(userId=userId, billNumber=billNumber, id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userId = 1; // Long
    let billNumber = 2023053001; // Long
    let id = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsGet(userId, billNumber, id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
user_id
Long (int64)
the user id - returns the latest bill for a user id
bill_number
Long (int64)
the bill number
id
Long (int64)
the id of the db entry

Responses


v1PsidocustomerbillsListGet

get all customerbills

sends all customerbills back to the user.


/v1/psidocustomerbills/list

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/psidocustomerbills/list?user_id=10"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 10; // Long | the user id - returns the latest bill for a user id

        try {
            psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsListGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsListGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userId = new Long(); // Long | the user id - returns the latest bill for a user id

try {
    final result = await api_instance.v1PsidocustomerbillsListGet(userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsListGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 10; // Long | the user id - returns the latest bill for a user id

        try {
            psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsListGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsListGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userId = 10; // the user id - returns the latest bill for a user id (optional) (default to null)

// get all customerbills
[apiInstance v1PsidocustomerbillsListGetWith:userId
              completionHandler: ^(psidoCustomerBillRunResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'userId': 10 // {Long} the user id - returns the latest bill for a user id
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PsidocustomerbillsListGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsListGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userId = 10;  // Long | the user id - returns the latest bill for a user id (optional)  (default to null)

            try {
                // get all customerbills
                psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsListGet(userId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userId = 10; // Long | the user id - returns the latest bill for a user id

try {
    $result = $api_instance->v1PsidocustomerbillsListGet($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userId = 10; # Long | the user id - returns the latest bill for a user id

eval {
    my $result = $api_instance->v1PsidocustomerbillsListGet(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsListGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userId = 10 # Long | the user id - returns the latest bill for a user id (optional) (default to null)

try:
    # get all customerbills
    api_response = api_instance.v1_psidocustomerbills_list_get(userId=userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsListGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userId = 10; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsListGet(userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
user_id
Long (int64)
the user id - returns the latest bill for a user id

Responses


v1PsidocustomerbillsLockuserswithunpaidbillsPost

Lock users who haven't paid their bills.

This locks users who haven't paid their bills.


/v1/psidocustomerbills/lockuserswithunpaidbills

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/psidocustomerbills/lockuserswithunpaidbills?dryrun=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't lock or notify any users.

        try {
            psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsLockuserswithunpaidbillsPost(dryrun);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsLockuserswithunpaidbillsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't lock or notify any users.

try {
    final result = await api_instance.v1PsidocustomerbillsLockuserswithunpaidbillsPost(dryrun);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsLockuserswithunpaidbillsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't lock or notify any users.

        try {
            psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsLockuserswithunpaidbillsPost(dryrun);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsLockuserswithunpaidbillsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't lock or notify any users. (optional) (default to null)

// Lock users who haven't paid their bills.
[apiInstance v1PsidocustomerbillsLockuserswithunpaidbillsPostWith:dryrun
              completionHandler: ^(psidoCustomerBillRunResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true // {Boolean} Do a dry-run and don't lock or notify any users.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PsidocustomerbillsLockuserswithunpaidbillsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsLockuserswithunpaidbillsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't lock or notify any users. (optional)  (default to null)

            try {
                // Lock users who haven't paid their bills.
                psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsLockuserswithunpaidbillsPost(dryrun);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsLockuserswithunpaidbillsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't lock or notify any users.

try {
    $result = $api_instance->v1PsidocustomerbillsLockuserswithunpaidbillsPost($dryrun);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsLockuserswithunpaidbillsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't lock or notify any users.

eval {
    my $result = $api_instance->v1PsidocustomerbillsLockuserswithunpaidbillsPost(dryrun => $dryrun);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsLockuserswithunpaidbillsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't lock or notify any users. (optional) (default to null)

try:
    # Lock users who haven't paid their bills.
    api_response = api_instance.v1_psidocustomerbills_lockuserswithunpaidbills_post(dryrun=dryrun)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsLockuserswithunpaidbillsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsLockuserswithunpaidbillsPost(dryrun, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't lock or notify any users.

Responses


v1PsidocustomerbillsPdfGet

get pdf file

sends the pdf back


/v1/psidocustomerbills/pdf

Usage and SDK Samples

curl -X GET \
 \
 "https://app.psido.at/api/v1/psidocustomerbills/pdf?bill_number=202305300001®enerate=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long billNumber = 202305300001; // Long | the bill number
        Boolean regenerate = true; // Boolean | regenerate the pdf file

        try {
            apiInstance.v1PsidocustomerbillsPdfGet(billNumber, regenerate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsPdfGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long billNumber = new Long(); // Long | the bill number
final Boolean regenerate = new Boolean(); // Boolean | regenerate the pdf file

try {
    final result = await api_instance.v1PsidocustomerbillsPdfGet(billNumber, regenerate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsPdfGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long billNumber = 202305300001; // Long | the bill number
        Boolean regenerate = true; // Boolean | regenerate the pdf file

        try {
            apiInstance.v1PsidocustomerbillsPdfGet(billNumber, regenerate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsPdfGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *billNumber = 202305300001; // the bill number (default to null)
Boolean *regenerate = true; // regenerate the pdf file (optional) (default to null)

// get pdf file
[apiInstance v1PsidocustomerbillsPdfGetWith:billNumber
    regenerate:regenerate
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var billNumber = 202305300001; // {Long} the bill number
var opts = {
  'regenerate': true // {Boolean} regenerate the pdf file
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1PsidocustomerbillsPdfGet(billNumber, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsPdfGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var billNumber = 202305300001;  // Long | the bill number (default to null)
            var regenerate = true;  // Boolean | regenerate the pdf file (optional)  (default to null)

            try {
                // get pdf file
                apiInstance.v1PsidocustomerbillsPdfGet(billNumber, regenerate);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsPdfGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$billNumber = 202305300001; // Long | the bill number
$regenerate = true; // Boolean | regenerate the pdf file

try {
    $api_instance->v1PsidocustomerbillsPdfGet($billNumber, $regenerate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsPdfGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $billNumber = 202305300001; # Long | the bill number
my $regenerate = true; # Boolean | regenerate the pdf file

eval {
    $api_instance->v1PsidocustomerbillsPdfGet(billNumber => $billNumber, regenerate => $regenerate);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsPdfGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
billNumber = 202305300001 # Long | the bill number (default to null)
regenerate = true # Boolean | regenerate the pdf file (optional) (default to null)

try:
    # get pdf file
    api_instance.v1_psidocustomerbills_pdf_get(billNumber, regenerate=regenerate)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsPdfGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let billNumber = 202305300001; // Long
    let regenerate = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsPdfGet(billNumber, regenerate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
bill_number*
Long (int64)
the bill number
Required
regenerate
Boolean
regenerate the pdf file

Responses


v1PsidocustomerbillsPut

update a customerbill according to a certain criteria in the query string.

updates customerbills. requires bill object that you can get with the get call.


/v1/psidocustomerbills

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/psidocustomerbills?dryrun=true" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1PsidocustomerbillsPut(dryrun, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't update the bill.
final PsidoCustomerBill psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill | 

try {
    final result = await api_instance.v1PsidocustomerbillsPut(dryrun, psidoCustomerBill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't update the bill.
        PsidoCustomerBill psidoCustomerBill = ; // PsidoCustomerBill | 

        try {
            apiInstance.v1PsidocustomerbillsPut(dryrun, psidoCustomerBill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't update the bill. (optional) (default to null)
PsidoCustomerBill *psidoCustomerBill = ; //  (optional)

// update a customerbill according to a certain criteria in the query string.
[apiInstance v1PsidocustomerbillsPutWith:dryrun
    psidoCustomerBill:psidoCustomerBill
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true, // {Boolean} Do a dry-run and don't update the bill.
  'psidoCustomerBill':  // {PsidoCustomerBill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1PsidocustomerbillsPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't update the bill. (optional)  (default to null)
            var psidoCustomerBill = new PsidoCustomerBill(); // PsidoCustomerBill |  (optional) 

            try {
                // update a customerbill according to a certain criteria in the query string.
                apiInstance.v1PsidocustomerbillsPut(dryrun, psidoCustomerBill);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't update the bill.
$psidoCustomerBill = ; // PsidoCustomerBill | 

try {
    $api_instance->v1PsidocustomerbillsPut($dryrun, $psidoCustomerBill);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't update the bill.
my $psidoCustomerBill = WWW::OPenAPIClient::Object::PsidoCustomerBill->new(); # PsidoCustomerBill | 

eval {
    $api_instance->v1PsidocustomerbillsPut(dryrun => $dryrun, psidoCustomerBill => $psidoCustomerBill);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't update the bill. (optional) (default to null)
psidoCustomerBill =  # PsidoCustomerBill |  (optional)

try:
    # update a customerbill according to a certain criteria in the query string.
    api_instance.v1_psidocustomerbills_put(dryrun=dryrun, psidoCustomerBill=psidoCustomerBill)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean
    let psidoCustomerBill = ; // PsidoCustomerBill

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsPut(dryrun, psidoCustomerBill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
psidoCustomerBill

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't update the bill.

Responses


v1PsidocustomerbillsRunPost

Create new outstanding customerbills.

This is a process that can be repeated as many times as someone wants. it will find customers who didn't get a bill yet and will create one for the cusomters. the dryrun parameter does a dry-run and doesn't create the bills.


/v1/psidocustomerbills/run

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/psidocustomerbills/run?dryrun=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.

        try {
            psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsRunPost(dryrun);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsRunPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.

try {
    final result = await api_instance.v1PsidocustomerbillsRunPost(dryrun);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PsidocustomerbillsRunPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.

        try {
            psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsRunPost(dryrun);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PsidocustomerbillsRunPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created. (optional) (default to null)

// Create new outstanding customerbills.
[apiInstance v1PsidocustomerbillsRunPostWith:dryrun
              completionHandler: ^(psidoCustomerBillRunResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true // {Boolean} Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PsidocustomerbillsRunPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PsidocustomerbillsRunPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created. (optional)  (default to null)

            try {
                // Create new outstanding customerbills.
                psidoCustomerBillRunResponse result = apiInstance.v1PsidocustomerbillsRunPost(dryrun);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PsidocustomerbillsRunPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.

try {
    $result = $api_instance->v1PsidocustomerbillsRunPost($dryrun);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PsidocustomerbillsRunPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.

eval {
    my $result = $api_instance->v1PsidocustomerbillsRunPost(dryrun => $dryrun);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PsidocustomerbillsRunPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created. (optional) (default to null)

try:
    # Create new outstanding customerbills.
    api_response = api_instance.v1_psidocustomerbills_run_post(dryrun=dryrun)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PsidocustomerbillsRunPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.v1PsidocustomerbillsRunPost(dryrun, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't create any actual bills. returns a summary of bills that would have been created.

Responses


v1PublicPatientsGet

Get Patient Data

This returns a patient - this is a public endpoint that is not authenticated, the UUID is the identifier, and the patient needs to have the field editableInPublic set. Only contact fields are transported to the user to not expose any sensitive information.


/v1/public/patients

Usage and SDK Samples

curl -X GET \
 \
-H "token: [[apiKey]]" \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/public/patients?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            patient result = apiInstance.v1PublicPatientsGet(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PublicPatientsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the patient.

try {
    final result = await api_instance.v1PublicPatientsGet(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PublicPatientsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            patient result = apiInstance.v1PublicPatientsGet(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PublicPatientsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];

// Configure API key authorization: (authentication scheme: ApiKeyAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. (default to null)

// Get Patient Data
[apiInstance v1PublicPatientsGetWith:uuid
              completionHandler: ^(patient output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PublicPatientsGet(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PublicPatientsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");
            // Configure API key authorization: ApiKeyAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. (default to null)

            try {
                // Get Patient Data
                patient result = apiInstance.v1PublicPatientsGet(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PublicPatientsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: ApiKeyAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

try {
    $result = $api_instance->v1PublicPatientsGet($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PublicPatientsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Configure API key authorization: ApiKeyAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient.

eval {
    my $result = $api_instance->v1PublicPatientsGet(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PublicPatientsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Configure API key authorization: ApiKeyAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. (default to null)

try:
    # Get Patient Data
    api_response = api_instance.v1_public_patients_get(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PublicPatientsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1PublicPatientsGet(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the patient.
Required

Responses


v1PublicPatientsPut

Update Patient Data on the public endpoint. The uuid is the key here and editableInPublic needs to be true, otherwise we refuse to work with the patient data.

This updates a patient


/v1/public/patients

Usage and SDK Samples

curl -X PUT \
 \
-H "token: [[apiKey]]" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/public/patients" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Patient patient = ; // Patient | 

        try {
            apiInstance.v1PublicPatientsPut(patient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PublicPatientsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Patient patient = new Patient(); // Patient | 

try {
    final result = await api_instance.v1PublicPatientsPut(patient);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PublicPatientsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Patient patient = ; // Patient | 

        try {
            apiInstance.v1PublicPatientsPut(patient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PublicPatientsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];

// Configure API key authorization: (authentication scheme: ApiKeyAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Patient *patient = ; //  (optional)

// Update Patient Data on the public endpoint. The uuid is the key here and editableInPublic needs to be true, otherwise we refuse to work with the patient data.
[apiInstance v1PublicPatientsPutWith:patient
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'patient':  // {Patient} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1PublicPatientsPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PublicPatientsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");
            // Configure API key authorization: ApiKeyAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patient = new Patient(); // Patient |  (optional) 

            try {
                // Update Patient Data on the public endpoint. The uuid is the key here and editableInPublic needs to be true, otherwise we refuse to work with the patient data.
                apiInstance.v1PublicPatientsPut(patient);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PublicPatientsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: ApiKeyAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patient = ; // Patient | 

try {
    $api_instance->v1PublicPatientsPut($patient);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PublicPatientsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Configure API key authorization: ApiKeyAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patient = WWW::OPenAPIClient::Object::Patient->new(); # Patient | 

eval {
    $api_instance->v1PublicPatientsPut(patient => $patient);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PublicPatientsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Configure API key authorization: ApiKeyAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patient =  # Patient |  (optional)

try:
    # Update Patient Data on the public endpoint. The uuid is the key here and editableInPublic needs to be true, otherwise we refuse to work with the patient data.
    api_instance.v1_public_patients_put(patient=patient)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PublicPatientsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patient = ; // Patient

    let mut context = DefaultApi::Context::default();
    let result = client.v1PublicPatientsPut(patient, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
patient

Responses


v1QueuePost

Send synchronous job-queue data

This runs a job and returns a job.


/v1/queue

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/queue?job="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Job job = ; // Job | the job

        try {
            job result = apiInstance.v1QueuePost(job);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1QueuePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Job job = new Job(); // Job | the job

try {
    final result = await api_instance.v1QueuePost(job);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1QueuePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Job job = ; // Job | the job

        try {
            job result = apiInstance.v1QueuePost(job);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1QueuePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Job *job = ; // the job (default to null)

// Send synchronous job-queue data
[apiInstance v1QueuePostWith:job
              completionHandler: ^(job output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var job = ; // {Job} the job

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1QueuePost(job, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1QueuePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var job = new Job(); // Job | the job (default to null)

            try {
                // Send synchronous job-queue data
                job result = apiInstance.v1QueuePost(job);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1QueuePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$job = ; // Job | the job

try {
    $result = $api_instance->v1QueuePost($job);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1QueuePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $job = ; # Job | the job

eval {
    my $result = $api_instance->v1QueuePost(job => $job);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1QueuePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
job =  # Job | the job (default to null)

try:
    # Send synchronous job-queue data
    api_response = api_instance.v1_queue_post(job)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1QueuePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let job = ; // Job

    let mut context = DefaultApi::Context::default();
    let result = client.v1QueuePost(job, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
job*
Job
the job
Required

Responses


v1ReportTemplatesDelete

Deletes a reportTemplate

This deletes a reportTemplate from the database


/v1/report-templates

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/report-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate.

        try {
            reportTemplate result = apiInstance.v1ReportTemplatesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the reportTemplate.

try {
    final result = await api_instance.v1ReportTemplatesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportTemplatesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate.

        try {
            reportTemplate result = apiInstance.v1ReportTemplatesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the reportTemplate. (default to null)

// Deletes a reportTemplate
[apiInstance v1ReportTemplatesDeleteWith:uuid
              completionHandler: ^(reportTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the reportTemplate.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportTemplatesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportTemplatesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the reportTemplate. (default to null)

            try {
                // Deletes a reportTemplate
                reportTemplate result = apiInstance.v1ReportTemplatesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportTemplatesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate.

try {
    $result = $api_instance->v1ReportTemplatesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportTemplatesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the reportTemplate.

eval {
    my $result = $api_instance->v1ReportTemplatesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportTemplatesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the reportTemplate. (default to null)

try:
    # Deletes a reportTemplate
    api_response = api_instance.v1_report_templates_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportTemplatesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportTemplatesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the reportTemplate.
Required

Responses


v1ReportTemplatesGet

Get report template Data

This returns all report-templates


/v1/report-templates

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/report-templates?limit=5&user_id=1&verbose=true&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate. If not set, the request will return all report-templates.

        try {
            array[reportTemplate] result = apiInstance.v1ReportTemplatesGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT
final Boolean verbose = new Boolean(); // Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
final String uuid = new String(); // String | The UUID of the reportTemplate. If not set, the request will return all report-templates.

try {
    final result = await api_instance.v1ReportTemplatesGet(limit, userId, verbose, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportTemplatesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate. If not set, the request will return all report-templates.

        try {
            array[reportTemplate] result = apiInstance.v1ReportTemplatesGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
Boolean *verbose = true; // If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the reportTemplate. If not set, the request will return all report-templates. (optional) (default to null)

// Get report template Data
[apiInstance v1ReportTemplatesGetWith:limit
    userId:userId
    verbose:verbose
    uuid:uuid
              completionHandler: ^(array[reportTemplate] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'userId': 1, // {Long} The user_id of the user. Can only be used for users with role == ROOT
  'verbose': true, // {Boolean} If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the reportTemplate. If not set, the request will return all report-templates.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportTemplatesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportTemplatesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)
            var verbose = true;  // Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date. (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the reportTemplate. If not set, the request will return all report-templates. (optional)  (default to null)

            try {
                // Get report template Data
                array[reportTemplate] result = apiInstance.v1ReportTemplatesGet(limit, userId, verbose, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportTemplatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
$verbose = true; // Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate. If not set, the request will return all report-templates.

try {
    $result = $api_instance->v1ReportTemplatesGet($limit, $userId, $verbose, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportTemplatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT
my $verbose = true; # Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the reportTemplate. If not set, the request will return all report-templates.

eval {
    my $result = $api_instance->v1ReportTemplatesGet(limit => $limit, userId => $userId, verbose => $verbose, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportTemplatesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
verbose = true # Boolean | If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the reportTemplate. If not set, the request will return all report-templates. (optional) (default to null)

try:
    # Get report template Data
    api_response = api_instance.v1_report_templates_get(limit=limit, userId=userId, verbose=verbose, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportTemplatesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let userId = 1; // Long
    let verbose = true; // Boolean
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportTemplatesGet(limit, userId, verbose, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT
verbose
Boolean
If set to true, the response will contain all fields of the reportTemplate. If set to false, the response will contain only the uuid and the date.
uuid
String
The UUID of the reportTemplate. If not set, the request will return all report-templates.

Responses


v1ReportTemplatesPost

Save a new reportTemplate

This creates a new reportTemplate in the database


/v1/report-templates

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/report-templates?noRelationship=true&parentObjectName=family" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        ReportTemplate reportTemplate = ; // ReportTemplate | 

        try {
            reportTemplate result = apiInstance.v1ReportTemplatesPost(noRelationship, parentObjectName, reportTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean noRelationship = new Boolean(); // Boolean | if the relationship should be created or not
final String parentObjectName = new String(); // String | the name of the parent object
final ReportTemplate reportTemplate = new ReportTemplate(); // ReportTemplate | 

try {
    final result = await api_instance.v1ReportTemplatesPost(noRelationship, parentObjectName, reportTemplate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportTemplatesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        ReportTemplate reportTemplate = ; // ReportTemplate | 

        try {
            reportTemplate result = apiInstance.v1ReportTemplatesPost(noRelationship, parentObjectName, reportTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *noRelationship = true; // if the relationship should be created or not (optional) (default to null)
String *parentObjectName = family; // the name of the parent object (optional) (default to null)
ReportTemplate *reportTemplate = ; //  (optional)

// Save a new reportTemplate
[apiInstance v1ReportTemplatesPostWith:noRelationship
    parentObjectName:parentObjectName
    reportTemplate:reportTemplate
              completionHandler: ^(reportTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'noRelationship': true, // {Boolean} if the relationship should be created or not
  'parentObjectName': family, // {String} the name of the parent object
  'reportTemplate':  // {ReportTemplate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportTemplatesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportTemplatesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var noRelationship = true;  // Boolean | if the relationship should be created or not (optional)  (default to null)
            var parentObjectName = family;  // String | the name of the parent object (optional)  (default to null)
            var reportTemplate = new ReportTemplate(); // ReportTemplate |  (optional) 

            try {
                // Save a new reportTemplate
                reportTemplate result = apiInstance.v1ReportTemplatesPost(noRelationship, parentObjectName, reportTemplate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportTemplatesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$noRelationship = true; // Boolean | if the relationship should be created or not
$parentObjectName = family; // String | the name of the parent object
$reportTemplate = ; // ReportTemplate | 

try {
    $result = $api_instance->v1ReportTemplatesPost($noRelationship, $parentObjectName, $reportTemplate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportTemplatesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $noRelationship = true; # Boolean | if the relationship should be created or not
my $parentObjectName = family; # String | the name of the parent object
my $reportTemplate = WWW::OPenAPIClient::Object::ReportTemplate->new(); # ReportTemplate | 

eval {
    my $result = $api_instance->v1ReportTemplatesPost(noRelationship => $noRelationship, parentObjectName => $parentObjectName, reportTemplate => $reportTemplate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportTemplatesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
noRelationship = true # Boolean | if the relationship should be created or not (optional) (default to null)
parentObjectName = family # String | the name of the parent object (optional) (default to null)
reportTemplate =  # ReportTemplate |  (optional)

try:
    # Save a new reportTemplate
    api_response = api_instance.v1_report_templates_post(noRelationship=noRelationship, parentObjectName=parentObjectName, reportTemplate=reportTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportTemplatesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let noRelationship = true; // Boolean
    let parentObjectName = family; // String
    let reportTemplate = ; // ReportTemplate

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportTemplatesPost(noRelationship, parentObjectName, reportTemplate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
reportTemplate

Query parameters
NameDescription
noRelationship
Boolean
if the relationship should be created or not
parentObjectName
String
the name of the parent object

Responses


v1ReportTemplatesPut

Update reportTemplateing Data

This updates a reportTemplate


/v1/report-templates

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/report-templates?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate.
        ReportTemplate reportTemplate = ; // ReportTemplate | 

        try {
            reportTemplate result = apiInstance.v1ReportTemplatesPut(uuid, reportTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the reportTemplate.
final ReportTemplate reportTemplate = new ReportTemplate(); // ReportTemplate | 

try {
    final result = await api_instance.v1ReportTemplatesPut(uuid, reportTemplate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportTemplatesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate.
        ReportTemplate reportTemplate = ; // ReportTemplate | 

        try {
            reportTemplate result = apiInstance.v1ReportTemplatesPut(uuid, reportTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportTemplatesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the reportTemplate. (optional) (default to null)
ReportTemplate *reportTemplate = ; //  (optional)

// Update reportTemplateing Data
[apiInstance v1ReportTemplatesPutWith:uuid
    reportTemplate:reportTemplate
              completionHandler: ^(reportTemplate output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the reportTemplate.
  'reportTemplate':  // {ReportTemplate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportTemplatesPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportTemplatesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the reportTemplate. (optional)  (default to null)
            var reportTemplate = new ReportTemplate(); // ReportTemplate |  (optional) 

            try {
                // Update reportTemplateing Data
                reportTemplate result = apiInstance.v1ReportTemplatesPut(uuid, reportTemplate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportTemplatesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the reportTemplate.
$reportTemplate = ; // ReportTemplate | 

try {
    $result = $api_instance->v1ReportTemplatesPut($uuid, $reportTemplate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportTemplatesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the reportTemplate.
my $reportTemplate = WWW::OPenAPIClient::Object::ReportTemplate->new(); # ReportTemplate | 

eval {
    my $result = $api_instance->v1ReportTemplatesPut(uuid => $uuid, reportTemplate => $reportTemplate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportTemplatesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the reportTemplate. (optional) (default to null)
reportTemplate =  # ReportTemplate |  (optional)

try:
    # Update reportTemplateing Data
    api_response = api_instance.v1_report_templates_put(uuid=uuid, reportTemplate=reportTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportTemplatesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let reportTemplate = ; // ReportTemplate

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportTemplatesPut(uuid, reportTemplate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
reportTemplate

Query parameters
NameDescription
uuid
String
The UUID of the reportTemplate.

Responses


v1ReportsDelete

Deletes a report

This deletes a report from the database


/v1/reports

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/reports?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            report result = apiInstance.v1ReportsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the patient.

try {
    final result = await api_instance.v1ReportsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

        try {
            report result = apiInstance.v1ReportsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. (default to null)

// Deletes a report
[apiInstance v1ReportsDeleteWith:uuid
              completionHandler: ^(report output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. (default to null)

            try {
                // Deletes a report
                report result = apiInstance.v1ReportsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.

try {
    $result = $api_instance->v1ReportsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient.

eval {
    my $result = $api_instance->v1ReportsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. (default to null)

try:
    # Deletes a report
    api_response = api_instance.v1_reports_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the patient.
Required

Responses


v1ReportsGet

Get Reports

This returns all reports


/v1/reports

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/reports?familyUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all patients.
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

        try {
            array[report] result = apiInstance.v1ReportsGet(familyUuid, limit, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String familyUuid = new String(); // String | The UUID of the family. If not set, the request will return all patients.
final Integer limit = new Integer(); // Integer | How many datasets to return
final String uuid = new String(); // String | The UUID of the patient. If not set, the request will return all patients.

try {
    final result = await api_instance.v1ReportsGet(familyUuid, limit, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all patients.
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

        try {
            array[report] result = apiInstance.v1ReportsGet(familyUuid, limit, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the family. If not set, the request will return all patients. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)

// Get Reports
[apiInstance v1ReportsGetWith:familyUuid
    limit:limit
    uuid:uuid
              completionHandler: ^(array[report] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'familyUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the family. If not set, the request will return all patients.
  'limit': 5, // {Integer} How many datasets to return
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the patient. If not set, the request will return all patients.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the family. If not set, the request will return all patients. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. If not set, the request will return all patients. (optional)  (default to null)

            try {
                // Get Reports
                array[report] result = apiInstance.v1ReportsGet(familyUuid, limit, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the family. If not set, the request will return all patients.
$limit = 5; // Integer | How many datasets to return
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. If not set, the request will return all patients.

try {
    $result = $api_instance->v1ReportsGet($familyUuid, $limit, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the family. If not set, the request will return all patients.
my $limit = 5; # Integer | How many datasets to return
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. If not set, the request will return all patients.

eval {
    my $result = $api_instance->v1ReportsGet(familyUuid => $familyUuid, limit => $limit, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the family. If not set, the request will return all patients. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. If not set, the request will return all patients. (optional) (default to null)

try:
    # Get Reports
    api_response = api_instance.v1_reports_get(familyUuid=familyUuid, limit=limit, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportsGet(familyUuid, limit, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
familyUuid
String
The UUID of the family. If not set, the request will return all patients.
limit
Integer
How many datasets to return
uuid
String
The UUID of the patient. If not set, the request will return all patients.

Responses


v1ReportsPost

Save a new report

This creates a new patient in the database


/v1/reports

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/reports" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Report report = ; // Report | 

        try {
            report result = apiInstance.v1ReportsPost(report);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Report report = new Report(); // Report | 

try {
    final result = await api_instance.v1ReportsPost(report);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Report report = ; // Report | 

        try {
            report result = apiInstance.v1ReportsPost(report);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Report *report = ; //  (optional)

// Save a new report
[apiInstance v1ReportsPostWith:report
              completionHandler: ^(report output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'report':  // {Report} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var report = new Report(); // Report |  (optional) 

            try {
                // Save a new report
                report result = apiInstance.v1ReportsPost(report);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$report = ; // Report | 

try {
    $result = $api_instance->v1ReportsPost($report);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $report = WWW::OPenAPIClient::Object::Report->new(); # Report | 

eval {
    my $result = $api_instance->v1ReportsPost(report => $report);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
report =  # Report |  (optional)

try:
    # Save a new report
    api_response = api_instance.v1_reports_post(report=report)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let report = ; // Report

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportsPost(report, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
report

Responses


v1ReportsPut

Update Report

This updates a report


/v1/reports

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/reports?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
        Report report = ; // Report | 

        try {
            report result = apiInstance.v1ReportsPut(uuid, report);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the report
final Report report = new Report(); // Report | 

try {
    final result = await api_instance.v1ReportsPut(uuid, report);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ReportsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
        Report report = ; // Report | 

        try {
            report result = apiInstance.v1ReportsPut(uuid, report);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ReportsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the report (default to null)
Report *report = ; //  (optional)

// Update Report
[apiInstance v1ReportsPutWith:uuid
    report:report
              completionHandler: ^(report output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the report
var opts = {
  'report':  // {Report} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ReportsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ReportsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the report (default to null)
            var report = new Report(); // Report |  (optional) 

            try {
                // Update Report
                report result = apiInstance.v1ReportsPut(uuid, report);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ReportsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the report
$report = ; // Report | 

try {
    $result = $api_instance->v1ReportsPut($uuid, $report);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ReportsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the report
my $report = WWW::OPenAPIClient::Object::Report->new(); # Report | 

eval {
    my $result = $api_instance->v1ReportsPut(uuid => $uuid, report => $report);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ReportsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the report (default to null)
report =  # Report |  (optional)

try:
    # Update Report
    api_response = api_instance.v1_reports_put(uuid, report=report)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ReportsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let report = ; // Report

    let mut context = DefaultApi::Context::default();
    let result = client.v1ReportsPut(uuid, report, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
report

Query parameters
NameDescription
uuid*
String
The UUID of the report
Required

Responses


v1SectionsDelete

Deletes a section

This deletes a section


/v1/sections

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/sections?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the section.

        try {
            section result = apiInstance.v1SectionsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the section.

try {
    final result = await api_instance.v1SectionsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SectionsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the section.

        try {
            section result = apiInstance.v1SectionsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the section. (default to null)

// Deletes a section
[apiInstance v1SectionsDeleteWith:uuid
              completionHandler: ^(section output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the section.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SectionsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SectionsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the section. (default to null)

            try {
                // Deletes a section
                section result = apiInstance.v1SectionsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SectionsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the section.

try {
    $result = $api_instance->v1SectionsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SectionsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the section.

eval {
    my $result = $api_instance->v1SectionsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SectionsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the section. (default to null)

try:
    # Deletes a section
    api_response = api_instance.v1_sections_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SectionsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SectionsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the section.
Required

Responses


v1SectionsGet

Get Section Data

This returns all sections of a seminar


/v1/sections

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/sections?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5&seminarUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the sections. If not set, the request will return all sections.
        Integer limit = 5; // Integer | How many datasets to return
        String seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar. If not set, the request will return all sections.

        try {
            array[section] result = apiInstance.v1SectionsGet(uuid, limit, seminarUuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the sections. If not set, the request will return all sections.
final Integer limit = new Integer(); // Integer | How many datasets to return
final String seminarUuid = new String(); // String | The UUID of the seminar. If not set, the request will return all sections.

try {
    final result = await api_instance.v1SectionsGet(uuid, limit, seminarUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SectionsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the sections. If not set, the request will return all sections.
        Integer limit = 5; // Integer | How many datasets to return
        String seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar. If not set, the request will return all sections.

        try {
            array[section] result = apiInstance.v1SectionsGet(uuid, limit, seminarUuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the sections. If not set, the request will return all sections. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the seminar. If not set, the request will return all sections. (optional) (default to null)

// Get Section Data
[apiInstance v1SectionsGetWith:uuid
    limit:limit
    seminarUuid:seminarUuid
              completionHandler: ^(array[section] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the sections. If not set, the request will return all sections.
  'limit': 5, // {Integer} How many datasets to return
  'seminarUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the seminar. If not set, the request will return all sections.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SectionsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SectionsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the sections. If not set, the request will return all sections. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the seminar. If not set, the request will return all sections. (optional)  (default to null)

            try {
                // Get Section Data
                array[section] result = apiInstance.v1SectionsGet(uuid, limit, seminarUuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SectionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the sections. If not set, the request will return all sections.
$limit = 5; // Integer | How many datasets to return
$seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar. If not set, the request will return all sections.

try {
    $result = $api_instance->v1SectionsGet($uuid, $limit, $seminarUuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SectionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the sections. If not set, the request will return all sections.
my $limit = 5; # Integer | How many datasets to return
my $seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the seminar. If not set, the request will return all sections.

eval {
    my $result = $api_instance->v1SectionsGet(uuid => $uuid, limit => $limit, seminarUuid => $seminarUuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SectionsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the sections. If not set, the request will return all sections. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)
seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the seminar. If not set, the request will return all sections. (optional) (default to null)

try:
    # Get Section Data
    api_response = api_instance.v1_sections_get(uuid=uuid, limit=limit, seminarUuid=seminarUuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SectionsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer
    let seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SectionsGet(uuid, limit, seminarUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the sections. If not set, the request will return all sections.
limit
Integer
How many datasets to return
seminarUuid
String
The UUID of the seminar. If not set, the request will return all sections.

Responses


v1SectionsPost

Save a new section

This creates a new section in the database


/v1/sections

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/sections" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Section section = ; // Section | 

        try {
            section result = apiInstance.v1SectionsPost(section);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Section section = new Section(); // Section | 

try {
    final result = await api_instance.v1SectionsPost(section);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SectionsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Section section = ; // Section | 

        try {
            section result = apiInstance.v1SectionsPost(section);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Section *section = ; //  (optional)

// Save a new section
[apiInstance v1SectionsPostWith:section
              completionHandler: ^(section output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'section':  // {Section} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SectionsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SectionsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var section = new Section(); // Section |  (optional) 

            try {
                // Save a new section
                section result = apiInstance.v1SectionsPost(section);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SectionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$section = ; // Section | 

try {
    $result = $api_instance->v1SectionsPost($section);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SectionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $section = WWW::OPenAPIClient::Object::Section->new(); # Section | 

eval {
    my $result = $api_instance->v1SectionsPost(section => $section);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SectionsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
section =  # Section |  (optional)

try:
    # Save a new section
    api_response = api_instance.v1_sections_post(section=section)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SectionsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let section = ; // Section

    let mut context = DefaultApi::Context::default();
    let result = client.v1SectionsPost(section, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
section

Responses


v1SectionsPut

Update Section Data

This updates a section


/v1/sections

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/sections?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the section.
        Section section = ; // Section | 

        try {
            section result = apiInstance.v1SectionsPut(uuid, section);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the section.
final Section section = new Section(); // Section | 

try {
    final result = await api_instance.v1SectionsPut(uuid, section);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SectionsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the section.
        Section section = ; // Section | 

        try {
            section result = apiInstance.v1SectionsPut(uuid, section);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SectionsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the section. (default to null)
Section *section = ; //  (optional)

// Update Section Data
[apiInstance v1SectionsPutWith:uuid
    section:section
              completionHandler: ^(section output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the section.
var opts = {
  'section':  // {Section} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SectionsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SectionsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the section. (default to null)
            var section = new Section(); // Section |  (optional) 

            try {
                // Update Section Data
                section result = apiInstance.v1SectionsPut(uuid, section);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SectionsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the section.
$section = ; // Section | 

try {
    $result = $api_instance->v1SectionsPut($uuid, $section);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SectionsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the section.
my $section = WWW::OPenAPIClient::Object::Section->new(); # Section | 

eval {
    my $result = $api_instance->v1SectionsPut(uuid => $uuid, section => $section);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SectionsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the section. (default to null)
section =  # Section |  (optional)

try:
    # Update Section Data
    api_response = api_instance.v1_sections_put(uuid, section=section)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SectionsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let section = ; // Section

    let mut context = DefaultApi::Context::default();
    let result = client.v1SectionsPut(uuid, section, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
section

Query parameters
NameDescription
uuid*
String
The UUID of the section.
Required

Responses


v1SeminarsDelete

Deletes a seminar

This deletes a seminar


/v1/seminars

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/seminars?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.

        try {
            seminar result = apiInstance.v1SeminarsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the seminar.

try {
    final result = await api_instance.v1SeminarsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SeminarsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.

        try {
            seminar result = apiInstance.v1SeminarsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the seminar. (default to null)

// Deletes a seminar
[apiInstance v1SeminarsDeleteWith:uuid
              completionHandler: ^(seminar output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the seminar.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SeminarsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SeminarsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the seminar. (default to null)

            try {
                // Deletes a seminar
                seminar result = apiInstance.v1SeminarsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SeminarsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.

try {
    $result = $api_instance->v1SeminarsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SeminarsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the seminar.

eval {
    my $result = $api_instance->v1SeminarsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SeminarsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the seminar. (default to null)

try:
    # Deletes a seminar
    api_response = api_instance.v1_seminars_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SeminarsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SeminarsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the seminar.
Required

Responses


v1SeminarsGet

Get Seminar Data

This returns all seminars


/v1/seminars

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/seminars?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar. If not set, the request will return all families.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[seminar] result = apiInstance.v1SeminarsGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the seminar. If not set, the request will return all families.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1SeminarsGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SeminarsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar. If not set, the request will return all families.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[seminar] result = apiInstance.v1SeminarsGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the seminar. If not set, the request will return all families. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get Seminar Data
[apiInstance v1SeminarsGetWith:uuid
    limit:limit
              completionHandler: ^(array[seminar] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the seminar. If not set, the request will return all families.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SeminarsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SeminarsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the seminar. If not set, the request will return all families. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get Seminar Data
                array[seminar] result = apiInstance.v1SeminarsGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SeminarsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar. If not set, the request will return all families.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1SeminarsGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SeminarsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the seminar. If not set, the request will return all families.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1SeminarsGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SeminarsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the seminar. If not set, the request will return all families. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get Seminar Data
    api_response = api_instance.v1_seminars_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SeminarsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1SeminarsGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the seminar. If not set, the request will return all families.
limit
Integer
How many datasets to return

Responses


v1SeminarsPatientsDelete

Deletes a participant from a seminar

This deletes a participant from a seminar


/v1/seminars/patients

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/seminars/patients?patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&seminarUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.
        String seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.

        try {
            apiInstance.v1SeminarsPatientsDelete(patientUuid, seminarUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPatientsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient.
final String seminarUuid = new String(); // String | The UUID of the seminar.

try {
    final result = await api_instance.v1SeminarsPatientsDelete(patientUuid, seminarUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SeminarsPatientsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.
        String seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.

        try {
            apiInstance.v1SeminarsPatientsDelete(patientUuid, seminarUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPatientsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. (default to null)
String *seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the seminar. (default to null)

// Deletes a participant from a seminar
[apiInstance v1SeminarsPatientsDeleteWith:patientUuid
    seminarUuid:seminarUuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient.
var seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the seminar.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SeminarsPatientsDelete(patientUuid, seminarUuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SeminarsPatientsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. (default to null)
            var seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the seminar. (default to null)

            try {
                // Deletes a participant from a seminar
                apiInstance.v1SeminarsPatientsDelete(patientUuid, seminarUuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SeminarsPatientsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient.
$seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.

try {
    $api_instance->v1SeminarsPatientsDelete($patientUuid, $seminarUuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SeminarsPatientsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient.
my $seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the seminar.

eval {
    $api_instance->v1SeminarsPatientsDelete(patientUuid => $patientUuid, seminarUuid => $seminarUuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SeminarsPatientsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. (default to null)
seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the seminar. (default to null)

try:
    # Deletes a participant from a seminar
    api_instance.v1_seminars_patients_delete(patientUuid, seminarUuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SeminarsPatientsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let seminarUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SeminarsPatientsDelete(patientUuid, seminarUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
patientUuid*
String
The UUID of the patient.
Required
seminarUuid*
String
The UUID of the seminar.
Required

Responses


v1SeminarsPatientsPost

Save a new participant to a seminar

This creates a new participant relationship for a seminar - it only stores the reference to the participant.


/v1/seminars/patients

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/seminars/patients" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        SeminarPatient seminarPatient = ; // SeminarPatient | 

        try {
            apiInstance.v1SeminarsPatientsPost(seminarPatient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPatientsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final SeminarPatient seminarPatient = new SeminarPatient(); // SeminarPatient | 

try {
    final result = await api_instance.v1SeminarsPatientsPost(seminarPatient);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SeminarsPatientsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SeminarPatient seminarPatient = ; // SeminarPatient | 

        try {
            apiInstance.v1SeminarsPatientsPost(seminarPatient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPatientsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SeminarPatient *seminarPatient = ; //  (optional)

// Save a new participant to a seminar
[apiInstance v1SeminarsPatientsPostWith:seminarPatient
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'seminarPatient':  // {SeminarPatient} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SeminarsPatientsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SeminarsPatientsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var seminarPatient = new SeminarPatient(); // SeminarPatient |  (optional) 

            try {
                // Save a new participant to a seminar
                apiInstance.v1SeminarsPatientsPost(seminarPatient);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SeminarsPatientsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$seminarPatient = ; // SeminarPatient | 

try {
    $api_instance->v1SeminarsPatientsPost($seminarPatient);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SeminarsPatientsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $seminarPatient = WWW::OPenAPIClient::Object::SeminarPatient->new(); # SeminarPatient | 

eval {
    $api_instance->v1SeminarsPatientsPost(seminarPatient => $seminarPatient);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SeminarsPatientsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
seminarPatient =  # SeminarPatient |  (optional)

try:
    # Save a new participant to a seminar
    api_instance.v1_seminars_patients_post(seminarPatient=seminarPatient)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SeminarsPatientsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let seminarPatient = ; // SeminarPatient

    let mut context = DefaultApi::Context::default();
    let result = client.v1SeminarsPatientsPost(seminarPatient, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
seminarPatient

Responses


v1SeminarsPost

Save a new seminar

This creates a new seminar in the database


/v1/seminars

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/seminars" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Seminar seminar = ; // Seminar | 

        try {
            seminar result = apiInstance.v1SeminarsPost(seminar);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Seminar seminar = new Seminar(); // Seminar | 

try {
    final result = await api_instance.v1SeminarsPost(seminar);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SeminarsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Seminar seminar = ; // Seminar | 

        try {
            seminar result = apiInstance.v1SeminarsPost(seminar);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Seminar *seminar = ; //  (optional)

// Save a new seminar
[apiInstance v1SeminarsPostWith:seminar
              completionHandler: ^(seminar output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'seminar':  // {Seminar} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SeminarsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SeminarsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var seminar = new Seminar(); // Seminar |  (optional) 

            try {
                // Save a new seminar
                seminar result = apiInstance.v1SeminarsPost(seminar);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SeminarsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$seminar = ; // Seminar | 

try {
    $result = $api_instance->v1SeminarsPost($seminar);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SeminarsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $seminar = WWW::OPenAPIClient::Object::Seminar->new(); # Seminar | 

eval {
    my $result = $api_instance->v1SeminarsPost(seminar => $seminar);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SeminarsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
seminar =  # Seminar |  (optional)

try:
    # Save a new seminar
    api_response = api_instance.v1_seminars_post(seminar=seminar)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SeminarsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let seminar = ; // Seminar

    let mut context = DefaultApi::Context::default();
    let result = client.v1SeminarsPost(seminar, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
seminar

Responses


v1SeminarsPut

Update Seminar Data

This updates a seminar


/v1/seminars

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/seminars?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.
        Seminar seminar = ; // Seminar | 

        try {
            seminar result = apiInstance.v1SeminarsPut(uuid, seminar);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the seminar.
final Seminar seminar = new Seminar(); // Seminar | 

try {
    final result = await api_instance.v1SeminarsPut(uuid, seminar);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SeminarsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.
        Seminar seminar = ; // Seminar | 

        try {
            seminar result = apiInstance.v1SeminarsPut(uuid, seminar);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SeminarsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the seminar. (default to null)
Seminar *seminar = ; //  (optional)

// Update Seminar Data
[apiInstance v1SeminarsPutWith:uuid
    seminar:seminar
              completionHandler: ^(seminar output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the seminar.
var opts = {
  'seminar':  // {Seminar} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SeminarsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SeminarsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the seminar. (default to null)
            var seminar = new Seminar(); // Seminar |  (optional) 

            try {
                // Update Seminar Data
                seminar result = apiInstance.v1SeminarsPut(uuid, seminar);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SeminarsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the seminar.
$seminar = ; // Seminar | 

try {
    $result = $api_instance->v1SeminarsPut($uuid, $seminar);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SeminarsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the seminar.
my $seminar = WWW::OPenAPIClient::Object::Seminar->new(); # Seminar | 

eval {
    my $result = $api_instance->v1SeminarsPut(uuid => $uuid, seminar => $seminar);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SeminarsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the seminar. (default to null)
seminar =  # Seminar |  (optional)

try:
    # Update Seminar Data
    api_response = api_instance.v1_seminars_put(uuid, seminar=seminar)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SeminarsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let seminar = ; // Seminar

    let mut context = DefaultApi::Context::default();
    let result = client.v1SeminarsPut(uuid, seminar, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
seminar

Query parameters
NameDescription
uuid*
String
The UUID of the seminar.
Required

Responses


v1SessionTypesDelete

Deletes a session type

This deletes a session type from the database


/v1/session-types

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/session-types?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session type.

        try {
            sessionType result = apiInstance.v1SessionTypesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the session type.

try {
    final result = await api_instance.v1SessionTypesDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionTypesDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session type.

        try {
            sessionType result = apiInstance.v1SessionTypesDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session type. (default to null)

// Deletes a session type
[apiInstance v1SessionTypesDeleteWith:uuid
              completionHandler: ^(sessionType output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the session type.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionTypesDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionTypesDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session type. (default to null)

            try {
                // Deletes a session type
                sessionType result = apiInstance.v1SessionTypesDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionTypesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session type.

try {
    $result = $api_instance->v1SessionTypesDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionTypesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session type.

eval {
    my $result = $api_instance->v1SessionTypesDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionTypesDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session type. (default to null)

try:
    # Deletes a session type
    api_response = api_instance.v1_session_types_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionTypesDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionTypesDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the session type.
Required

Responses


v1SessionTypesGet

Get session type Data

This returns all session types


/v1/session-types

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/session-types?limit=5&user_id=1&verbose=true&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session-type. If not set, the request will return all session-types.

        try {
            array[sessionType] result = apiInstance.v1SessionTypesGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT
final Boolean verbose = new Boolean(); // Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
final String uuid = new String(); // String | The UUID of the session-type. If not set, the request will return all session-types.

try {
    final result = await api_instance.v1SessionTypesGet(limit, userId, verbose, uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionTypesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        Boolean verbose = true; // Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session-type. If not set, the request will return all session-types.

        try {
            array[sessionType] result = apiInstance.v1SessionTypesGet(limit, userId, verbose, uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
Boolean *verbose = true; // If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session-type. If not set, the request will return all session-types. (optional) (default to null)

// Get session type Data
[apiInstance v1SessionTypesGetWith:limit
    userId:userId
    verbose:verbose
    uuid:uuid
              completionHandler: ^(array[sessionType] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'userId': 1, // {Long} The user_id of the user. Can only be used for users with role == ROOT
  'verbose': true, // {Boolean} If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the session-type. If not set, the request will return all session-types.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionTypesGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionTypesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)
            var verbose = true;  // Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date. (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session-type. If not set, the request will return all session-types. (optional)  (default to null)

            try {
                // Get session type Data
                array[sessionType] result = apiInstance.v1SessionTypesGet(limit, userId, verbose, uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionTypesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
$verbose = true; // Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session-type. If not set, the request will return all session-types.

try {
    $result = $api_instance->v1SessionTypesGet($limit, $userId, $verbose, $uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionTypesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT
my $verbose = true; # Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session-type. If not set, the request will return all session-types.

eval {
    my $result = $api_instance->v1SessionTypesGet(limit => $limit, userId => $userId, verbose => $verbose, uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionTypesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
verbose = true # Boolean | If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date. (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session-type. If not set, the request will return all session-types. (optional) (default to null)

try:
    # Get session type Data
    api_response = api_instance.v1_session_types_get(limit=limit, userId=userId, verbose=verbose, uuid=uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionTypesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let userId = 1; // Long
    let verbose = true; // Boolean
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionTypesGet(limit, userId, verbose, uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT
verbose
Boolean
If set to true, the response will contain all fields of the session-type. If set to false, the response will contain only the uuid and the date.
uuid
String
The UUID of the session-type. If not set, the request will return all session-types.

Responses


v1SessionTypesPost

Save a new session type

This creates a new session tyep in the database


/v1/session-types

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/session-types?noRelationship=true&parentObjectName=family" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        SessionType sessionType = ; // SessionType | 

        try {
            sessionType result = apiInstance.v1SessionTypesPost(noRelationship, parentObjectName, sessionType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean noRelationship = new Boolean(); // Boolean | if the relationship should be created or not
final String parentObjectName = new String(); // String | the name of the parent object
final SessionType sessionType = new SessionType(); // SessionType | 

try {
    final result = await api_instance.v1SessionTypesPost(noRelationship, parentObjectName, sessionType);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionTypesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean noRelationship = true; // Boolean | if the relationship should be created or not
        String parentObjectName = family; // String | the name of the parent object
        SessionType sessionType = ; // SessionType | 

        try {
            sessionType result = apiInstance.v1SessionTypesPost(noRelationship, parentObjectName, sessionType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *noRelationship = true; // if the relationship should be created or not (optional) (default to null)
String *parentObjectName = family; // the name of the parent object (optional) (default to null)
SessionType *sessionType = ; //  (optional)

// Save a new session type
[apiInstance v1SessionTypesPostWith:noRelationship
    parentObjectName:parentObjectName
    sessionType:sessionType
              completionHandler: ^(sessionType output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'noRelationship': true, // {Boolean} if the relationship should be created or not
  'parentObjectName': family, // {String} the name of the parent object
  'sessionType':  // {SessionType} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionTypesPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionTypesPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var noRelationship = true;  // Boolean | if the relationship should be created or not (optional)  (default to null)
            var parentObjectName = family;  // String | the name of the parent object (optional)  (default to null)
            var sessionType = new SessionType(); // SessionType |  (optional) 

            try {
                // Save a new session type
                sessionType result = apiInstance.v1SessionTypesPost(noRelationship, parentObjectName, sessionType);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionTypesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$noRelationship = true; // Boolean | if the relationship should be created or not
$parentObjectName = family; // String | the name of the parent object
$sessionType = ; // SessionType | 

try {
    $result = $api_instance->v1SessionTypesPost($noRelationship, $parentObjectName, $sessionType);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionTypesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $noRelationship = true; # Boolean | if the relationship should be created or not
my $parentObjectName = family; # String | the name of the parent object
my $sessionType = WWW::OPenAPIClient::Object::SessionType->new(); # SessionType | 

eval {
    my $result = $api_instance->v1SessionTypesPost(noRelationship => $noRelationship, parentObjectName => $parentObjectName, sessionType => $sessionType);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionTypesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
noRelationship = true # Boolean | if the relationship should be created or not (optional) (default to null)
parentObjectName = family # String | the name of the parent object (optional) (default to null)
sessionType =  # SessionType |  (optional)

try:
    # Save a new session type
    api_response = api_instance.v1_session_types_post(noRelationship=noRelationship, parentObjectName=parentObjectName, sessionType=sessionType)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionTypesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let noRelationship = true; // Boolean
    let parentObjectName = family; // String
    let sessionType = ; // SessionType

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionTypesPost(noRelationship, parentObjectName, sessionType, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
sessionType

Query parameters
NameDescription
noRelationship
Boolean
if the relationship should be created or not
parentObjectName
String
the name of the parent object

Responses


v1SessionTypesPut

Update session types Data

This updates a session-type


/v1/session-types

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/session-types?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session-type.
        SessionType sessionType = ; // SessionType | 

        try {
            sessionType result = apiInstance.v1SessionTypesPut(uuid, sessionType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the session-type.
final SessionType sessionType = new SessionType(); // SessionType | 

try {
    final result = await api_instance.v1SessionTypesPut(uuid, sessionType);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionTypesPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session-type.
        SessionType sessionType = ; // SessionType | 

        try {
            sessionType result = apiInstance.v1SessionTypesPut(uuid, sessionType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionTypesPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session-type. (optional) (default to null)
SessionType *sessionType = ; //  (optional)

// Update session types Data
[apiInstance v1SessionTypesPutWith:uuid
    sessionType:sessionType
              completionHandler: ^(sessionType output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the session-type.
  'sessionType':  // {SessionType} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionTypesPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionTypesPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session-type. (optional)  (default to null)
            var sessionType = new SessionType(); // SessionType |  (optional) 

            try {
                // Update session types Data
                sessionType result = apiInstance.v1SessionTypesPut(uuid, sessionType);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionTypesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session-type.
$sessionType = ; // SessionType | 

try {
    $result = $api_instance->v1SessionTypesPut($uuid, $sessionType);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionTypesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session-type.
my $sessionType = WWW::OPenAPIClient::Object::SessionType->new(); # SessionType | 

eval {
    my $result = $api_instance->v1SessionTypesPut(uuid => $uuid, sessionType => $sessionType);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionTypesPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session-type. (optional) (default to null)
sessionType =  # SessionType |  (optional)

try:
    # Update session types Data
    api_response = api_instance.v1_session_types_put(uuid=uuid, sessionType=sessionType)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionTypesPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let sessionType = ; // SessionType

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionTypesPut(uuid, sessionType, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
sessionType

Query parameters
NameDescription
uuid
String
The UUID of the session-type.

Responses


v1SessionsDelete

Deletes a session

This deletes a session from the database


/v1/sessions

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/sessions?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.

        try {
            session result = apiInstance.v1SessionsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the session.

try {
    final result = await api_instance.v1SessionsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.

        try {
            session result = apiInstance.v1SessionsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session. (default to null)

// Deletes a session
[apiInstance v1SessionsDeleteWith:uuid
              completionHandler: ^(session output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the session.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session. (default to null)

            try {
                // Deletes a session
                session result = apiInstance.v1SessionsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.

try {
    $result = $api_instance->v1SessionsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session.

eval {
    my $result = $api_instance->v1SessionsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session. (default to null)

try:
    # Deletes a session
    api_response = api_instance.v1_sessions_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the session.
Required

Responses


v1SessionsGet

Get Session Data

This returns all sessions


/v1/sessions

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/sessions?limit=5&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&parentObjectName=families&familyUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&user_id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session. If not set, the request will return all patients.
        String parentObjectName = families; // String | The name of the parent boject
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT

        try {
            array[session] result = apiInstance.v1SessionsGet(limit, uuid, parentObjectName, familyUuid, patientUuid, userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return
final String uuid = new String(); // String | The UUID of the session. If not set, the request will return all patients.
final String parentObjectName = new String(); // String | The name of the parent boject
final String familyUuid = new String(); // String | The name of the parent boject
final String patientUuid = new String(); // String | The name of the parent boject
final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT

try {
    final result = await api_instance.v1SessionsGet(limit, uuid, parentObjectName, familyUuid, patientUuid, userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session. If not set, the request will return all patients.
        String parentObjectName = families; // String | The name of the parent boject
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT

        try {
            array[session] result = apiInstance.v1SessionsGet(limit, uuid, parentObjectName, familyUuid, patientUuid, userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session. If not set, the request will return all patients. (optional) (default to null)
String *parentObjectName = families; // The name of the parent boject (optional) (default to null)
String *familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The name of the parent boject (optional) (default to null)
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The name of the parent boject (optional) (default to null)
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)

// Get Session Data
[apiInstance v1SessionsGetWith:limit
    uuid:uuid
    parentObjectName:parentObjectName
    familyUuid:familyUuid
    patientUuid:patientUuid
    userId:userId
              completionHandler: ^(array[session] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many datasets to return
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the session. If not set, the request will return all patients.
  'parentObjectName': families, // {String} The name of the parent boject
  'familyUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The name of the parent boject
  'patientUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The name of the parent boject
  'userId': 1 // {Long} The user_id of the user. Can only be used for users with role == ROOT
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session. If not set, the request will return all patients. (optional)  (default to null)
            var parentObjectName = families;  // String | The name of the parent boject (optional)  (default to null)
            var familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The name of the parent boject (optional)  (default to null)
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The name of the parent boject (optional)  (default to null)
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)

            try {
                // Get Session Data
                array[session] result = apiInstance.v1SessionsGet(limit, uuid, parentObjectName, familyUuid, patientUuid, userId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session. If not set, the request will return all patients.
$parentObjectName = families; // String | The name of the parent boject
$familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT

try {
    $result = $api_instance->v1SessionsGet($limit, $uuid, $parentObjectName, $familyUuid, $patientUuid, $userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session. If not set, the request will return all patients.
my $parentObjectName = families; # String | The name of the parent boject
my $familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The name of the parent boject
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The name of the parent boject
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT

eval {
    my $result = $api_instance->v1SessionsGet(limit => $limit, uuid => $uuid, parentObjectName => $parentObjectName, familyUuid => $familyUuid, patientUuid => $patientUuid, userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session. If not set, the request will return all patients. (optional) (default to null)
parentObjectName = families # String | The name of the parent boject (optional) (default to null)
familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The name of the parent boject (optional) (default to null)
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The name of the parent boject (optional) (default to null)
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)

try:
    # Get Session Data
    api_response = api_instance.v1_sessions_get(limit=limit, uuid=uuid, parentObjectName=parentObjectName, familyUuid=familyUuid, patientUuid=patientUuid, userId=userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let parentObjectName = families; // String
    let familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let userId = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsGet(limit, uuid, parentObjectName, familyUuid, patientUuid, userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return
uuid
String
The UUID of the session. If not set, the request will return all patients.
parentObjectName
String
The name of the parent boject
familyUuid
String
The name of the parent boject
patientUuid
String
The name of the parent boject
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT

Responses


v1SessionsInstantbillPut

updated the open (billed) status of a session.

This updates the open status of a session. This is only relevant for the open bills view. The session is not actually billed until the bill is created, it is just filtered from a view.


/v1/sessions/instantbill

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/sessions/instantbill?paid=true&paidInCash=true&createReceipt=true" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Object paid = true; // Object | if the session paid or not
        Object paidInCash = true; // Object | if the session paid in cash or not
        Object createReceipt = true; // Object | if we need to create a receipt or not
        Session session = ; // Session | 

        try {
            apiInstance.v1SessionsInstantbillPut(paid, paidInCash, createReceipt, session);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsInstantbillPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Object paid = new Object(); // Object | if the session paid or not
final Object paidInCash = new Object(); // Object | if the session paid in cash or not
final Object createReceipt = new Object(); // Object | if we need to create a receipt or not
final Session session = new Session(); // Session | 

try {
    final result = await api_instance.v1SessionsInstantbillPut(paid, paidInCash, createReceipt, session);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsInstantbillPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Object paid = true; // Object | if the session paid or not
        Object paidInCash = true; // Object | if the session paid in cash or not
        Object createReceipt = true; // Object | if we need to create a receipt or not
        Session session = ; // Session | 

        try {
            apiInstance.v1SessionsInstantbillPut(paid, paidInCash, createReceipt, session);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsInstantbillPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Object *paid = true; // if the session paid or not (default to null)
Object *paidInCash = true; // if the session paid in cash or not (default to null)
Object *createReceipt = true; // if we need to create a receipt or not (default to null)
Session *session = ; //  (optional)

// updated the open (billed) status of a session.
[apiInstance v1SessionsInstantbillPutWith:paid
    paidInCash:paidInCash
    createReceipt:createReceipt
    session:session
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var paid = true; // {Object} if the session paid or not
var paidInCash = true; // {Object} if the session paid in cash or not
var createReceipt = true; // {Object} if we need to create a receipt or not
var opts = {
  'session':  // {Session} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SessionsInstantbillPut(paid, paidInCash, createReceipt, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsInstantbillPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var paid = new Object(); // Object | if the session paid or not (default to null)
            var paidInCash = new Object(); // Object | if the session paid in cash or not (default to null)
            var createReceipt = new Object(); // Object | if we need to create a receipt or not (default to null)
            var session = new Session(); // Session |  (optional) 

            try {
                // updated the open (billed) status of a session.
                apiInstance.v1SessionsInstantbillPut(paid, paidInCash, createReceipt, session);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsInstantbillPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$paid = true; // Object | if the session paid or not
$paidInCash = true; // Object | if the session paid in cash or not
$createReceipt = true; // Object | if we need to create a receipt or not
$session = ; // Session | 

try {
    $api_instance->v1SessionsInstantbillPut($paid, $paidInCash, $createReceipt, $session);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsInstantbillPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $paid = true; # Object | if the session paid or not
my $paidInCash = true; # Object | if the session paid in cash or not
my $createReceipt = true; # Object | if we need to create a receipt or not
my $session = WWW::OPenAPIClient::Object::Session->new(); # Session | 

eval {
    $api_instance->v1SessionsInstantbillPut(paid => $paid, paidInCash => $paidInCash, createReceipt => $createReceipt, session => $session);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsInstantbillPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
paid = true # Object | if the session paid or not (default to null)
paidInCash = true # Object | if the session paid in cash or not (default to null)
createReceipt = true # Object | if we need to create a receipt or not (default to null)
session =  # Session |  (optional)

try:
    # updated the open (billed) status of a session.
    api_instance.v1_sessions_instantbill_put(paid, paidInCash, createReceipt, session=session)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsInstantbillPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let paid = true; // Object
    let paidInCash = true; // Object
    let createReceipt = true; // Object
    let session = ; // Session

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsInstantbillPut(paid, paidInCash, createReceipt, session, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
session

Query parameters
NameDescription
paid*
Object
if the session paid or not
Required
paidInCash*
Object
if the session paid in cash or not
Required
createReceipt*
Object
if we need to create a receipt or not
Required

Responses


v1SessionsListByCalendarGet

Get Session Data

This returns all sessions


/v1/sessions/list-by-calendar

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/sessions/list-by-calendar?familyUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&calendarGoogleId=1&timeStamp=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        String calendarGoogleId = 1; // String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
        Long timeStamp = 1; // Long | The timestamp of the session

        try {
            array[session] result = apiInstance.v1SessionsListByCalendarGet(familyUuid, patientUuid, calendarGoogleId, timeStamp);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsListByCalendarGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String familyUuid = new String(); // String | The name of the parent boject
final String patientUuid = new String(); // String | The name of the parent boject
final String calendarGoogleId = new String(); // String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
final Long timeStamp = new Long(); // Long | The timestamp of the session

try {
    final result = await api_instance.v1SessionsListByCalendarGet(familyUuid, patientUuid, calendarGoogleId, timeStamp);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsListByCalendarGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
        String calendarGoogleId = 1; // String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
        Long timeStamp = 1; // Long | The timestamp of the session

        try {
            array[session] result = apiInstance.v1SessionsListByCalendarGet(familyUuid, patientUuid, calendarGoogleId, timeStamp);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsListByCalendarGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The name of the parent boject (optional) (default to null)
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The name of the parent boject (optional) (default to null)
String *calendarGoogleId = 1; // The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event. (optional) (default to null)
Long *timeStamp = 1; // The timestamp of the session (optional) (default to null)

// Get Session Data
[apiInstance v1SessionsListByCalendarGetWith:familyUuid
    patientUuid:patientUuid
    calendarGoogleId:calendarGoogleId
    timeStamp:timeStamp
              completionHandler: ^(array[session] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'familyUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The name of the parent boject
  'patientUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The name of the parent boject
  'calendarGoogleId': 1, // {String} The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
  'timeStamp': 1 // {Long} The timestamp of the session
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionsListByCalendarGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsListByCalendarGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The name of the parent boject (optional)  (default to null)
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The name of the parent boject (optional)  (default to null)
            var calendarGoogleId = 1;  // String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event. (optional)  (default to null)
            var timeStamp = 1;  // Long | The timestamp of the session (optional)  (default to null)

            try {
                // Get Session Data
                array[session] result = apiInstance.v1SessionsListByCalendarGet(familyUuid, patientUuid, calendarGoogleId, timeStamp);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsListByCalendarGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The name of the parent boject
$calendarGoogleId = 1; // String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
$timeStamp = 1; // Long | The timestamp of the session

try {
    $result = $api_instance->v1SessionsListByCalendarGet($familyUuid, $patientUuid, $calendarGoogleId, $timeStamp);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsListByCalendarGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The name of the parent boject
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The name of the parent boject
my $calendarGoogleId = 1; # String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
my $timeStamp = 1; # Long | The timestamp of the session

eval {
    my $result = $api_instance->v1SessionsListByCalendarGet(familyUuid => $familyUuid, patientUuid => $patientUuid, calendarGoogleId => $calendarGoogleId, timeStamp => $timeStamp);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsListByCalendarGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The name of the parent boject (optional) (default to null)
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The name of the parent boject (optional) (default to null)
calendarGoogleId = 1 # String | The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event. (optional) (default to null)
timeStamp = 1 # Long | The timestamp of the session (optional) (default to null)

try:
    # Get Session Data
    api_response = api_instance.v1_sessions_list_by_calendar_get(familyUuid=familyUuid, patientUuid=patientUuid, calendarGoogleId=calendarGoogleId, timeStamp=timeStamp)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsListByCalendarGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let familyUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let calendarGoogleId = 1; // String
    let timeStamp = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsListByCalendarGet(familyUuid, patientUuid, calendarGoogleId, timeStamp, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
familyUuid
String
The name of the parent boject
patientUuid
String
The name of the parent boject
calendarGoogleId
String
The calendarEventId a calendar entry. This is used when the session is directly created from a calendar event.
timeStamp
Long (int64)
The timestamp of the session

Responses


v1SessionsPost

Save a new session

This creates a new session in the database


/v1/sessions

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/sessions" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Session session = ; // Session | 

        try {
            session result = apiInstance.v1SessionsPost(session);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Session session = new Session(); // Session | 

try {
    final result = await api_instance.v1SessionsPost(session);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Session session = ; // Session | 

        try {
            session result = apiInstance.v1SessionsPost(session);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Session *session = ; //  (optional)

// Save a new session
[apiInstance v1SessionsPostWith:session
              completionHandler: ^(session output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'session':  // {Session} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var session = new Session(); // Session |  (optional) 

            try {
                // Save a new session
                session result = apiInstance.v1SessionsPost(session);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$session = ; // Session | 

try {
    $result = $api_instance->v1SessionsPost($session);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $session = WWW::OPenAPIClient::Object::Session->new(); # Session | 

eval {
    my $result = $api_instance->v1SessionsPost(session => $session);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
session =  # Session |  (optional)

try:
    # Save a new session
    api_response = api_instance.v1_sessions_post(session=session)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let session = ; // Session

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsPost(session, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
session

Responses


v1SessionsPut

Update Session Data

This updates a session


/v1/sessions

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/sessions?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.
        Session session = ; // Session | 

        try {
            session result = apiInstance.v1SessionsPut(uuid, session);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the session.
final Session session = new Session(); // Session | 

try {
    final result = await api_instance.v1SessionsPut(uuid, session);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.
        Session session = ; // Session | 

        try {
            session result = apiInstance.v1SessionsPut(uuid, session);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session. (default to null)
Session *session = ; //  (optional)

// Update Session Data
[apiInstance v1SessionsPutWith:uuid
    session:session
              completionHandler: ^(session output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the session.
var opts = {
  'session':  // {Session} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session. (default to null)
            var session = new Session(); // Session |  (optional) 

            try {
                // Update Session Data
                session result = apiInstance.v1SessionsPut(uuid, session);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.
$session = ; // Session | 

try {
    $result = $api_instance->v1SessionsPut($uuid, $session);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session.
my $session = WWW::OPenAPIClient::Object::Session->new(); # Session | 

eval {
    my $result = $api_instance->v1SessionsPut(uuid => $uuid, session => $session);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session. (default to null)
session =  # Session |  (optional)

try:
    # Update Session Data
    api_response = api_instance.v1_sessions_put(uuid, session=session)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let session = ; // Session

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsPut(uuid, session, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
session

Query parameters
NameDescription
uuid*
String
The UUID of the session.
Required

Responses


v1SessionsSetopenstatePut

updated the open (billed) status of a session.

This updates the open status of a session. This is only relevant for the open bills view. The session is not actually billed until the bill is created, it is just filtered from a view.


/v1/sessions/setopenstate

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/sessions/setopenstate?billed=true&uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&user_id=123"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean billed = true; // Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.
        Long userId = 123; // Long | The ID of the user who owns the session.

        try {
            apiInstance.v1SessionsSetopenstatePut(billed, uuid, userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsSetopenstatePut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean billed = new Boolean(); // Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view.
final String uuid = new String(); // String | The UUID of the session.
final Long userId = new Long(); // Long | The ID of the user who owns the session.

try {
    final result = await api_instance.v1SessionsSetopenstatePut(billed, uuid, userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsSetopenstatePut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean billed = true; // Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view.
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.
        Long userId = 123; // Long | The ID of the user who owns the session.

        try {
            apiInstance.v1SessionsSetopenstatePut(billed, uuid, userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsSetopenstatePut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *billed = true; // if the session is open (unbilled) or not. This is only relevant for the open bills view. (default to null)
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the session. (default to null)
Long *userId = 123; // The ID of the user who owns the session. (default to null)

// updated the open (billed) status of a session.
[apiInstance v1SessionsSetopenstatePutWith:billed
    uuid:uuid
    userId:userId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var billed = true; // {Boolean} if the session is open (unbilled) or not. This is only relevant for the open bills view.
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the session.
var userId = 123; // {Long} The ID of the user who owns the session.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SessionsSetopenstatePut(billed, uuid, userId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsSetopenstatePutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var billed = true;  // Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view. (default to null)
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the session. (default to null)
            var userId = 123;  // Long | The ID of the user who owns the session. (default to null)

            try {
                // updated the open (billed) status of a session.
                apiInstance.v1SessionsSetopenstatePut(billed, uuid, userId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsSetopenstatePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$billed = true; // Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view.
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the session.
$userId = 123; // Long | The ID of the user who owns the session.

try {
    $api_instance->v1SessionsSetopenstatePut($billed, $uuid, $userId);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsSetopenstatePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $billed = true; # Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view.
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the session.
my $userId = 123; # Long | The ID of the user who owns the session.

eval {
    $api_instance->v1SessionsSetopenstatePut(billed => $billed, uuid => $uuid, userId => $userId);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsSetopenstatePut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
billed = true # Boolean | if the session is open (unbilled) or not. This is only relevant for the open bills view. (default to null)
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the session. (default to null)
userId = 123 # Long | The ID of the user who owns the session. (default to null)

try:
    # updated the open (billed) status of a session.
    api_instance.v1_sessions_setopenstate_put(billed, uuid, userId)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsSetopenstatePut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let billed = true; // Boolean
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let userId = 123; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsSetopenstatePut(billed, uuid, userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
billed*
Boolean
if the session is open (unbilled) or not. This is only relevant for the open bills view.
Required
uuid*
String
The UUID of the session.
Required
user_id*
Long (int64)
The ID of the user who owns the session.
Required

Responses


v1SessionsUnbilledGet

Get all sessions that don't have a bill associated with it.

This returns all sessions


/v1/sessions/unbilled

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/sessions/unbilled?limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[session] result = apiInstance.v1SessionsUnbilledGet(limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsUnbilledGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1SessionsUnbilledGet(limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SessionsUnbilledGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[session] result = apiInstance.v1SessionsUnbilledGet(limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SessionsUnbilledGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get all sessions that don't have a bill associated with it.
[apiInstance v1SessionsUnbilledGetWith:limit
              completionHandler: ^(array[session] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SessionsUnbilledGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SessionsUnbilledGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get all sessions that don't have a bill associated with it.
                array[session] result = apiInstance.v1SessionsUnbilledGet(limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SessionsUnbilledGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1SessionsUnbilledGet($limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SessionsUnbilledGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1SessionsUnbilledGet(limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SessionsUnbilledGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get all sessions that don't have a bill associated with it.
    api_response = api_instance.v1_sessions_unbilled_get(limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SessionsUnbilledGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1SessionsUnbilledGet(limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many datasets to return

Responses


v1SlienceSessionLimitPut

Silence Session Limit

Silences the session limit for a specific patient or family.


/v1/slience-session-limit

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/slience-session-limit?patientUuid=123e4567-e89b-12d3-a456-426614174000&familyUuid=123e4567-e89b-12d3-a456-426614174001"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 123e4567-e89b-12d3-a456-426614174000; // String | The UUID of the patient to silence the session limit for
        String familyUuid = 123e4567-e89b-12d3-a456-426614174001; // String | The UUID of the family to silence the session limit for

        try {
            apiInstance.v1SlienceSessionLimitPut(patientUuid, familyUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SlienceSessionLimitPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient to silence the session limit for
final String familyUuid = new String(); // String | The UUID of the family to silence the session limit for

try {
    final result = await api_instance.v1SlienceSessionLimitPut(patientUuid, familyUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SlienceSessionLimitPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 123e4567-e89b-12d3-a456-426614174000; // String | The UUID of the patient to silence the session limit for
        String familyUuid = 123e4567-e89b-12d3-a456-426614174001; // String | The UUID of the family to silence the session limit for

        try {
            apiInstance.v1SlienceSessionLimitPut(patientUuid, familyUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SlienceSessionLimitPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 123e4567-e89b-12d3-a456-426614174000; // The UUID of the patient to silence the session limit for (optional) (default to null)
String *familyUuid = 123e4567-e89b-12d3-a456-426614174001; // The UUID of the family to silence the session limit for (optional) (default to null)

// Silence Session Limit
[apiInstance v1SlienceSessionLimitPutWith:patientUuid
    familyUuid:familyUuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'patientUuid': 123e4567-e89b-12d3-a456-426614174000, // {String} The UUID of the patient to silence the session limit for
  'familyUuid': 123e4567-e89b-12d3-a456-426614174001 // {String} The UUID of the family to silence the session limit for
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SlienceSessionLimitPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SlienceSessionLimitPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 123e4567-e89b-12d3-a456-426614174000;  // String | The UUID of the patient to silence the session limit for (optional)  (default to null)
            var familyUuid = 123e4567-e89b-12d3-a456-426614174001;  // String | The UUID of the family to silence the session limit for (optional)  (default to null)

            try {
                // Silence Session Limit
                apiInstance.v1SlienceSessionLimitPut(patientUuid, familyUuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SlienceSessionLimitPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 123e4567-e89b-12d3-a456-426614174000; // String | The UUID of the patient to silence the session limit for
$familyUuid = 123e4567-e89b-12d3-a456-426614174001; // String | The UUID of the family to silence the session limit for

try {
    $api_instance->v1SlienceSessionLimitPut($patientUuid, $familyUuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SlienceSessionLimitPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 123e4567-e89b-12d3-a456-426614174000; # String | The UUID of the patient to silence the session limit for
my $familyUuid = 123e4567-e89b-12d3-a456-426614174001; # String | The UUID of the family to silence the session limit for

eval {
    $api_instance->v1SlienceSessionLimitPut(patientUuid => $patientUuid, familyUuid => $familyUuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SlienceSessionLimitPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 123e4567-e89b-12d3-a456-426614174000 # String | The UUID of the patient to silence the session limit for (optional) (default to null)
familyUuid = 123e4567-e89b-12d3-a456-426614174001 # String | The UUID of the family to silence the session limit for (optional) (default to null)

try:
    # Silence Session Limit
    api_instance.v1_slience_session_limit_put(patientUuid=patientUuid, familyUuid=familyUuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SlienceSessionLimitPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 123e4567-e89b-12d3-a456-426614174000; // String
    let familyUuid = 123e4567-e89b-12d3-a456-426614174001; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SlienceSessionLimitPut(patientUuid, familyUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
patientUuid
String
The UUID of the patient to silence the session limit for
familyUuid
String
The UUID of the family to silence the session limit for

Responses


v1StatusPsychicusPut

sets the status psychicus of the patient

updates a patient's status psychicus


/v1/status-psychicus

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/status-psychicus?patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.

        try {
            apiInstance.v1StatusPsychicusPut(patientUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1StatusPsychicusPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.

try {
    final result = await api_instance.v1StatusPsychicusPut(patientUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1StatusPsychicusPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.

        try {
            apiInstance.v1StatusPsychicusPut(patientUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1StatusPsychicusPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable. (optional) (default to null)

// sets the status psychicus of the patient
[apiInstance v1StatusPsychicusPutWith:patientUuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'patientUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 // {String} The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1StatusPsychicusPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1StatusPsychicusPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable. (optional)  (default to null)

            try {
                // sets the status psychicus of the patient
                apiInstance.v1StatusPsychicusPut(patientUuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1StatusPsychicusPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.

try {
    $api_instance->v1StatusPsychicusPut($patientUuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1StatusPsychicusPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.

eval {
    $api_instance->v1StatusPsychicusPut(patientUuid => $patientUuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1StatusPsychicusPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable. (optional) (default to null)

try:
    # sets the status psychicus of the patient
    api_instance.v1_status_psychicus_put(patientUuid=patientUuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1StatusPsychicusPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1StatusPsychicusPut(patientUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
patientUuid
String
The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.

Responses


v1TherapsyImportGet

Start the therapsy import

Requires and assumes that therapsy-upload has been called before.


/v1/therapsy-import

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: text/plain" \
 "https://app.psido.at/api/v1/therapsy-import?user_id=1&override_password=password"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        String overridePassword = password; // String | The override_password of the user. Can only be used for users with role == ROOT

        try {
            'String' result = apiInstance.v1TherapsyImportGet(userId, overridePassword);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TherapsyImportGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userId = new Long(); // Long | The user_id of the user. Can only be used for users with role == ROOT
final String overridePassword = new String(); // String | The override_password of the user. Can only be used for users with role == ROOT

try {
    final result = await api_instance.v1TherapsyImportGet(userId, overridePassword);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TherapsyImportGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
        String overridePassword = password; // String | The override_password of the user. Can only be used for users with role == ROOT

        try {
            'String' result = apiInstance.v1TherapsyImportGet(userId, overridePassword);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TherapsyImportGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userId = 1; // The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
String *overridePassword = password; // The override_password of the user. Can only be used for users with role == ROOT (optional) (default to null)

// Start the therapsy import
[apiInstance v1TherapsyImportGetWith:userId
    overridePassword:overridePassword
              completionHandler: ^('String' output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'userId': 1, // {Long} The user_id of the user. Can only be used for users with role == ROOT
  'overridePassword': password // {String} The override_password of the user. Can only be used for users with role == ROOT
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TherapsyImportGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TherapsyImportGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userId = 1;  // Long | The user_id of the user. Can only be used for users with role == ROOT (optional)  (default to null)
            var overridePassword = password;  // String | The override_password of the user. Can only be used for users with role == ROOT (optional)  (default to null)

            try {
                // Start the therapsy import
                'String' result = apiInstance.v1TherapsyImportGet(userId, overridePassword);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TherapsyImportGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userId = 1; // Long | The user_id of the user. Can only be used for users with role == ROOT
$overridePassword = password; // String | The override_password of the user. Can only be used for users with role == ROOT

try {
    $result = $api_instance->v1TherapsyImportGet($userId, $overridePassword);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TherapsyImportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userId = 1; # Long | The user_id of the user. Can only be used for users with role == ROOT
my $overridePassword = password; # String | The override_password of the user. Can only be used for users with role == ROOT

eval {
    my $result = $api_instance->v1TherapsyImportGet(userId => $userId, overridePassword => $overridePassword);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TherapsyImportGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userId = 1 # Long | The user_id of the user. Can only be used for users with role == ROOT (optional) (default to null)
overridePassword = password # String | The override_password of the user. Can only be used for users with role == ROOT (optional) (default to null)

try:
    # Start the therapsy import
    api_response = api_instance.v1_therapsy_import_get(userId=userId, overridePassword=overridePassword)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TherapsyImportGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userId = 1; // Long
    let overridePassword = password; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TherapsyImportGet(userId, overridePassword, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
user_id
Long (int64)
The user_id of the user. Can only be used for users with role == ROOT
override_password
String
The override_password of the user. Can only be used for users with role == ROOT

Responses


v1TherapsyUploadPost

Upload a file to an object

This uploads a therapsy data export


/v1/therapsy-upload

Usage and SDK Samples

curl -X POST \
 \
 "https://app.psido.at/api/v1/therapsy-upload"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1TherapsyUploadPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TherapsyUploadPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1TherapsyUploadPost();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TherapsyUploadPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1TherapsyUploadPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TherapsyUploadPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Upload a file to an object
[apiInstance v1TherapsyUploadPostWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1TherapsyUploadPost(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TherapsyUploadPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Upload a file to an object
                apiInstance.v1TherapsyUploadPost();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TherapsyUploadPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1TherapsyUploadPost();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TherapsyUploadPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1TherapsyUploadPost();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TherapsyUploadPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Upload a file to an object
    api_instance.v1_therapsy_upload_post()
except ApiException as e:
    print("Exception when calling DefaultApi->v1TherapsyUploadPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1TherapsyUploadPost(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1TodosDelete

Deletes an todo

This deletes a todo from the database


/v1/todos

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/todos?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo.

        try {
            todo result = apiInstance.v1TodosDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the todo.

try {
    final result = await api_instance.v1TodosDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TodosDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo.

        try {
            todo result = apiInstance.v1TodosDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the todo. (default to null)

// Deletes an todo
[apiInstance v1TodosDeleteWith:uuid
              completionHandler: ^(todo output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the todo.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TodosDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TodosDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the todo. (default to null)

            try {
                // Deletes an todo
                todo result = apiInstance.v1TodosDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TodosDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo.

try {
    $result = $api_instance->v1TodosDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TodosDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the todo.

eval {
    my $result = $api_instance->v1TodosDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TodosDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the todo. (default to null)

try:
    # Deletes an todo
    api_response = api_instance.v1_todos_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TodosDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TodosDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the todo.
Required

Responses


v1TodosGet

Get todos

This returns all todos


/v1/todos

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/todos?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo. If not set, the request will return all todos.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[todo] result = apiInstance.v1TodosGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the todo. If not set, the request will return all todos.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1TodosGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TodosGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo. If not set, the request will return all todos.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[todo] result = apiInstance.v1TodosGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the todo. If not set, the request will return all todos. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get todos
[apiInstance v1TodosGetWith:uuid
    limit:limit
              completionHandler: ^(array[todo] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the todo. If not set, the request will return all todos.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TodosGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TodosGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the todo. If not set, the request will return all todos. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get todos
                array[todo] result = apiInstance.v1TodosGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TodosGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo. If not set, the request will return all todos.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1TodosGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TodosGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the todo. If not set, the request will return all todos.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1TodosGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TodosGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the todo. If not set, the request will return all todos. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get todos
    api_response = api_instance.v1_todos_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TodosGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1TodosGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the todo. If not set, the request will return all todos.
limit
Integer
How many datasets to return

Responses


v1TodosPost

Save a new todo

This creates a new todo in the database


/v1/todos

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/todos" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Todo todo = ; // Todo | 

        try {
            todo result = apiInstance.v1TodosPost(todo);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Todo todo = new Todo(); // Todo | 

try {
    final result = await api_instance.v1TodosPost(todo);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TodosPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Todo todo = ; // Todo | 

        try {
            todo result = apiInstance.v1TodosPost(todo);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Todo *todo = ; //  (optional)

// Save a new todo
[apiInstance v1TodosPostWith:todo
              completionHandler: ^(todo output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'todo':  // {Todo} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TodosPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TodosPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var todo = new Todo(); // Todo |  (optional) 

            try {
                // Save a new todo
                todo result = apiInstance.v1TodosPost(todo);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TodosPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$todo = ; // Todo | 

try {
    $result = $api_instance->v1TodosPost($todo);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TodosPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $todo = WWW::OPenAPIClient::Object::Todo->new(); # Todo | 

eval {
    my $result = $api_instance->v1TodosPost(todo => $todo);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TodosPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
todo =  # Todo |  (optional)

try:
    # Save a new todo
    api_response = api_instance.v1_todos_post(todo=todo)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TodosPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let todo = ; // Todo

    let mut context = DefaultApi::Context::default();
    let result = client.v1TodosPost(todo, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
todo

Responses


v1TodosPut

Update todo

This updates an todo


/v1/todos

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/todos?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo.
        Todo todo = ; // Todo | 

        try {
            todo result = apiInstance.v1TodosPut(uuid, todo);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the todo.
final Todo todo = new Todo(); // Todo | 

try {
    final result = await api_instance.v1TodosPut(uuid, todo);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TodosPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo.
        Todo todo = ; // Todo | 

        try {
            todo result = apiInstance.v1TodosPut(uuid, todo);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TodosPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the todo. (default to null)
Todo *todo = ; //  (optional)

// Update todo
[apiInstance v1TodosPutWith:uuid
    todo:todo
              completionHandler: ^(todo output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the todo.
var opts = {
  'todo':  // {Todo} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TodosPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TodosPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the todo. (default to null)
            var todo = new Todo(); // Todo |  (optional) 

            try {
                // Update todo
                todo result = apiInstance.v1TodosPut(uuid, todo);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TodosPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the todo.
$todo = ; // Todo | 

try {
    $result = $api_instance->v1TodosPut($uuid, $todo);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TodosPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the todo.
my $todo = WWW::OPenAPIClient::Object::Todo->new(); # Todo | 

eval {
    my $result = $api_instance->v1TodosPut(uuid => $uuid, todo => $todo);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TodosPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the todo. (default to null)
todo =  # Todo |  (optional)

try:
    # Update todo
    api_response = api_instance.v1_todos_put(uuid, todo=todo)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TodosPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let todo = ; // Todo

    let mut context = DefaultApi::Context::default();
    let result = client.v1TodosPut(uuid, todo, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
todo

Query parameters
NameDescription
uuid*
String
The UUID of the todo.
Required

Responses


v1UsersChangePasswordPut

Changes password

changes password, requires old password and new password


/v1/users/change-password

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/users/change-password" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ChangePassword changePassword = ; // ChangePassword | 

        try {
            apiInstance.v1UsersChangePasswordPut(changePassword);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersChangePasswordPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ChangePassword changePassword = new ChangePassword(); // ChangePassword | 

try {
    final result = await api_instance.v1UsersChangePasswordPut(changePassword);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersChangePasswordPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ChangePassword changePassword = ; // ChangePassword | 

        try {
            apiInstance.v1UsersChangePasswordPut(changePassword);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersChangePasswordPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ChangePassword *changePassword = ; //  (optional)

// Changes password
[apiInstance v1UsersChangePasswordPutWith:changePassword
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'changePassword':  // {ChangePassword} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersChangePasswordPut(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersChangePasswordPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var changePassword = new ChangePassword(); // ChangePassword |  (optional) 

            try {
                // Changes password
                apiInstance.v1UsersChangePasswordPut(changePassword);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersChangePasswordPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$changePassword = ; // ChangePassword | 

try {
    $api_instance->v1UsersChangePasswordPut($changePassword);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersChangePasswordPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $changePassword = WWW::OPenAPIClient::Object::ChangePassword->new(); # ChangePassword | 

eval {
    $api_instance->v1UsersChangePasswordPut(changePassword => $changePassword);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersChangePasswordPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
changePassword =  # ChangePassword |  (optional)

try:
    # Changes password
    api_instance.v1_users_change_password_put(changePassword=changePassword)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersChangePasswordPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let changePassword = ; // ChangePassword

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersChangePasswordPut(changePassword, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
changePassword

Responses


v1UsersDelete

Delete the user from the system

Deletes the user from the system


/v1/users

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/users"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1UsersDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1UsersDelete();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.v1UsersDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete the user from the system
[apiInstance v1UsersDeleteWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersDelete(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Delete the user from the system
                apiInstance.v1UsersDelete();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->v1UsersDelete();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->v1UsersDelete();
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Delete the user from the system
    api_instance.v1_users_delete()
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersDelete(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1UsersExistsGet

check if the user exists inside of psido

check if the user exists. This is an anonymous call and used in the signup process.


/v1/users/exists

Usage and SDK Samples

curl -X GET \
 \
-H "token: [[apiKey]]" \
 "https://app.psido.at/api/v1/users/exists?username=wogri@wogri.com"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String username = wogri@wogri.com; // String | username

        try {
            apiInstance.v1UsersExistsGet(username);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersExistsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String username = new String(); // String | username

try {
    final result = await api_instance.v1UsersExistsGet(username);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersExistsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String username = wogri@wogri.com; // String | username

        try {
            apiInstance.v1UsersExistsGet(username);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersExistsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];

// Configure API key authorization: (authentication scheme: ApiKeyAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *username = wogri@wogri.com; // username (default to null)

// check if the user exists inside of psido
[apiInstance v1UsersExistsGetWith:username
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var username = wogri@wogri.com; // {String} username

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersExistsGet(username, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersExistsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");
            // Configure API key authorization: ApiKeyAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var username = wogri@wogri.com;  // String | username (default to null)

            try {
                // check if the user exists inside of psido
                apiInstance.v1UsersExistsGet(username);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersExistsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: ApiKeyAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$username = wogri@wogri.com; // String | username

try {
    $api_instance->v1UsersExistsGet($username);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersExistsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Configure API key authorization: ApiKeyAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $username = wogri@wogri.com; # String | username

eval {
    $api_instance->v1UsersExistsGet(username => $username);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersExistsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Configure API key authorization: ApiKeyAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
username = wogri@wogri.com # String | username (default to null)

try:
    # check if the user exists inside of psido
    api_instance.v1_users_exists_get(username)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersExistsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let username = wogri@wogri.com; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersExistsGet(username, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
username*
String
username
Required

Responses


v1UsersGet

get the user's billing details from the system

get user billing details


/v1/users

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/users"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            user result = apiInstance.v1UsersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1UsersGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            user result = apiInstance.v1UsersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// get the user's billing details from the system
[apiInstance v1UsersGetWithCompletionHandler: 
              ^(user output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // get the user's billing details from the system
                user result = apiInstance.v1UsersGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1UsersGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1UsersGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # get the user's billing details from the system
    api_response = api_instance.v1_users_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1UsersInitiateResetPasswordPost

Initiate the reset password procedure for a user

Initiates the password reset procuedure for a user. Only requires an E-Mail Address in the user schema. This will then create a unique id and send out an e-mail to the user.


/v1/users/initiate-reset-password

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/users/initiate-reset-password" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1UsersInitiateResetPasswordPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersInitiateResetPasswordPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final User user = new User(); // User | 

try {
    final result = await api_instance.v1UsersInitiateResetPasswordPost(user);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersInitiateResetPasswordPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1UsersInitiateResetPasswordPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersInitiateResetPasswordPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
User *user = ; // 

// Initiate the reset password procedure for a user
[apiInstance v1UsersInitiateResetPasswordPostWith:user
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var user = ; // {User} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersInitiateResetPasswordPost(user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersInitiateResetPasswordPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var user = new User(); // User | 

            try {
                // Initiate the reset password procedure for a user
                apiInstance.v1UsersInitiateResetPasswordPost(user);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersInitiateResetPasswordPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$user = ; // User | 

try {
    $api_instance->v1UsersInitiateResetPasswordPost($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersInitiateResetPasswordPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $user = WWW::OPenAPIClient::Object::User->new(); # User | 

eval {
    $api_instance->v1UsersInitiateResetPasswordPost(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersInitiateResetPasswordPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
user =  # User | 

try:
    # Initiate the reset password procedure for a user
    api_instance.v1_users_initiate_reset_password_post(user)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersInitiateResetPasswordPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let user = ; // User

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersInitiateResetPasswordPost(user, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
user *

Responses


v1UsersListGet

list all users. only available for root users.

returns all users in the system. only available for root users.


/v1/users/list

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/users/list?userid=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Long userid = 1; // Long | user id, optional. returns all users if not set.

        try {
            usersListResponse result = apiInstance.v1UsersListGet(userid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersListGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long userid = new Long(); // Long | user id, optional. returns all users if not set.

try {
    final result = await api_instance.v1UsersListGet(userid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersListGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long userid = 1; // Long | user id, optional. returns all users if not set.

        try {
            usersListResponse result = apiInstance.v1UsersListGet(userid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersListGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Long *userid = 1; // user id, optional. returns all users if not set. (optional) (default to null)

// list all users. only available for root users.
[apiInstance v1UsersListGetWith:userid
              completionHandler: ^(usersListResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'userid': 1 // {Long} user id, optional. returns all users if not set.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersListGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersListGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userid = 1;  // Long | user id, optional. returns all users if not set. (optional)  (default to null)

            try {
                // list all users. only available for root users.
                usersListResponse result = apiInstance.v1UsersListGet(userid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userid = 1; // Long | user id, optional. returns all users if not set.

try {
    $result = $api_instance->v1UsersListGet($userid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userid = 1; # Long | user id, optional. returns all users if not set.

eval {
    my $result = $api_instance->v1UsersListGet(userid => $userid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersListGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userid = 1 # Long | user id, optional. returns all users if not set. (optional) (default to null)

try:
    # list all users. only available for root users.
    api_response = api_instance.v1_users_list_get(userid=userid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersListGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userid = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersListGet(userid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
userid
Long (int64)
user id, optional. returns all users if not set.

Responses


v1UsersLockPost

Locks a user by setting the locked_at timestamp in the proto, according to the last paid bill. A batch job will then detect the timestamp and lock the user for real.

locks the user


/v1/users/lock

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/users/lock?dryrun=true&unlock=true&user_id=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't actually lock the user.
        Boolean unlock = true; // Boolean | Unlock a user. Default is to lock.
        Long userId = 1; // Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges

        try {
            userLockResponse result = apiInstance.v1UsersLockPost(dryrun, unlock, userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersLockPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't actually lock the user.
final Boolean unlock = new Boolean(); // Boolean | Unlock a user. Default is to lock.
final Long userId = new Long(); // Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges

try {
    final result = await api_instance.v1UsersLockPost(dryrun, unlock, userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersLockPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't actually lock the user.
        Boolean unlock = true; // Boolean | Unlock a user. Default is to lock.
        Long userId = 1; // Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges

        try {
            userLockResponse result = apiInstance.v1UsersLockPost(dryrun, unlock, userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersLockPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't actually lock the user. (optional) (default to null)
Boolean *unlock = true; // Unlock a user. Default is to lock. (optional) (default to null)
Long *userId = 1; // the user id - returns the latest bill for a user id. Can only be overridden used with root privileges (optional) (default to null)

// Locks a user by setting the locked_at timestamp in the proto, according to the last paid bill. A batch job will then detect the timestamp and lock the user for real.
[apiInstance v1UsersLockPostWith:dryrun
    unlock:unlock
    userId:userId
              completionHandler: ^(userLockResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true, // {Boolean} Do a dry-run and don't actually lock the user.
  'unlock': true, // {Boolean} Unlock a user. Default is to lock.
  'userId': 1 // {Long} the user id - returns the latest bill for a user id. Can only be overridden used with root privileges
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersLockPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersLockPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't actually lock the user. (optional)  (default to null)
            var unlock = true;  // Boolean | Unlock a user. Default is to lock. (optional)  (default to null)
            var userId = 1;  // Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges (optional)  (default to null)

            try {
                // Locks a user by setting the locked_at timestamp in the proto, according to the last paid bill. A batch job will then detect the timestamp and lock the user for real.
                userLockResponse result = apiInstance.v1UsersLockPost(dryrun, unlock, userId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersLockPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't actually lock the user.
$unlock = true; // Boolean | Unlock a user. Default is to lock.
$userId = 1; // Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges

try {
    $result = $api_instance->v1UsersLockPost($dryrun, $unlock, $userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersLockPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't actually lock the user.
my $unlock = true; # Boolean | Unlock a user. Default is to lock.
my $userId = 1; # Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges

eval {
    my $result = $api_instance->v1UsersLockPost(dryrun => $dryrun, unlock => $unlock, userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersLockPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't actually lock the user. (optional) (default to null)
unlock = true # Boolean | Unlock a user. Default is to lock. (optional) (default to null)
userId = 1 # Long | the user id - returns the latest bill for a user id. Can only be overridden used with root privileges (optional) (default to null)

try:
    # Locks a user by setting the locked_at timestamp in the proto, according to the last paid bill. A batch job will then detect the timestamp and lock the user for real.
    api_response = api_instance.v1_users_lock_post(dryrun=dryrun, unlock=unlock, userId=userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersLockPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean
    let unlock = true; // Boolean
    let userId = 1; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersLockPost(dryrun, unlock, userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't actually lock the user.
unlock
Boolean
Unlock a user. Default is to lock.
user_id
Long (int64)
the user id - returns the latest bill for a user id. Can only be overridden used with root privileges

Responses


v1UsersOauthGooglePost

Do the Google OAuth dance

Runs an OAuth authorisation on Google's side, returns a code with scopes that then needs to be converted to a long lived refresh token. This needs to be an authenticated request (with a cookie).


/v1/users/oauth/google

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/users/oauth/google" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        GoogleOauth2Request googleOauth2Request = ; // GoogleOauth2Request | 

        try {
            apiInstance.v1UsersOauthGooglePost(googleOauth2Request);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersOauthGooglePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final GoogleOauth2Request googleOauth2Request = new GoogleOauth2Request(); // GoogleOauth2Request | 

try {
    final result = await api_instance.v1UsersOauthGooglePost(googleOauth2Request);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersOauthGooglePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        GoogleOauth2Request googleOauth2Request = ; // GoogleOauth2Request | 

        try {
            apiInstance.v1UsersOauthGooglePost(googleOauth2Request);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersOauthGooglePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
GoogleOauth2Request *googleOauth2Request = ; // 

// Do the Google OAuth dance
[apiInstance v1UsersOauthGooglePostWith:googleOauth2Request
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var googleOauth2Request = ; // {GoogleOauth2Request} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersOauthGooglePost(googleOauth2Request, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersOauthGooglePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var googleOauth2Request = new GoogleOauth2Request(); // GoogleOauth2Request | 

            try {
                // Do the Google OAuth dance
                apiInstance.v1UsersOauthGooglePost(googleOauth2Request);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersOauthGooglePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$googleOauth2Request = ; // GoogleOauth2Request | 

try {
    $api_instance->v1UsersOauthGooglePost($googleOauth2Request);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersOauthGooglePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $googleOauth2Request = WWW::OPenAPIClient::Object::GoogleOauth2Request->new(); # GoogleOauth2Request | 

eval {
    $api_instance->v1UsersOauthGooglePost(googleOauth2Request => $googleOauth2Request);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersOauthGooglePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
googleOauth2Request =  # GoogleOauth2Request | 

try:
    # Do the Google OAuth dance
    api_instance.v1_users_oauth_google_post(googleOauth2Request)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersOauthGooglePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let googleOauth2Request = ; // GoogleOauth2Request

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersOauthGooglePost(googleOauth2Request, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
googleOauth2Request *

Responses


v1UsersPost

Create the user in the system.

signup.


/v1/users

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/users" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1UsersPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final User user = new User(); // User | 

try {
    final result = await api_instance.v1UsersPost(user);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1UsersPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
User *user = ; // 

// Create the user in the system.
[apiInstance v1UsersPostWith:user
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var user = ; // {User} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersPost(user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var user = new User(); // User | 

            try {
                // Create the user in the system.
                apiInstance.v1UsersPost(user);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$user = ; // User | 

try {
    $api_instance->v1UsersPost($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $user = WWW::OPenAPIClient::Object::User->new(); # User | 

eval {
    $api_instance->v1UsersPost(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
user =  # User | 

try:
    # Create the user in the system.
    api_instance.v1_users_post(user)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let user = ; // User

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersPost(user, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
user *

Responses


v1UsersResetPasswordPut

resets password for a user

Resets the password for a user.


/v1/users/reset-password

Usage and SDK Samples

curl -X PUT \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/users/reset-password" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        PasswordReset passwordReset = ; // PasswordReset | 

        try {
            apiInstance.v1UsersResetPasswordPut(passwordReset);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersResetPasswordPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final PasswordReset passwordReset = new PasswordReset(); // PasswordReset | 

try {
    final result = await api_instance.v1UsersResetPasswordPut(passwordReset);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersResetPasswordPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        PasswordReset passwordReset = ; // PasswordReset | 

        try {
            apiInstance.v1UsersResetPasswordPut(passwordReset);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersResetPasswordPut");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
PasswordReset *passwordReset = ; // 

// resets password for a user
[apiInstance v1UsersResetPasswordPutWith:passwordReset
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var passwordReset = ; // {PasswordReset} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersResetPasswordPut(passwordReset, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersResetPasswordPutExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var passwordReset = new PasswordReset(); // PasswordReset | 

            try {
                // resets password for a user
                apiInstance.v1UsersResetPasswordPut(passwordReset);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersResetPasswordPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$passwordReset = ; // PasswordReset | 

try {
    $api_instance->v1UsersResetPasswordPut($passwordReset);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersResetPasswordPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $passwordReset = WWW::OPenAPIClient::Object::PasswordReset->new(); # PasswordReset | 

eval {
    $api_instance->v1UsersResetPasswordPut(passwordReset => $passwordReset);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersResetPasswordPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
passwordReset =  # PasswordReset | 

try:
    # resets password for a user
    api_instance.v1_users_reset_password_put(passwordReset)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersResetPasswordPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let passwordReset = ; // PasswordReset

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersResetPasswordPut(passwordReset, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
passwordReset *

Responses


v1UsersSendSmsPost

sends an SMS with the OTP to the user

sends an sms with the otp via an api gateway to the user


/v1/users/send-sms

Usage and SDK Samples

curl -X POST \
 \
-H "token: [[apiKey]]" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/users/send-sms" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1UsersSendSmsPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersSendSmsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final User user = new User(); // User | 

try {
    final result = await api_instance.v1UsersSendSmsPost(user);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersSendSmsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        User user = ; // User | 

        try {
            apiInstance.v1UsersSendSmsPost(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersSendSmsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];

// Configure API key authorization: (authentication scheme: ApiKeyAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
User *user = ; // 

// sends an SMS with the OTP to the user
[apiInstance v1UsersSendSmsPostWith:user
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var user = ; // {User} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersSendSmsPost(user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersSendSmsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");
            // Configure API key authorization: ApiKeyAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var user = new User(); // User | 

            try {
                // sends an SMS with the OTP to the user
                apiInstance.v1UsersSendSmsPost(user);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersSendSmsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: ApiKeyAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$user = ; // User | 

try {
    $api_instance->v1UsersSendSmsPost($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersSendSmsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Configure API key authorization: ApiKeyAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $user = WWW::OPenAPIClient::Object::User->new(); # User | 

eval {
    $api_instance->v1UsersSendSmsPost(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersSendSmsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Configure API key authorization: ApiKeyAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
user =  # User | 

try:
    # sends an SMS with the OTP to the user
    api_instance.v1_users_send_sms_post(user)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersSendSmsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let user = ; // User

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersSendSmsPost(user, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
user *

Responses


v1UsersStaticPaymentPut

sets a static payment price for the user

sets a static payment price for the user, which will be used for the payment. Can have an expiry date


/v1/users/static-payment

Usage and SDK Samples

curl -X PUT \
 \
 "https://app.psido.at/api/v1/users/static-payment?price=15.0&validUntil=15395993939393&userId=1"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer price = 15.0; // Integer | the price to set for the user, this can be an arbitrary price
        Long userId = 1; // Long | the userId to set the price for. If not set, nothing will be done.
        Long validUntil = 15395993939393; // Long | the unix timestamp until the price is valid. If not set, the price is valid forever.

        try {
            apiInstance.v1UsersStaticPaymentPut(price, userId, validUntil);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersStaticPaymentPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer price = new Integer(); // Integer | the price to set for the user, this can be an arbitrary price
final Long userId = new Long(); // Long | the userId to set the price for. If not set, nothing will be done.
final Long validUntil = new Long(); // Long | the unix timestamp until the price is valid. If not set, the price is valid forever.

try {
    final result = await api_instance.v1UsersStaticPaymentPut(price, userId, validUntil);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersStaticPaymentPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer price = 15.0; // Integer | the price to set for the user, this can be an arbitrary price
        Long userId = 1; // Long | the userId to set the price for. If not set, nothing will be done.
        Long validUntil = 15395993939393; // Long | the unix timestamp until the price is valid. If not set, the price is valid forever.

        try {
            apiInstance.v1UsersStaticPaymentPut(price, userId, validUntil);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersStaticPaymentPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *price = 15.0; // the price to set for the user, this can be an arbitrary price (default to null)
Long *userId = 1; // the userId to set the price for. If not set, nothing will be done. (default to null)
Long *validUntil = 15395993939393; // the unix timestamp until the price is valid. If not set, the price is valid forever. (optional) (default to null)

// sets a static payment price for the user
[apiInstance v1UsersStaticPaymentPutWith:price
    userId:userId
    validUntil:validUntil
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var price = 15.0; // {Integer} the price to set for the user, this can be an arbitrary price
var userId = 1; // {Long} the userId to set the price for. If not set, nothing will be done.
var opts = {
  'validUntil': 15395993939393 // {Long} the unix timestamp until the price is valid. If not set, the price is valid forever.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersStaticPaymentPut(price, userId, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersStaticPaymentPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var price = 15.0;  // Integer | the price to set for the user, this can be an arbitrary price (default to null)
            var userId = 1;  // Long | the userId to set the price for. If not set, nothing will be done. (default to null)
            var validUntil = 15395993939393;  // Long | the unix timestamp until the price is valid. If not set, the price is valid forever. (optional)  (default to null)

            try {
                // sets a static payment price for the user
                apiInstance.v1UsersStaticPaymentPut(price, userId, validUntil);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersStaticPaymentPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$price = 15.0; // Integer | the price to set for the user, this can be an arbitrary price
$userId = 1; // Long | the userId to set the price for. If not set, nothing will be done.
$validUntil = 15395993939393; // Long | the unix timestamp until the price is valid. If not set, the price is valid forever.

try {
    $api_instance->v1UsersStaticPaymentPut($price, $userId, $validUntil);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersStaticPaymentPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $price = 15.0; # Integer | the price to set for the user, this can be an arbitrary price
my $userId = 1; # Long | the userId to set the price for. If not set, nothing will be done.
my $validUntil = 15395993939393; # Long | the unix timestamp until the price is valid. If not set, the price is valid forever.

eval {
    $api_instance->v1UsersStaticPaymentPut(price => $price, userId => $userId, validUntil => $validUntil);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersStaticPaymentPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
price = 15.0 # Integer | the price to set for the user, this can be an arbitrary price (default to null)
userId = 1 # Long | the userId to set the price for. If not set, nothing will be done. (default to null)
validUntil = 15395993939393 # Long | the unix timestamp until the price is valid. If not set, the price is valid forever. (optional) (default to null)

try:
    # sets a static payment price for the user
    api_instance.v1_users_static_payment_put(price, userId, validUntil=validUntil)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersStaticPaymentPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let price = 15.0; // Integer
    let userId = 1; // Long
    let validUntil = 15395993939393; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersStaticPaymentPut(price, userId, validUntil, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
price*
Integer
the price to set for the user, this can be an arbitrary price
Required
validUntil
Long (int64)
the unix timestamp until the price is valid. If not set, the price is valid forever.
userId*
Long (int64)
the userId to set the price for. If not set, nothing will be done.
Required

Responses


v1UsersStatisticsGet

Get User statistics

This returns user statistics - can only be used by ROOT users


/v1/users/statistics

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/users/statistics?limit=5&usertype=regular"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many days into the past to return data for. The default is 30 days.
        String usertype = regular; // String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.

        try {
            array[userStatistic] result = apiInstance.v1UsersStatisticsGet(limit, usertype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersStatisticsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer limit = new Integer(); // Integer | How many days into the past to return data for. The default is 30 days.
final String usertype = new String(); // String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.

try {
    final result = await api_instance.v1UsersStatisticsGet(limit, usertype);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersStatisticsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer limit = 5; // Integer | How many days into the past to return data for. The default is 30 days.
        String usertype = regular; // String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.

        try {
            array[userStatistic] result = apiInstance.v1UsersStatisticsGet(limit, usertype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersStatisticsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *limit = 5; // How many days into the past to return data for. The default is 30 days. (optional) (default to null)
String *usertype = regular; // The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'. (optional) (default to null)

// Get User statistics
[apiInstance v1UsersStatisticsGetWith:limit
    usertype:usertype
              completionHandler: ^(array[userStatistic] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'limit': 5, // {Integer} How many days into the past to return data for. The default is 30 days.
  'usertype': regular // {String} The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersStatisticsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersStatisticsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = 5;  // Integer | How many days into the past to return data for. The default is 30 days. (optional)  (default to null)
            var usertype = regular;  // String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'. (optional)  (default to null)

            try {
                // Get User statistics
                array[userStatistic] result = apiInstance.v1UsersStatisticsGet(limit, usertype);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersStatisticsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = 5; // Integer | How many days into the past to return data for. The default is 30 days.
$usertype = regular; // String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.

try {
    $result = $api_instance->v1UsersStatisticsGet($limit, $usertype);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersStatisticsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = 5; # Integer | How many days into the past to return data for. The default is 30 days.
my $usertype = regular; # String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.

eval {
    my $result = $api_instance->v1UsersStatisticsGet(limit => $limit, usertype => $usertype);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersStatisticsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = 5 # Integer | How many days into the past to return data for. The default is 30 days. (optional) (default to null)
usertype = regular # String | The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'. (optional) (default to null)

try:
    # Get User statistics
    api_response = api_instance.v1_users_statistics_get(limit=limit, usertype=usertype)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersStatisticsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = 5; // Integer
    let usertype = regular; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersStatisticsGet(limit, usertype, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
limit
Integer
How many days into the past to return data for. The default is 30 days.
usertype
String
The user_type of the user. Can only be used for users with role == ROOT. Defaults to 'regular'.

Responses


v1UsersTerminatePost

Terminates all users who have their locked_at date set in the past.

This usually runs automatically on the server, its exposed for the cli.


/v1/users/terminate

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/users/terminate?dryrun=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't actually lock the user.

        try {
            userTerminateResponse result = apiInstance.v1UsersTerminatePost(dryrun);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersTerminatePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean dryrun = new Boolean(); // Boolean | Do a dry-run and don't actually lock the user.

try {
    final result = await api_instance.v1UsersTerminatePost(dryrun);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersTerminatePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean dryrun = true; // Boolean | Do a dry-run and don't actually lock the user.

        try {
            userTerminateResponse result = apiInstance.v1UsersTerminatePost(dryrun);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersTerminatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *dryrun = true; // Do a dry-run and don't actually lock the user. (optional) (default to null)

// Terminates all users who have their locked_at date set in the past.
[apiInstance v1UsersTerminatePostWith:dryrun
              completionHandler: ^(userTerminateResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'dryrun': true // {Boolean} Do a dry-run and don't actually lock the user.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersTerminatePost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersTerminatePostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var dryrun = true;  // Boolean | Do a dry-run and don't actually lock the user. (optional)  (default to null)

            try {
                // Terminates all users who have their locked_at date set in the past.
                userTerminateResponse result = apiInstance.v1UsersTerminatePost(dryrun);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersTerminatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$dryrun = true; // Boolean | Do a dry-run and don't actually lock the user.

try {
    $result = $api_instance->v1UsersTerminatePost($dryrun);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersTerminatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $dryrun = true; # Boolean | Do a dry-run and don't actually lock the user.

eval {
    my $result = $api_instance->v1UsersTerminatePost(dryrun => $dryrun);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersTerminatePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
dryrun = true # Boolean | Do a dry-run and don't actually lock the user. (optional) (default to null)

try:
    # Terminates all users who have their locked_at date set in the past.
    api_response = api_instance.v1_users_terminate_post(dryrun=dryrun)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersTerminatePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let dryrun = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersTerminatePost(dryrun, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
dryrun
Boolean
Do a dry-run and don't actually lock the user.

Responses


v1VerifyDomainPost

verifies if the emailAddress is valid, without authentication. It doesn't do any smtp callouts to prevent abuse

This endpoint does a callout to the email verification service to check if the email is valid


/v1/verify-domain

Usage and SDK Samples

curl -X POST \
 \
-H "token: [[apiKey]]" \
 "https://app.psido.at/api/v1/verify-domain?emailAddress=kontakt@psido.at"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String emailAddress = kontakt@psido.at; // String | The email address to verify

        try {
            apiInstance.v1VerifyDomainPost(emailAddress);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VerifyDomainPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String emailAddress = new String(); // String | The email address to verify

try {
    final result = await api_instance.v1VerifyDomainPost(emailAddress);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VerifyDomainPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String emailAddress = kontakt@psido.at; // String | The email address to verify

        try {
            apiInstance.v1VerifyDomainPost(emailAddress);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VerifyDomainPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];

// Configure API key authorization: (authentication scheme: ApiKeyAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *emailAddress = kontakt@psido.at; // The email address to verify (default to null)

// verifies if the emailAddress is valid, without authentication. It doesn't do any smtp callouts to prevent abuse
[apiInstance v1VerifyDomainPostWith:emailAddress
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Configure API key authorization: ApiKeyAuth
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var emailAddress = kontakt@psido.at; // {String} The email address to verify

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1VerifyDomainPost(emailAddress, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VerifyDomainPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");
            // Configure API key authorization: ApiKeyAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var emailAddress = kontakt@psido.at;  // String | The email address to verify (default to null)

            try {
                // verifies if the emailAddress is valid, without authentication. It doesn't do any smtp callouts to prevent abuse
                apiInstance.v1VerifyDomainPost(emailAddress);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VerifyDomainPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: ApiKeyAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$emailAddress = kontakt@psido.at; // String | The email address to verify

try {
    $api_instance->v1VerifyDomainPost($emailAddress);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VerifyDomainPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Configure API key authorization: ApiKeyAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $emailAddress = kontakt@psido.at; # String | The email address to verify

eval {
    $api_instance->v1VerifyDomainPost(emailAddress => $emailAddress);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VerifyDomainPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Configure API key authorization: ApiKeyAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
emailAddress = kontakt@psido.at # String | The email address to verify (default to null)

try:
    # verifies if the emailAddress is valid, without authentication. It doesn't do any smtp callouts to prevent abuse
    api_instance.v1_verify_domain_post(emailAddress)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VerifyDomainPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let emailAddress = kontakt@psido.at; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VerifyDomainPost(emailAddress, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
emailAddress*
String
The email address to verify
Required

Responses


v1VerifyEmailPost

verifies if the emailAddress is valid

This endpoint does a callout to the email verification service to check if the email is valid


/v1/verify-email

Usage and SDK Samples

curl -X POST \
 \
 "https://app.psido.at/api/v1/verify-email?patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&emailAddress=kontakt@psido.at"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
        String emailAddress = kontakt@psido.at; // String | The email address to verify

        try {
            apiInstance.v1VerifyEmailPost(patientUuid, emailAddress);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VerifyEmailPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
final String emailAddress = new String(); // String | The email address to verify

try {
    final result = await api_instance.v1VerifyEmailPost(patientUuid, emailAddress);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VerifyEmailPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
        String emailAddress = kontakt@psido.at; // String | The email address to verify

        try {
            apiInstance.v1VerifyEmailPost(patientUuid, emailAddress);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VerifyEmailPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable. (optional) (default to null)
String *emailAddress = kontakt@psido.at; // The email address to verify (optional) (default to null)

// verifies if the emailAddress is valid
[apiInstance v1VerifyEmailPostWith:patientUuid
    emailAddress:emailAddress
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'patientUuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
  'emailAddress': kontakt@psido.at // {String} The email address to verify
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1VerifyEmailPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VerifyEmailPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable. (optional)  (default to null)
            var emailAddress = kontakt@psido.at;  // String | The email address to verify (optional)  (default to null)

            try {
                // verifies if the emailAddress is valid
                apiInstance.v1VerifyEmailPost(patientUuid, emailAddress);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VerifyEmailPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
$emailAddress = kontakt@psido.at; // String | The email address to verify

try {
    $api_instance->v1VerifyEmailPost($patientUuid, $emailAddress);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VerifyEmailPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
my $emailAddress = kontakt@psido.at; # String | The email address to verify

eval {
    $api_instance->v1VerifyEmailPost(patientUuid => $patientUuid, emailAddress => $emailAddress);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VerifyEmailPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable. (optional) (default to null)
emailAddress = kontakt@psido.at # String | The email address to verify (optional) (default to null)

try:
    # verifies if the emailAddress is valid
    api_instance.v1_verify_email_post(patientUuid=patientUuid, emailAddress=emailAddress)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VerifyEmailPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let emailAddress = kontakt@psido.at; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VerifyEmailPost(patientUuid, emailAddress, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
patientUuid
String
The UUID of the patient. This is used during self service. This is the only way to verify the email for a patient who is not logged in. The patient needs to be public editable.
emailAddress
String
The email address to verify

Responses


v1WaitlistDelete

remove a patient from the waitlist

removes a patient from the waitlist


/v1/waitlist

Usage and SDK Samples

curl -X DELETE \
 \
 "https://app.psido.at/api/v1/waitlist?patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. required.

        try {
            apiInstance.v1WaitlistDelete(patientUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient. required.

try {
    final result = await api_instance.v1WaitlistDelete(patientUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1WaitlistDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. required.

        try {
            apiInstance.v1WaitlistDelete(patientUuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. required. (default to null)

// remove a patient from the waitlist
[apiInstance v1WaitlistDeleteWith:patientUuid
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient. required.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1WaitlistDelete(patientUuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1WaitlistDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. required. (default to null)

            try {
                // remove a patient from the waitlist
                apiInstance.v1WaitlistDelete(patientUuid);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1WaitlistDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. required.

try {
    $api_instance->v1WaitlistDelete($patientUuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1WaitlistDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. required.

eval {
    $api_instance->v1WaitlistDelete(patientUuid => $patientUuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1WaitlistDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. required. (default to null)

try:
    # remove a patient from the waitlist
    api_instance.v1_waitlist_delete(patientUuid)
except ApiException as e:
    print("Exception when calling DefaultApi->v1WaitlistDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1WaitlistDelete(patientUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
patientUuid*
String
The UUID of the patient. required.
Required

Responses


v1WaitlistGet

get the waitlist

returns the waitlist


/v1/waitlist

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/waitlist"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[patient] result = apiInstance.v1WaitlistGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1WaitlistGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1WaitlistGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[patient] result = apiInstance.v1WaitlistGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// get the waitlist
[apiInstance v1WaitlistGetWithCompletionHandler: 
              ^(array[patient] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1WaitlistGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1WaitlistGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // get the waitlist
                array[patient] result = apiInstance.v1WaitlistGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1WaitlistGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1WaitlistGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1WaitlistGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1WaitlistGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1WaitlistGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # get the waitlist
    api_response = api_instance.v1_waitlist_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1WaitlistGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1WaitlistGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1WaitlistPost

add a patient to the waitlist

adds a patient to the last spot of the waitlist


/v1/waitlist

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/waitlist?patientUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. required.

        try {
            patient result = apiInstance.v1WaitlistPost(patientUuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String patientUuid = new String(); // String | The UUID of the patient. required.

try {
    final result = await api_instance.v1WaitlistPost(patientUuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1WaitlistPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. required.

        try {
            patient result = apiInstance.v1WaitlistPost(patientUuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the patient. required. (default to null)

// add a patient to the waitlist
[apiInstance v1WaitlistPostWith:patientUuid
              completionHandler: ^(patient output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the patient. required.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1WaitlistPost(patientUuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1WaitlistPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the patient. required. (default to null)

            try {
                // add a patient to the waitlist
                patient result = apiInstance.v1WaitlistPost(patientUuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1WaitlistPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the patient. required.

try {
    $result = $api_instance->v1WaitlistPost($patientUuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1WaitlistPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the patient. required.

eval {
    my $result = $api_instance->v1WaitlistPost(patientUuid => $patientUuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1WaitlistPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the patient. required. (default to null)

try:
    # add a patient to the waitlist
    api_response = api_instance.v1_waitlist_post(patientUuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1WaitlistPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patientUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1WaitlistPost(patientUuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
patientUuid*
String
The UUID of the patient. required.
Required

Responses


v1WaitlistPut

update the order of the waitlist

updates the order of the waitlist by sending a list of uuids and their new order


/v1/waitlist

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/waitlist" \
 -d '{
  "country" : "Austria",
  "staticSessionPrice" : 7.0614014,
  "calendarEventGoogleId" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
  "ageDescription" : "12 Jahre, 2 Monate, 47 Tage",
  "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
  "ssn" : "12345678",
  "emailAddress" : "asdf@asdf.com",
  "sessionAppointmentDescription" : "1.2.2024, 2.3.2024",
  "emailBill" : true,
  "notifyCalendar" : true,
  "sendSelfServiceWithEncryptionEnforced" : true,
  "firstNameLastName" : "Max Mustermann",
  "statusPsychicusEntries" : [ {
    "generationDate" : "2023-10-01T12:00:00Z",
    "statusPsychicus" : "alert"
  }, {
    "generationDate" : "2023-10-01T12:00:00Z",
    "statusPsychicus" : "alert"
  } ],
  "zip" : 1234,
  "healthInsurance" : "Österreichische Gesundheitskasse",
  "silenceSessionLimit" : false,
  "sessions" : [ {
    "sessionTypeDescription" : "Einzeltherapie für Erwachsene um 50 €",
    "sessionDate" : "2000-01-23",
    "numberOfSessionsFloat" : 1.5,
    "customFields" : [ {
      "textbox" : {
        "value" : "Raucher, 'true', etc",
        "height" : 1
      },
      "selfServiceMandatory" : true,
      "visibleAtSelfService" : true,
      "label" : "Raucher",
      "uuid" : "1234-5678-9101",
      "dropdown" : {
        "options" : [ {
          "value" : "Ja",
          "key" : "true"
        }, {
          "value" : "Ja",
          "key" : "true"
        } ],
        "value" : "Raucher"
      },
      "required" : true,
      "input" : {
        "value" : "Raucher, 'true', etc",
        "contentType" : "text, number, email, etc"
      },
      "getsPrinted" : true,
      "inputNumber" : {
        "value" : 5.2
      },
      "checkbox" : {
        "labelTrue" : "Ja",
        "labelFalse" : "Nein",
        "value" : true
      },
      "name" : "smoker",
      "elementType" : "input",
      "headline" : {
        "name" : "Raucher",
        "value" : "Raucher, 'true', etc",
        "order" : 1
      },
      "order" : 1,
      "object" : "patient"
    }, {
      "textbox" : {
        "value" : "Raucher, 'true', etc",
        "height" : 1
      },
      "selfServiceMandatory" : true,
      "visibleAtSelfService" : true,
      "label" : "Raucher",
      "uuid" : "1234-5678-9101",
      "dropdown" : {
        "options" : [ {
          "value" : "Ja",
          "key" : "true"
        }, {
          "value" : "Ja",
          "key" : "true"
        } ],
        "value" : "Raucher"
      },
      "required" : true,
      "input" : {
        "value" : "Raucher, 'true', etc",
        "contentType" : "text, number, email, etc"
      },
      "getsPrinted" : true,
      "inputNumber" : {
        "value" : 5.2
      },
      "checkbox" : {
        "labelTrue" : "Ja",
        "labelFalse" : "Nein",
        "value" : true
      },
      "name" : "smoker",
      "elementType" : "input",
      "headline" : {
        "name" : "Raucher",
        "value" : "Raucher, 'true', etc",
        "order" : 1
      },
      "order" : 1,
      "object" : "patient"
    } ],
    "calendarGoogleId" : "1",
    "units" : 1,
    "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "flatRate" : true,
    "billed" : true,
    "sessionTypeIsAnamnesis" : true,
    "unitString" : "unitString",
    "patient" : {
      "zip" : 1234,
      "firstName" : "Max",
      "lastName" : "Mustermann",
      "country" : "Österreich",
      "city" : "Musterstadt",
      "street" : "Musterstrasse 5",
      "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "birthDate" : "1980-01-01",
      "encryptionPassword" : "1234567890",
      "ssn" : "1234567890"
    },
    "additionalDescription" : "This is a test",
    "sessionPrice" : 90,
    "unitDurationDescription" : "1h 20min",
    "procedures" : [ {
      "reportForm" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      } ],
      "procedureType" : "1234",
      "procedureDate" : "2000-01-23",
      "shortName" : "1234",
      "uuid" : "1234",
      "longName" : "1234"
    }, {
      "reportForm" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      } ],
      "procedureType" : "1234",
      "procedureDate" : "2000-01-23",
      "shortName" : "1234",
      "uuid" : "1234",
      "longName" : "1234"
    } ],
    "sessionType" : "Anamnesegespräch",
    "sessionTypeUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "bills" : [ {
      "billNumber" : 2022010301,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
    }, {
      "billNumber" : 2022010301,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
    } ],
    "participants" : "Max Mustermann",
    "unitPrice" : 90,
    "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "diagnosis" : "ICD-F18: Depression",
    "preferredBillTemplateUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "numberOfSessionPricing" : true,
    "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "comment" : "This was a wonderful session",
    "internalInfo" : "This is a test",
    "numberOfSessions" : 1
  }, {
    "sessionTypeDescription" : "Einzeltherapie für Erwachsene um 50 €",
    "sessionDate" : "2000-01-23",
    "numberOfSessionsFloat" : 1.5,
    "customFields" : [ {
      "textbox" : {
        "value" : "Raucher, 'true', etc",
        "height" : 1
      },
      "selfServiceMandatory" : true,
      "visibleAtSelfService" : true,
      "label" : "Raucher",
      "uuid" : "1234-5678-9101",
      "dropdown" : {
        "options" : [ {
          "value" : "Ja",
          "key" : "true"
        }, {
          "value" : "Ja",
          "key" : "true"
        } ],
        "value" : "Raucher"
      },
      "required" : true,
      "input" : {
        "value" : "Raucher, 'true', etc",
        "contentType" : "text, number, email, etc"
      },
      "getsPrinted" : true,
      "inputNumber" : {
        "value" : 5.2
      },
      "checkbox" : {
        "labelTrue" : "Ja",
        "labelFalse" : "Nein",
        "value" : true
      },
      "name" : "smoker",
      "elementType" : "input",
      "headline" : {
        "name" : "Raucher",
        "value" : "Raucher, 'true', etc",
        "order" : 1
      },
      "order" : 1,
      "object" : "patient"
    }, {
      "textbox" : {
        "value" : "Raucher, 'true', etc",
        "height" : 1
      },
      "selfServiceMandatory" : true,
      "visibleAtSelfService" : true,
      "label" : "Raucher",
      "uuid" : "1234-5678-9101",
      "dropdown" : {
        "options" : [ {
          "value" : "Ja",
          "key" : "true"
        }, {
          "value" : "Ja",
          "key" : "true"
        } ],
        "value" : "Raucher"
      },
      "required" : true,
      "input" : {
        "value" : "Raucher, 'true', etc",
        "contentType" : "text, number, email, etc"
      },
      "getsPrinted" : true,
      "inputNumber" : {
        "value" : 5.2
      },
      "checkbox" : {
        "labelTrue" : "Ja",
        "labelFalse" : "Nein",
        "value" : true
      },
      "name" : "smoker",
      "elementType" : "input",
      "headline" : {
        "name" : "Raucher",
        "value" : "Raucher, 'true', etc",
        "order" : 1
      },
      "order" : 1,
      "object" : "patient"
    } ],
    "calendarGoogleId" : "1",
    "units" : 1,
    "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "flatRate" : true,
    "billed" : true,
    "sessionTypeIsAnamnesis" : true,
    "unitString" : "unitString",
    "patient" : {
      "zip" : 1234,
      "firstName" : "Max",
      "lastName" : "Mustermann",
      "country" : "Österreich",
      "city" : "Musterstadt",
      "street" : "Musterstrasse 5",
      "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "birthDate" : "1980-01-01",
      "encryptionPassword" : "1234567890",
      "ssn" : "1234567890"
    },
    "additionalDescription" : "This is a test",
    "sessionPrice" : 90,
    "unitDurationDescription" : "1h 20min",
    "procedures" : [ {
      "reportForm" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      } ],
      "procedureType" : "1234",
      "procedureDate" : "2000-01-23",
      "shortName" : "1234",
      "uuid" : "1234",
      "longName" : "1234"
    }, {
      "reportForm" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "table" : {
          "tableheader" : [ {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          }, {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          } ],
          "rows" : [ {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          }, {
            "columns" : [ {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            }, {
              "input" : {
                "value" : "Raucher, 'true', etc",
                "contentType" : "text, number, email, etc"
              },
              "dropdown" : {
                "options" : [ {
                  "value" : "Ja",
                  "key" : "true"
                }, {
                  "value" : "Ja",
                  "key" : "true"
                } ],
                "value" : "Raucher"
              }
            } ]
          } ],
          "order" : 1
        },
        "order" : 1
      } ],
      "procedureType" : "1234",
      "procedureDate" : "2000-01-23",
      "shortName" : "1234",
      "uuid" : "1234",
      "longName" : "1234"
    } ],
    "sessionType" : "Anamnesegespräch",
    "sessionTypeUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "bills" : [ {
      "billNumber" : 2022010301,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
    }, {
      "billNumber" : 2022010301,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
    } ],
    "participants" : "Max Mustermann",
    "unitPrice" : 90,
    "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "diagnosis" : "ICD-F18: Depression",
    "preferredBillTemplateUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "numberOfSessionPricing" : true,
    "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "comment" : "This was a wonderful session",
    "internalInfo" : "This is a test",
    "numberOfSessions" : 1
  } ],
  "privacyProtectionAccepted" : true,
  "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
  "waitlistSpot" : 1,
  "emergencyContact" : "Max Mustermann",
  "diagnosis" : "ADHS",
  "academicTitle" : "DI (FH)",
  "firstContact" : "2020-01-01",
  "firstName" : "Max",
  "phoneNumber" : "0664/1234567",
  "locationOverride" : "Linz",
  "disableLocation" : true,
  "fullAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
  "treatmentPlan" : "First step: talk to the patient, next step: play a game",
  "lastName" : "Mustermann",
  "role" : "Kind",
  "editableInPublic" : true,
  "city" : "Entenhausen",
  "customFields" : [ {
    "textbox" : {
      "value" : "Raucher, 'true', etc",
      "height" : 1
    },
    "selfServiceMandatory" : true,
    "visibleAtSelfService" : true,
    "label" : "Raucher",
    "uuid" : "1234-5678-9101",
    "dropdown" : {
      "options" : [ {
        "value" : "Ja",
        "key" : "true"
      }, {
        "value" : "Ja",
        "key" : "true"
      } ],
      "value" : "Raucher"
    },
    "required" : true,
    "input" : {
      "value" : "Raucher, 'true', etc",
      "contentType" : "text, number, email, etc"
    },
    "getsPrinted" : true,
    "inputNumber" : {
      "value" : 5.2
    },
    "checkbox" : {
      "labelTrue" : "Ja",
      "labelFalse" : "Nein",
      "value" : true
    },
    "name" : "smoker",
    "elementType" : "input",
    "headline" : {
      "name" : "Raucher",
      "value" : "Raucher, 'true', etc",
      "order" : 1
    },
    "order" : 1,
    "object" : "patient"
  }, {
    "textbox" : {
      "value" : "Raucher, 'true', etc",
      "height" : 1
    },
    "selfServiceMandatory" : true,
    "visibleAtSelfService" : true,
    "label" : "Raucher",
    "uuid" : "1234-5678-9101",
    "dropdown" : {
      "options" : [ {
        "value" : "Ja",
        "key" : "true"
      }, {
        "value" : "Ja",
        "key" : "true"
      } ],
      "value" : "Raucher"
    },
    "required" : true,
    "input" : {
      "value" : "Raucher, 'true', etc",
      "contentType" : "text, number, email, etc"
    },
    "getsPrinted" : true,
    "inputNumber" : {
      "value" : 5.2
    },
    "checkbox" : {
      "labelTrue" : "Ja",
      "labelFalse" : "Nein",
      "value" : true
    },
    "name" : "smoker",
    "elementType" : "input",
    "headline" : {
      "name" : "Raucher",
      "value" : "Raucher, 'true', etc",
      "order" : 1
    },
    "order" : 1,
    "object" : "patient"
  } ],
  "privacyProtectionAgreement" : "privacyProtectionAgreement",
  "emergencyContactPhoneNumber" : "0664/1234567",
  "statusPsychicus" : "ADHS",
  "street" : "Laglstrasse 1",
  "company" : "Google",
  "bills" : [ {
    "template" : {
      "notPaidText" : "notPaidText",
      "showsSSN" : true,
      "spaceBeforeSignature" : true,
      "defaultTemplate" : true,
      "myBIC" : "myBIC",
      "greetings" : "greetings",
      "myWebsite" : "myWebsite",
      "paidText" : "paidText",
      "signatureOnTheLeft" : true,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "hideQR" : true,
      "myTaxNumber" : "myTaxNumber",
      "myMailAddress" : "myMailAddress",
      "disableFensterMarken" : true,
      "uid" : "ATU12345678",
      "signatureMargin" : 1.4658129805029452,
      "myBankName" : "myBankName",
      "skipMyName" : true,
      "showsInsurance" : true,
      "myName" : "myName",
      "letterPaperUrl" : {
        "filename" : "bla.jpg",
        "size" : 124,
        "modificationTime" : 1652605791,
        "highlighted" : true,
        "sizeString" : "20KB",
        "modificationTimeString" : "2023-10-02",
        "directory" : "/home/user",
        "content" : "content"
      },
      "headline" : "headline",
      "myStreet" : "myStreet",
      "letterEnding" : "letterEnding",
      "heading" : "heading",
      "showsBirthdate" : true,
      "signatureFile" : {
        "filename" : "bla.jpg",
        "size" : 124,
        "modificationTime" : 1652605791,
        "highlighted" : true,
        "sizeString" : "20KB",
        "modificationTimeString" : "2023-10-02",
        "directory" : "/home/user",
        "content" : "content"
      },
      "vat" : 0.8008281904610115,
      "mySignature" : "mySignature",
      "ignoreMyAddressInLetterHead" : true,
      "templateName" : "templateName",
      "smallSignatureFont" : true,
      "ignoreFooter" : true,
      "myIBAN" : "myIBAN",
      "myPhone" : "myPhone",
      "signatureHeight" : 6.027456183070403,
      "myCity" : "myCity",
      "letterBeginning" : "letterBeginning",
      "sansSerifFont" : true,
      "myShortName" : "myShortName"
    },
    "emailBody" : "Hallo, Bla.",
    "concernedPatient" : "John Doe",
    "qrFile" : "/path/to/qr.png",
    "customText" : "Lorem ipsum",
    "mailBodyOverride" : "Lorem ipsum",
    "sum" : 190,
    "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "emailSubject" : "Ihre Rechnung",
    "typstTemplatePath" : "/path/to/template.typ",
    "reminderSentAt" : 5,
    "concernsText" : "Lorem ipsum",
    "flatRate" : true,
    "attachmentKey" : "attachment-key",
    "alternateBillNumber" : "ZPC-20220/01",
    "yourReferenceNumber" : "1234-15",
    "sumWithVat" : 190,
    "patientAddress" : "Max Mustermann",
    "hasQR" : true,
    "patientBirthdate" : "2021-01-03",
    "patientName" : "John Doe",
    "sessions" : [ {
      "sessionTypeDescription" : "Einzeltherapie für Erwachsene um 50 €",
      "sessionDate" : "2000-01-23",
      "numberOfSessionsFloat" : 1.5,
      "customFields" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      } ],
      "calendarGoogleId" : "1",
      "units" : 1,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "flatRate" : true,
      "billed" : true,
      "sessionTypeIsAnamnesis" : true,
      "unitString" : "unitString",
      "patient" : {
        "zip" : 1234,
        "firstName" : "Max",
        "lastName" : "Mustermann",
        "country" : "Österreich",
        "city" : "Musterstadt",
        "street" : "Musterstrasse 5",
        "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
        "birthDate" : "1980-01-01",
        "encryptionPassword" : "1234567890",
        "ssn" : "1234567890"
      },
      "additionalDescription" : "This is a test",
      "sessionPrice" : 90,
      "unitDurationDescription" : "1h 20min",
      "procedures" : [ {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      }, {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      } ],
      "sessionType" : "Anamnesegespräch",
      "sessionTypeUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "bills" : [ {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      }, {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      } ],
      "participants" : "Max Mustermann",
      "unitPrice" : 90,
      "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "diagnosis" : "ICD-F18: Depression",
      "preferredBillTemplateUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "numberOfSessionPricing" : true,
      "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "comment" : "This was a wonderful session",
      "internalInfo" : "This is a test",
      "numberOfSessions" : 1
    }, {
      "sessionTypeDescription" : "Einzeltherapie für Erwachsene um 50 €",
      "sessionDate" : "2000-01-23",
      "numberOfSessionsFloat" : 1.5,
      "customFields" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      } ],
      "calendarGoogleId" : "1",
      "units" : 1,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "flatRate" : true,
      "billed" : true,
      "sessionTypeIsAnamnesis" : true,
      "unitString" : "unitString",
      "patient" : {
        "zip" : 1234,
        "firstName" : "Max",
        "lastName" : "Mustermann",
        "country" : "Österreich",
        "city" : "Musterstadt",
        "street" : "Musterstrasse 5",
        "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
        "birthDate" : "1980-01-01",
        "encryptionPassword" : "1234567890",
        "ssn" : "1234567890"
      },
      "additionalDescription" : "This is a test",
      "sessionPrice" : 90,
      "unitDurationDescription" : "1h 20min",
      "procedures" : [ {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      }, {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      } ],
      "sessionType" : "Anamnesegespräch",
      "sessionTypeUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "bills" : [ {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      }, {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      } ],
      "participants" : "Max Mustermann",
      "unitPrice" : 90,
      "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "diagnosis" : "ICD-F18: Depression",
      "preferredBillTemplateUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "numberOfSessionPricing" : true,
      "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "comment" : "This was a wonderful session",
      "internalInfo" : "This is a test",
      "numberOfSessions" : 1
    } ],
    "concernedPatientObject" : {
      "zip" : 1234,
      "firstName" : "Max",
      "lastName" : "Mustermann",
      "country" : "Österreich",
      "city" : "Musterstadt",
      "street" : "Musterstrasse 5",
      "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "birthDate" : "1980-01-01",
      "encryptionPassword" : "1234567890",
      "ssn" : "1234567890"
    },
    "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "emailSentAt" : 5,
    "diagnosis" : "ICD-10 F32.1 - Mittelgradige depressive Episode",
    "billDate" : "2021-01-03",
    "patientSSN" : "1234567890",
    "billYear" : 23,
    "selectedFamilyMemberObject" : {
      "zip" : 1234,
      "firstName" : "Max",
      "lastName" : "Mustermann",
      "country" : "Österreich",
      "city" : "Musterstadt",
      "street" : "Musterstrasse 5",
      "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "birthDate" : "1980-01-01",
      "encryptionPassword" : "1234567890",
      "ssn" : "1234567890"
    },
    "cashboxReceiptURL" : "https://example.com",
    "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "patientInsurance" : "1234567890",
    "cashboxReceiptUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "createReceipt" : true,
    "paid" : true,
    "mailto" : "john@doe.com",
    "comment" : "10 Euros extra credit",
    "billNumber" : 2022010301,
    "paidInCash" : true,
    "sumVat" : 190,
    "payDate" : "2021-01-03"
  }, {
    "template" : {
      "notPaidText" : "notPaidText",
      "showsSSN" : true,
      "spaceBeforeSignature" : true,
      "defaultTemplate" : true,
      "myBIC" : "myBIC",
      "greetings" : "greetings",
      "myWebsite" : "myWebsite",
      "paidText" : "paidText",
      "signatureOnTheLeft" : true,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "hideQR" : true,
      "myTaxNumber" : "myTaxNumber",
      "myMailAddress" : "myMailAddress",
      "disableFensterMarken" : true,
      "uid" : "ATU12345678",
      "signatureMargin" : 1.4658129805029452,
      "myBankName" : "myBankName",
      "skipMyName" : true,
      "showsInsurance" : true,
      "myName" : "myName",
      "letterPaperUrl" : {
        "filename" : "bla.jpg",
        "size" : 124,
        "modificationTime" : 1652605791,
        "highlighted" : true,
        "sizeString" : "20KB",
        "modificationTimeString" : "2023-10-02",
        "directory" : "/home/user",
        "content" : "content"
      },
      "headline" : "headline",
      "myStreet" : "myStreet",
      "letterEnding" : "letterEnding",
      "heading" : "heading",
      "showsBirthdate" : true,
      "signatureFile" : {
        "filename" : "bla.jpg",
        "size" : 124,
        "modificationTime" : 1652605791,
        "highlighted" : true,
        "sizeString" : "20KB",
        "modificationTimeString" : "2023-10-02",
        "directory" : "/home/user",
        "content" : "content"
      },
      "vat" : 0.8008281904610115,
      "mySignature" : "mySignature",
      "ignoreMyAddressInLetterHead" : true,
      "templateName" : "templateName",
      "smallSignatureFont" : true,
      "ignoreFooter" : true,
      "myIBAN" : "myIBAN",
      "myPhone" : "myPhone",
      "signatureHeight" : 6.027456183070403,
      "myCity" : "myCity",
      "letterBeginning" : "letterBeginning",
      "sansSerifFont" : true,
      "myShortName" : "myShortName"
    },
    "emailBody" : "Hallo, Bla.",
    "concernedPatient" : "John Doe",
    "qrFile" : "/path/to/qr.png",
    "customText" : "Lorem ipsum",
    "mailBodyOverride" : "Lorem ipsum",
    "sum" : 190,
    "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "emailSubject" : "Ihre Rechnung",
    "typstTemplatePath" : "/path/to/template.typ",
    "reminderSentAt" : 5,
    "concernsText" : "Lorem ipsum",
    "flatRate" : true,
    "attachmentKey" : "attachment-key",
    "alternateBillNumber" : "ZPC-20220/01",
    "yourReferenceNumber" : "1234-15",
    "sumWithVat" : 190,
    "patientAddress" : "Max Mustermann",
    "hasQR" : true,
    "patientBirthdate" : "2021-01-03",
    "patientName" : "John Doe",
    "sessions" : [ {
      "sessionTypeDescription" : "Einzeltherapie für Erwachsene um 50 €",
      "sessionDate" : "2000-01-23",
      "numberOfSessionsFloat" : 1.5,
      "customFields" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      } ],
      "calendarGoogleId" : "1",
      "units" : 1,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "flatRate" : true,
      "billed" : true,
      "sessionTypeIsAnamnesis" : true,
      "unitString" : "unitString",
      "patient" : {
        "zip" : 1234,
        "firstName" : "Max",
        "lastName" : "Mustermann",
        "country" : "Österreich",
        "city" : "Musterstadt",
        "street" : "Musterstrasse 5",
        "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
        "birthDate" : "1980-01-01",
        "encryptionPassword" : "1234567890",
        "ssn" : "1234567890"
      },
      "additionalDescription" : "This is a test",
      "sessionPrice" : 90,
      "unitDurationDescription" : "1h 20min",
      "procedures" : [ {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      }, {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      } ],
      "sessionType" : "Anamnesegespräch",
      "sessionTypeUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "bills" : [ {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      }, {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      } ],
      "participants" : "Max Mustermann",
      "unitPrice" : 90,
      "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "diagnosis" : "ICD-F18: Depression",
      "preferredBillTemplateUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "numberOfSessionPricing" : true,
      "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "comment" : "This was a wonderful session",
      "internalInfo" : "This is a test",
      "numberOfSessions" : 1
    }, {
      "sessionTypeDescription" : "Einzeltherapie für Erwachsene um 50 €",
      "sessionDate" : "2000-01-23",
      "numberOfSessionsFloat" : 1.5,
      "customFields" : [ {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      }, {
        "textbox" : {
          "value" : "Raucher, 'true', etc",
          "height" : 1
        },
        "selfServiceMandatory" : true,
        "visibleAtSelfService" : true,
        "label" : "Raucher",
        "uuid" : "1234-5678-9101",
        "dropdown" : {
          "options" : [ {
            "value" : "Ja",
            "key" : "true"
          }, {
            "value" : "Ja",
            "key" : "true"
          } ],
          "value" : "Raucher"
        },
        "required" : true,
        "input" : {
          "value" : "Raucher, 'true', etc",
          "contentType" : "text, number, email, etc"
        },
        "getsPrinted" : true,
        "inputNumber" : {
          "value" : 5.2
        },
        "checkbox" : {
          "labelTrue" : "Ja",
          "labelFalse" : "Nein",
          "value" : true
        },
        "name" : "smoker",
        "elementType" : "input",
        "headline" : {
          "name" : "Raucher",
          "value" : "Raucher, 'true', etc",
          "order" : 1
        },
        "order" : 1,
        "object" : "patient"
      } ],
      "calendarGoogleId" : "1",
      "units" : 1,
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "flatRate" : true,
      "billed" : true,
      "sessionTypeIsAnamnesis" : true,
      "unitString" : "unitString",
      "patient" : {
        "zip" : 1234,
        "firstName" : "Max",
        "lastName" : "Mustermann",
        "country" : "Österreich",
        "city" : "Musterstadt",
        "street" : "Musterstrasse 5",
        "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
        "birthDate" : "1980-01-01",
        "encryptionPassword" : "1234567890",
        "ssn" : "1234567890"
      },
      "additionalDescription" : "This is a test",
      "sessionPrice" : 90,
      "unitDurationDescription" : "1h 20min",
      "procedures" : [ {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      }, {
        "reportForm" : [ {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        }, {
          "textbox" : {
            "value" : "Raucher, 'true', etc",
            "height" : 1
          },
          "headline" : {
            "name" : "Raucher",
            "value" : "Raucher, 'true', etc",
            "order" : 1
          },
          "table" : {
            "tableheader" : [ {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            }, {
              "name" : "Raucher",
              "value" : "Raucher, 'true', etc",
              "order" : 1
            } ],
            "rows" : [ {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            }, {
              "columns" : [ {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              }, {
                "input" : {
                  "value" : "Raucher, 'true', etc",
                  "contentType" : "text, number, email, etc"
                },
                "dropdown" : {
                  "options" : [ {
                    "value" : "Ja",
                    "key" : "true"
                  }, {
                    "value" : "Ja",
                    "key" : "true"
                  } ],
                  "value" : "Raucher"
                }
              } ]
            } ],
            "order" : 1
          },
          "order" : 1
        } ],
        "procedureType" : "1234",
        "procedureDate" : "2000-01-23",
        "shortName" : "1234",
        "uuid" : "1234",
        "longName" : "1234"
      } ],
      "sessionType" : "Anamnesegespräch",
      "sessionTypeUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "bills" : [ {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      }, {
        "billNumber" : 2022010301,
        "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
      } ],
      "participants" : "Max Mustermann",
      "unitPrice" : 90,
      "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "diagnosis" : "ICD-F18: Depression",
      "preferredBillTemplateUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "numberOfSessionPricing" : true,
      "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
      "comment" : "This was a wonderful session",
      "internalInfo" : "This is a test",
      "numberOfSessions" : 1
    } ],
    "concernedPatientObject" : {
      "zip" : 1234,
      "firstName" : "Max",
      "lastName" : "Mustermann",
      "country" : "Österreich",
      "city" : "Musterstadt",
      "street" : "Musterstrasse 5",
      "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "birthDate" : "1980-01-01",
      "encryptionPassword" : "1234567890",
      "ssn" : "1234567890"
    },
    "familyUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "emailSentAt" : 5,
    "diagnosis" : "ICD-10 F32.1 - Mittelgradige depressive Episode",
    "billDate" : "2021-01-03",
    "patientSSN" : "1234567890",
    "billYear" : 23,
    "selectedFamilyMemberObject" : {
      "zip" : 1234,
      "firstName" : "Max",
      "lastName" : "Mustermann",
      "country" : "Österreich",
      "city" : "Musterstadt",
      "street" : "Musterstrasse 5",
      "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
      "uuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
      "birthDate" : "1980-01-01",
      "encryptionPassword" : "1234567890",
      "ssn" : "1234567890"
    },
    "cashboxReceiptURL" : "https://example.com",
    "patientUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
    "patientInsurance" : "1234567890",
    "cashboxReceiptUuid" : "41C0FE2F-EB0C-45B4-8842-C117E47C35E3",
    "createReceipt" : true,
    "paid" : true,
    "mailto" : "john@doe.com",
    "comment" : "10 Euros extra credit",
    "billNumber" : 2022010301,
    "paidInCash" : true,
    "sumVat" : 190,
    "payDate" : "2021-01-03"
  } ],
  "seminarUuid" : "63637f0c-b6c7-4c04-9989-78b44c7da61e",
  "sex" : "männlich",
  "billingEmailAddress" : "",
  "academicTitlePostFix" : "Bakk. techn.",
  "birthDate" : "2023-10-02",
  "preferredCommunication" : "E-Mail",
  "closed" : false,
  "comment" : "This patient has been very calm and understanding",
  "location" : "Linz",
  "billingAddress" : "Laglstrasse 1, 1234 Entenhausen, Austria",
  "privacyProtectionAcceptedAt" : 2,
  "age" : 12,
  "encryptionPassword" : "12345678"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[patient] patient = ; // array[patient] | 

        try {
            apiInstance.v1WaitlistPut(patient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[patient] patient = new array[patient](); // array[patient] | 

try {
    final result = await api_instance.v1WaitlistPut(patient);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1WaitlistPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[patient] patient = ; // array[patient] | 

        try {
            apiInstance.v1WaitlistPut(patient);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1WaitlistPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[patient] *patient = ; // 

// update the order of the waitlist
[apiInstance v1WaitlistPutWith:patient
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var patient = ; // {array[patient]} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1WaitlistPut(patient, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1WaitlistPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var patient = new array[patient](); // array[patient] | 

            try {
                // update the order of the waitlist
                apiInstance.v1WaitlistPut(patient);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1WaitlistPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$patient = ; // array[patient] | 

try {
    $api_instance->v1WaitlistPut($patient);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1WaitlistPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $patient = [WWW::OPenAPIClient::Object::array[patient]->new()]; # array[patient] | 

eval {
    $api_instance->v1WaitlistPut(patient => $patient);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1WaitlistPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
patient =  # array[patient] | 

try:
    # update the order of the waitlist
    api_instance.v1_waitlist_put(patient)
except ApiException as e:
    print("Exception when calling DefaultApi->v1WaitlistPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let patient = ; // array[patient]

    let mut context = DefaultApi::Context::default();
    let result = client.v1WaitlistPut(patient, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
patient *

The list of patient uuids and their new order

Responses


v1XpdfformsDelete

Deletes a pdf form

This deletes a pdf form


/v1/xpdfforms

Usage and SDK Samples

curl -X DELETE \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/xpdfforms?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form.

        try {
            pdfform result = apiInstance.v1XpdfformsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the pdf form.

try {
    final result = await api_instance.v1XpdfformsDelete(uuid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1XpdfformsDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form.

        try {
            pdfform result = apiInstance.v1XpdfformsDelete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the pdf form. (default to null)

// Deletes a pdf form
[apiInstance v1XpdfformsDeleteWith:uuid
              completionHandler: ^(pdfform output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the pdf form.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1XpdfformsDelete(uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1XpdfformsDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the pdf form. (default to null)

            try {
                // Deletes a pdf form
                pdfform result = apiInstance.v1XpdfformsDelete(uuid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1XpdfformsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form.

try {
    $result = $api_instance->v1XpdfformsDelete($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1XpdfformsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the pdf form.

eval {
    my $result = $api_instance->v1XpdfformsDelete(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1XpdfformsDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the pdf form. (default to null)

try:
    # Deletes a pdf form
    api_response = api_instance.v1_xpdfforms_delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1XpdfformsDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1XpdfformsDelete(uuid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the pdf form.
Required

Responses


v1XpdfformsGet

Get PDF Forms

This returns all pdf forms


/v1/xpdfforms

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/xpdfforms?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&limit=5"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form. If not set, the request will return all forms.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[pdfform] result = apiInstance.v1XpdfformsGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the pdf form. If not set, the request will return all forms.
final Integer limit = new Integer(); // Integer | How many datasets to return

try {
    final result = await api_instance.v1XpdfformsGet(uuid, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1XpdfformsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form. If not set, the request will return all forms.
        Integer limit = 5; // Integer | How many datasets to return

        try {
            array[pdfform] result = apiInstance.v1XpdfformsGet(uuid, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the pdf form. If not set, the request will return all forms. (optional) (default to null)
Integer *limit = 5; // How many datasets to return (optional) (default to null)

// Get PDF Forms
[apiInstance v1XpdfformsGetWith:uuid
    limit:limit
              completionHandler: ^(array[pdfform] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'uuid': 41C0FE2F-EB0C-45B4-8842-C117E47C35E3, // {String} The UUID of the pdf form. If not set, the request will return all forms.
  'limit': 5 // {Integer} How many datasets to return
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1XpdfformsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1XpdfformsGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the pdf form. If not set, the request will return all forms. (optional)  (default to null)
            var limit = 5;  // Integer | How many datasets to return (optional)  (default to null)

            try {
                // Get PDF Forms
                array[pdfform] result = apiInstance.v1XpdfformsGet(uuid, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1XpdfformsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form. If not set, the request will return all forms.
$limit = 5; // Integer | How many datasets to return

try {
    $result = $api_instance->v1XpdfformsGet($uuid, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1XpdfformsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the pdf form. If not set, the request will return all forms.
my $limit = 5; # Integer | How many datasets to return

eval {
    my $result = $api_instance->v1XpdfformsGet(uuid => $uuid, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1XpdfformsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the pdf form. If not set, the request will return all forms. (optional) (default to null)
limit = 5 # Integer | How many datasets to return (optional) (default to null)

try:
    # Get PDF Forms
    api_response = api_instance.v1_xpdfforms_get(uuid=uuid, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1XpdfformsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let limit = 5; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1XpdfformsGet(uuid, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid
String
The UUID of the pdf form. If not set, the request will return all forms.
limit
Integer
How many datasets to return

Responses


v1XpdfformsPdfGet

Get the PDF

This returns the pdf for a specific form


/v1/xpdfforms/pdf

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://app.psido.at/api/v1/xpdfforms/pdf?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&objectUuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3&objectType=patient"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form. If not set, the request will return all forms.
        String objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of an object. For example, the patient Uuid.
        String objectType = patient; // String | The name of an object. For example: patient.

        try {
            array[pdfform] result = apiInstance.v1XpdfformsPdfGet(uuid, objectUuid, objectType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsPdfGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the pdf form. If not set, the request will return all forms.
final String objectUuid = new String(); // String | The UUID of an object. For example, the patient Uuid.
final String objectType = new String(); // String | The name of an object. For example: patient.

try {
    final result = await api_instance.v1XpdfformsPdfGet(uuid, objectUuid, objectType);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1XpdfformsPdfGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form. If not set, the request will return all forms.
        String objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of an object. For example, the patient Uuid.
        String objectType = patient; // String | The name of an object. For example: patient.

        try {
            array[pdfform] result = apiInstance.v1XpdfformsPdfGet(uuid, objectUuid, objectType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsPdfGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the pdf form. If not set, the request will return all forms. (default to null)
String *objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of an object. For example, the patient Uuid. (default to null)
String *objectType = patient; // The name of an object. For example: patient. (default to null)

// Get the PDF
[apiInstance v1XpdfformsPdfGetWith:uuid
    objectUuid:objectUuid
    objectType:objectType
              completionHandler: ^(array[pdfform] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the pdf form. If not set, the request will return all forms.
var objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of an object. For example, the patient Uuid.
var objectType = patient; // {String} The name of an object. For example: patient.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1XpdfformsPdfGet(uuid, objectUuid, objectType, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1XpdfformsPdfGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the pdf form. If not set, the request will return all forms. (default to null)
            var objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of an object. For example, the patient Uuid. (default to null)
            var objectType = patient;  // String | The name of an object. For example: patient. (default to null)

            try {
                // Get the PDF
                array[pdfform] result = apiInstance.v1XpdfformsPdfGet(uuid, objectUuid, objectType);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1XpdfformsPdfGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form. If not set, the request will return all forms.
$objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of an object. For example, the patient Uuid.
$objectType = patient; // String | The name of an object. For example: patient.

try {
    $result = $api_instance->v1XpdfformsPdfGet($uuid, $objectUuid, $objectType);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1XpdfformsPdfGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the pdf form. If not set, the request will return all forms.
my $objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of an object. For example, the patient Uuid.
my $objectType = patient; # String | The name of an object. For example: patient.

eval {
    my $result = $api_instance->v1XpdfformsPdfGet(uuid => $uuid, objectUuid => $objectUuid, objectType => $objectType);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1XpdfformsPdfGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the pdf form. If not set, the request will return all forms. (default to null)
objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of an object. For example, the patient Uuid. (default to null)
objectType = patient # String | The name of an object. For example: patient. (default to null)

try:
    # Get the PDF
    api_response = api_instance.v1_xpdfforms_pdf_get(uuid, objectUuid, objectType)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1XpdfformsPdfGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let objectUuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let objectType = patient; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1XpdfformsPdfGet(uuid, objectUuid, objectType, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
uuid*
String
The UUID of the pdf form. If not set, the request will return all forms.
Required
objectUuid*
String
The UUID of an object. For example, the patient Uuid.
Required
objectType*
String
The name of an object. For example: patient.
Required

Responses


v1XpdfformsPost

Save a new pdf form

This creates a new pdf form in the database


/v1/xpdfforms

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/xpdfforms" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Pdfform pdfform = ; // Pdfform | 

        try {
            pdfform result = apiInstance.v1XpdfformsPost(pdfform);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pdfform pdfform = new Pdfform(); // Pdfform | 

try {
    final result = await api_instance.v1XpdfformsPost(pdfform);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1XpdfformsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Pdfform pdfform = ; // Pdfform | 

        try {
            pdfform result = apiInstance.v1XpdfformsPost(pdfform);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Pdfform *pdfform = ; //  (optional)

// Save a new pdf form
[apiInstance v1XpdfformsPostWith:pdfform
              completionHandler: ^(pdfform output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var opts = {
  'pdfform':  // {Pdfform} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1XpdfformsPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1XpdfformsPostExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var pdfform = new Pdfform(); // Pdfform |  (optional) 

            try {
                // Save a new pdf form
                pdfform result = apiInstance.v1XpdfformsPost(pdfform);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1XpdfformsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$pdfform = ; // Pdfform | 

try {
    $result = $api_instance->v1XpdfformsPost($pdfform);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1XpdfformsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $pdfform = WWW::OPenAPIClient::Object::Pdfform->new(); # Pdfform | 

eval {
    my $result = $api_instance->v1XpdfformsPost(pdfform => $pdfform);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1XpdfformsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
pdfform =  # Pdfform |  (optional)

try:
    # Save a new pdf form
    api_response = api_instance.v1_xpdfforms_post(pdfform=pdfform)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1XpdfformsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let pdfform = ; // Pdfform

    let mut context = DefaultApi::Context::default();
    let result = client.v1XpdfformsPost(pdfform, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
pdfform

Responses


v1XpdfformsPut

Update PDF Form

This updates a PDF Form


/v1/xpdfforms

Usage and SDK Samples

curl -X PUT \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v1/xpdfforms?uuid=41C0FE2F-EB0C-45B4-8842-C117E47C35E3" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form.
        Pdfform pdfform = ; // Pdfform | 

        try {
            pdfform result = apiInstance.v1XpdfformsPut(uuid, pdfform);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String uuid = new String(); // String | The UUID of the pdf form.
final Pdfform pdfform = new Pdfform(); // Pdfform | 

try {
    final result = await api_instance.v1XpdfformsPut(uuid, pdfform);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1XpdfformsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form.
        Pdfform pdfform = ; // Pdfform | 

        try {
            pdfform result = apiInstance.v1XpdfformsPut(uuid, pdfform);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1XpdfformsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // The UUID of the pdf form. (default to null)
Pdfform *pdfform = ; //  (optional)

// Update PDF Form
[apiInstance v1XpdfformsPutWith:uuid
    pdfform:pdfform
              completionHandler: ^(pdfform output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // {String} The UUID of the pdf form.
var opts = {
  'pdfform':  // {Pdfform} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1XpdfformsPut(uuid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1XpdfformsPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3;  // String | The UUID of the pdf form. (default to null)
            var pdfform = new Pdfform(); // Pdfform |  (optional) 

            try {
                // Update PDF Form
                pdfform result = apiInstance.v1XpdfformsPut(uuid, pdfform);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1XpdfformsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String | The UUID of the pdf form.
$pdfform = ; // Pdfform | 

try {
    $result = $api_instance->v1XpdfformsPut($uuid, $pdfform);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1XpdfformsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; # String | The UUID of the pdf form.
my $pdfform = WWW::OPenAPIClient::Object::Pdfform->new(); # Pdfform | 

eval {
    my $result = $api_instance->v1XpdfformsPut(uuid => $uuid, pdfform => $pdfform);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1XpdfformsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3 # String | The UUID of the pdf form. (default to null)
pdfform =  # Pdfform |  (optional)

try:
    # Update PDF Form
    api_response = api_instance.v1_xpdfforms_put(uuid, pdfform=pdfform)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1XpdfformsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uuid = 41C0FE2F-EB0C-45B4-8842-C117E47C35E3; // String
    let pdfform = ; // Pdfform

    let mut context = DefaultApi::Context::default();
    let result = client.v1XpdfformsPut(uuid, pdfform, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
pdfform

Query parameters
NameDescription
uuid*
String
The UUID of the pdf form.
Required

Responses


v1ZipperExpensesGet

Get a zip file with all expenses

This returns a zip file with all expenses for a specific object


/v1/zipper/expenses

Usage and SDK Samples

curl -X GET \
 \
 "https://app.psido.at/api/v1/zipper/expenses?year=2014"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer year = 2014; // Integer | the year of the expenses, you can't get all at once, it has to be per year.

        try {
            apiInstance.v1ZipperExpensesGet(year);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ZipperExpensesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer year = new Integer(); // Integer | the year of the expenses, you can't get all at once, it has to be per year.

try {
    final result = await api_instance.v1ZipperExpensesGet(year);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ZipperExpensesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer year = 2014; // Integer | the year of the expenses, you can't get all at once, it has to be per year.

        try {
            apiInstance.v1ZipperExpensesGet(year);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ZipperExpensesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *year = 2014; // the year of the expenses, you can't get all at once, it has to be per year. (default to null)

// Get a zip file with all expenses
[apiInstance v1ZipperExpensesGetWith:year
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var year = 2014; // {Integer} the year of the expenses, you can't get all at once, it has to be per year.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ZipperExpensesGet(year, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ZipperExpensesGetExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var year = 2014;  // Integer | the year of the expenses, you can't get all at once, it has to be per year. (default to null)

            try {
                // Get a zip file with all expenses
                apiInstance.v1ZipperExpensesGet(year);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ZipperExpensesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$year = 2014; // Integer | the year of the expenses, you can't get all at once, it has to be per year.

try {
    $api_instance->v1ZipperExpensesGet($year);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ZipperExpensesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $year = 2014; # Integer | the year of the expenses, you can't get all at once, it has to be per year.

eval {
    $api_instance->v1ZipperExpensesGet(year => $year);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ZipperExpensesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
year = 2014 # Integer | the year of the expenses, you can't get all at once, it has to be per year. (default to null)

try:
    # Get a zip file with all expenses
    api_instance.v1_zipper_expenses_get(year)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ZipperExpensesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let year = 2014; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1ZipperExpensesGet(year, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
NameDescription
year*
Integer (int32)
the year of the expenses, you can't get all at once, it has to be per year.
Required

Responses


v2BillsPreviewPut

Generate bill document

This generates a bill - pdf or png.


/v2/bills/preview

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v2/bills/preview?format=png" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String format = png; // String | the format of the bill. PDF and PNG are supported.
        Bill bill = ; // Bill | 

        try {
            apiInstance.v2BillsPreviewPut(format, bill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v2BillsPreviewPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String format = new String(); // String | the format of the bill. PDF and PNG are supported.
final Bill bill = new Bill(); // Bill | 

try {
    final result = await api_instance.v2BillsPreviewPut(format, bill);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v2BillsPreviewPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String format = png; // String | the format of the bill. PDF and PNG are supported.
        Bill bill = ; // Bill | 

        try {
            apiInstance.v2BillsPreviewPut(format, bill);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v2BillsPreviewPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *format = png; // the format of the bill. PDF and PNG are supported. (default to null)
Bill *bill = ; //  (optional)

// Generate bill document
[apiInstance v2BillsPreviewPutWith:format
    bill:bill
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var format = png; // {String} the format of the bill. PDF and PNG are supported.
var opts = {
  'bill':  // {Bill} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v2BillsPreviewPut(format, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v2BillsPreviewPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var format = png;  // String | the format of the bill. PDF and PNG are supported. (default to null)
            var bill = new Bill(); // Bill |  (optional) 

            try {
                // Generate bill document
                apiInstance.v2BillsPreviewPut(format, bill);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v2BillsPreviewPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$format = png; // String | the format of the bill. PDF and PNG are supported.
$bill = ; // Bill | 

try {
    $api_instance->v2BillsPreviewPut($format, $bill);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v2BillsPreviewPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $format = png; # String | the format of the bill. PDF and PNG are supported.
my $bill = WWW::OPenAPIClient::Object::Bill->new(); # Bill | 

eval {
    $api_instance->v2BillsPreviewPut(format => $format, bill => $bill);
};
if ($@) {
    warn "Exception when calling DefaultApi->v2BillsPreviewPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
format = png # String | the format of the bill. PDF and PNG are supported. (default to null)
bill =  # Bill |  (optional)

try:
    # Generate bill document
    api_instance.v2_bills_preview_put(format, bill=bill)
except ApiException as e:
    print("Exception when calling DefaultApi->v2BillsPreviewPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let format = png; // String
    let bill = ; // Bill

    let mut context = DefaultApi::Context::default();
    let result = client.v2BillsPreviewPut(format, bill, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
bill

Query parameters
NameDescription
format*
String
the format of the bill. PDF and PNG are supported.
Required

Responses


v2ReportsPreviewPut

Generate report document

This generates a report - pdf or png.


/v2/reports/preview

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://app.psido.at/api/v2/reports/preview?format=png" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String format = png; // String | the format of the report. PDF and PNG are supported.
        Report report = ; // Report | 

        try {
            apiInstance.v2ReportsPreviewPut(format, report);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v2ReportsPreviewPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String format = new String(); // String | the format of the report. PDF and PNG are supported.
final Report report = new Report(); // Report | 

try {
    final result = await api_instance.v2ReportsPreviewPut(format, report);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v2ReportsPreviewPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String format = png; // String | the format of the report. PDF and PNG are supported.
        Report report = ; // Report | 

        try {
            apiInstance.v2ReportsPreviewPut(format, report);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v2ReportsPreviewPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"token"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *format = png; // the format of the report. PDF and PNG are supported. (default to null)
Report *report = ; //  (optional)

// Generate report document
[apiInstance v2ReportsPreviewPutWith:format
    report:report
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PatientDbApi = require('patient_db_api');
var defaultClient = PatientDbApi.ApiClient.instance;

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['token'] = "Token";

// Create an instance of the API class
var api = new PatientDbApi.DefaultApi()
var format = png; // {String} the format of the report. PDF and PNG are supported.
var opts = {
  'report':  // {Report} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v2ReportsPreviewPut(format, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v2ReportsPreviewPutExample
    {
        public void main()
        {
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("token", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var format = png;  // String | the format of the report. PDF and PNG are supported. (default to null)
            var report = new Report(); // Report |  (optional) 

            try {
                // Generate report document
                apiInstance.v2ReportsPreviewPut(format, report);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v2ReportsPreviewPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: cookieAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$format = png; // String | the format of the report. PDF and PNG are supported.
$report = ; // Report | 

try {
    $api_instance->v2ReportsPreviewPut($format, $report);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v2ReportsPreviewPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: cookieAuth
$WWW::OPenAPIClient::Configuration::api_key->{'token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'token'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $format = png; # String | the format of the report. PDF and PNG are supported.
my $report = WWW::OPenAPIClient::Object::Report->new(); # Report | 

eval {
    $api_instance->v2ReportsPreviewPut(format => $format, report => $report);
};
if ($@) {
    warn "Exception when calling DefaultApi->v2ReportsPreviewPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: cookieAuth
openapi_client.configuration.api_key['token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['token'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
format = png # String | the format of the report. PDF and PNG are supported. (default to null)
report =  # Report |  (optional)

try:
    # Generate report document
    api_instance.v2_reports_preview_put(format, report=report)
except ApiException as e:
    print("Exception when calling DefaultApi->v2ReportsPreviewPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let format = png; // String
    let report = ; // Report

    let mut context = DefaultApi::Context::default();
    let result = client.v2ReportsPreviewPut(format, report, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
NameDescription
report

Query parameters
NameDescription
format*
String
the format of the report. PDF and PNG are supported.
Required

Responses