BMAcloud - 7systems GmbH

Default

anlagenAIdGet

Liefert die Daten einer spezifischen Anlage zurück, identifiziert durch die aId, eine systemweit eindeutige automatisch generierte Anlagennummer


/anlagen/{aId}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "https://www.bmacloud.de/api/anlagen/{aId}"
import .*;
import .auth.*;
import .model.*;
import .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: 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");

        DefaultApi apiInstance = new DefaultApi();
        Long aId = 78151; // Long | 
        try {
            array[anlage] result = apiInstance.anlagenAIdGet(aId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#anlagenAIdGet");
            e.printStackTrace();
        }
    }
}
import .api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long aId = 78151; // Long | 
        try {
            array[anlage] result = apiInstance.anlagenAIdGet(aId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#anlagenAIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

Long *aId = 78151; //  (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Liefert die Daten einer spezifischen Anlage zurück, identifiziert durch die aId, eine systemweit eindeutige automatisch generierte Anlagennummer
[apiInstance anlagenAIdGetWith:aId
              completionHandler: ^(array[anlage] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BmAcloud7systemsGmbH = require('bm_acloud_7systems_gmb_h');
var defaultClient = BmAcloud7systemsGmbH.ApiClient.instance;

// 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['X-API-KEY'] = "Token"

var api = new BmAcloud7systemsGmbH.DefaultApi()
var aId = 78151; // {Long} 

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

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

            var apiInstance = new DefaultApi();
            var aId = 78151;  // Long |  (default to null)

            try
            {
                // Liefert die Daten einer spezifischen Anlage zurück, identifiziert durch die aId, eine systemweit eindeutige automatisch generierte Anlagennummer
                array[anlage] result = apiInstance.anlagenAIdGet(aId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.anlagenAIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$aId = 78151; // Long | 

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

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

my $api_instance = ::DefaultApi->new();
my $aId = 78151; # Long | 

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

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

# create an instance of the API class
api_instance = .DefaultApi()
aId = 78151 # Long |  (default to null)

try: 
    # Liefert die Daten einer spezifischen Anlage zurück, identifiziert durch die aId, eine systemweit eindeutige automatisch generierte Anlagennummer
    api_response = api_instance.anlagen_a_id_get(aId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->anlagenAIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let aId = 78151; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.anlagenAIdGet(aId, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Path parameters
Name Description
aId*
Long (int64)
Required

Responses


anlagenGet

Liefert eine Liste von allen Anlagendaten


/anlagen

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "https://www.bmacloud.de/api/anlagen"
import .*;
import .auth.*;
import .model.*;
import .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: 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");

        DefaultApi apiInstance = new DefaultApi();
        try {
            array[anlage] result = apiInstance.anlagenGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#anlagenGet");
            e.printStackTrace();
        }
    }
}
import .api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[anlage] result = apiInstance.anlagenGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#anlagenGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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


DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance anlagenGetWithCompletionHandler: 
              ^(array[anlage] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BmAcloud7systemsGmbH = require('bm_acloud_7systems_gmb_h');
var defaultClient = BmAcloud7systemsGmbH.ApiClient.instance;

// 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['X-API-KEY'] = "Token"

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

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

            var apiInstance = new DefaultApi();

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

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

$api_instance = new OpenAPITools\Client\Api\DefaultApi();

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

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

my $api_instance = ::DefaultApi->new();

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

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

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

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

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.anlagenGet(&context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Responses


anlagenPost

Erzeugt eine neue Anlage oder aktualisiert die Anlagendaten, wenn die aId bereits vorhanden ist


/anlagen

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "https://www.bmacloud.de/api/anlagen"
import .*;
import .auth.*;
import .model.*;
import .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: 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");

        DefaultApi apiInstance = new DefaultApi();
        Anlage anlage = ; // Anlage | 
        try {
            apiInstance.anlagenPost(anlage);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#anlagenPost");
            e.printStackTrace();
        }
    }
}
import .api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Anlage anlage = ; // Anlage | 
        try {
            apiInstance.anlagenPost(anlage);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#anlagenPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

Anlage *anlage = ; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance anlagenPostWith:anlage
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BmAcloud7systemsGmbH = require('bm_acloud_7systems_gmb_h');
var defaultClient = BmAcloud7systemsGmbH.ApiClient.instance;

// 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['X-API-KEY'] = "Token"

var api = new BmAcloud7systemsGmbH.DefaultApi()
var anlage = ; // {Anlage} 

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

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

            var apiInstance = new DefaultApi();
            var anlage = new Anlage(); // Anlage | 

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

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

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$anlage = ; // Anlage | 

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

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

my $api_instance = ::DefaultApi->new();
my $anlage = ::Object::Anlage->new(); # Anlage | 

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

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

# create an instance of the API class
api_instance = .DefaultApi()
anlage =  # Anlage | 

try: 
    api_instance.anlagen_post(anlage)
except ApiException as e:
    print("Exception when calling DefaultApi->anlagenPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let anlage = ; // Anlage

    let mut context = DefaultApi::Context::default();
    let result = client.anlagenPost(anlage, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
anlage *

Responses


pdfWIdGet

Lädt einen PDF-Prüfplan einer definierten Wartung


/pdf/{wId}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "https://www.bmacloud.de/api/pdf/{wId}"
import .*;
import .auth.*;
import .model.*;
import .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: 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");

        DefaultApi apiInstance = new DefaultApi();
        Long wId = 789; // Long | 
        try {
            File result = apiInstance.pdfWIdGet(wId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pdfWIdGet");
            e.printStackTrace();
        }
    }
}
import .api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long wId = 789; // Long | 
        try {
            File result = apiInstance.pdfWIdGet(wId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pdfWIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

Long *wId = 789; //  (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lädt einen PDF-Prüfplan einer definierten Wartung
[apiInstance pdfWIdGetWith:wId
              completionHandler: ^(File output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BmAcloud7systemsGmbH = require('bm_acloud_7systems_gmb_h');
var defaultClient = BmAcloud7systemsGmbH.ApiClient.instance;

// 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['X-API-KEY'] = "Token"

var api = new BmAcloud7systemsGmbH.DefaultApi()
var wId = 789; // {Long} 

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

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

            var apiInstance = new DefaultApi();
            var wId = 789;  // Long |  (default to null)

            try
            {
                // Lädt einen PDF-Prüfplan einer definierten Wartung
                File result = apiInstance.pdfWIdGet(wId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.pdfWIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$wId = 789; // Long | 

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

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

my $api_instance = ::DefaultApi->new();
my $wId = 789; # Long | 

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

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

# create an instance of the API class
api_instance = .DefaultApi()
wId = 789 # Long |  (default to null)

try: 
    # Lädt einen PDF-Prüfplan einer definierten Wartung
    api_response = api_instance.pdf_w_id_get(wId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->pdfWIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let wId = 789; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.pdfWIdGet(wId, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Path parameters
Name Description
wId*
Long (int64)
Required

Responses


wartungenAnlageAIdGet

Liefert alle Wartungen einer bestimmten Anlage zurück


/wartungen/anlage/{aId}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "https://www.bmacloud.de/api/wartungen/anlage/{aId}"
import .*;
import .auth.*;
import .model.*;
import .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: 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");

        DefaultApi apiInstance = new DefaultApi();
        Long aId = 78151; // Long | 
        try {
            array[wartung] result = apiInstance.wartungenAnlageAIdGet(aId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#wartungenAnlageAIdGet");
            e.printStackTrace();
        }
    }
}
import .api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long aId = 78151; // Long | 
        try {
            array[wartung] result = apiInstance.wartungenAnlageAIdGet(aId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#wartungenAnlageAIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

Long *aId = 78151; //  (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Liefert alle Wartungen einer bestimmten Anlage zurück
[apiInstance wartungenAnlageAIdGetWith:aId
              completionHandler: ^(array[wartung] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BmAcloud7systemsGmbH = require('bm_acloud_7systems_gmb_h');
var defaultClient = BmAcloud7systemsGmbH.ApiClient.instance;

// 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['X-API-KEY'] = "Token"

var api = new BmAcloud7systemsGmbH.DefaultApi()
var aId = 78151; // {Long} 

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

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

            var apiInstance = new DefaultApi();
            var aId = 78151;  // Long |  (default to null)

            try
            {
                // Liefert alle Wartungen einer bestimmten Anlage zurück
                array[wartung] result = apiInstance.wartungenAnlageAIdGet(aId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.wartungenAnlageAIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$aId = 78151; // Long | 

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

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

my $api_instance = ::DefaultApi->new();
my $aId = 78151; # Long | 

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

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

# create an instance of the API class
api_instance = .DefaultApi()
aId = 78151 # Long |  (default to null)

try: 
    # Liefert alle Wartungen einer bestimmten Anlage zurück
    api_response = api_instance.wartungen_anlage_a_id_get(aId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->wartungenAnlageAIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let aId = 78151; // Long

    let mut context = DefaultApi::Context::default();
    let result = client.wartungenAnlageAIdGet(aId, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Path parameters
Name Description
aId*
Long (int64)
Required

Responses