Idun Real Estate Graph

ActuatorController

getActuatorUsingGET

Find specific actuator

Find a actuator with matching unique identifier.


/actuator/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/actuator/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ActuatorControllerApi;

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

public class ActuatorControllerApiExample {

    public static void main(String[] args) {
        
        ActuatorControllerApi apiInstance = new ActuatorControllerApi();
        String id = id_example; // String | The actuator unique identifier
        try {
            Actuator result = apiInstance.getActuatorUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ActuatorControllerApi#getActuatorUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ActuatorControllerApi;

public class ActuatorControllerApiExample {

    public static void main(String[] args) {
        ActuatorControllerApi apiInstance = new ActuatorControllerApi();
        String id = id_example; // String | The actuator unique identifier
        try {
            Actuator result = apiInstance.getActuatorUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ActuatorControllerApi#getActuatorUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The actuator unique identifier

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

// Find specific actuator
[apiInstance getActuatorUsingGETWith:id
              completionHandler: ^(Actuator output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.ActuatorControllerApi()

var id = id_example; // {String} The actuator unique identifier


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

namespace Example
{
    public class getActuatorUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new ActuatorControllerApi();
            var id = id_example;  // String | The actuator unique identifier

            try
            {
                // Find specific actuator
                Actuator result = apiInstance.getActuatorUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ActuatorControllerApi.getActuatorUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ActuatorControllerApi();
$id = id_example; // String | The actuator unique identifier

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

my $api_instance = WWW::SwaggerClient::ActuatorControllerApi->new();
my $id = id_example; # String | The actuator unique identifier

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

# create an instance of the API class
api_instance = swagger_client.ActuatorControllerApi()
id = id_example # String | The actuator unique identifier

try: 
    # Find specific actuator
    api_response = api_instance.get_actuator_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ActuatorControllerApi->getActuatorUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The actuator unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getActuatorsUsingGET

Find actuators based on filter

Find actuators based on filtering options.


/actuator

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/actuator?realestate_ids=&buildingstructure_ids=&buildingstructurecomponent_ids=&buildingstructurecomponent_classifications=&device_ids=&device_functions=&actuator_ids=&placement_contexts=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ActuatorControllerApi;

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

public class ActuatorControllerApiExample {

    public static void main(String[] args) {
        
        ActuatorControllerApi apiInstance = new ActuatorControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        String deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
        String deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
        String actuatorIds = actuatorIds_example; // String | A comma separated UUID list of actuator unique identifiers
        String placementContexts = placementContexts_example; // String | A comma separated String list of placement contexts
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[Actuator] result = apiInstance.getActuatorsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, actuatorIds, placementContexts, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ActuatorControllerApi#getActuatorsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ActuatorControllerApi;

public class ActuatorControllerApiExample {

    public static void main(String[] args) {
        ActuatorControllerApi apiInstance = new ActuatorControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        String deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
        String deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
        String actuatorIds = actuatorIds_example; // String | A comma separated UUID list of actuator unique identifiers
        String placementContexts = placementContexts_example; // String | A comma separated String list of placement contexts
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[Actuator] result = apiInstance.getActuatorsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, actuatorIds, placementContexts, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ActuatorControllerApi#getActuatorsUsingGET");
            e.printStackTrace();
        }
    }
}
String *realestateIds = realestateIds_example; // A comma separated UUID list of real estate unique identifiers (optional)
String *buildingstructureIds = buildingstructureIds_example; // A comma separated UUID list of building structure unique identifiers (optional)
String *buildingstructurecomponentIds = buildingstructurecomponentIds_example; // A comma separated UUID list of building structure component unique identifiers (optional)
String *buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // A comma separated String list of building structure component classifications (optional)
String *deviceIds = deviceIds_example; // A comma separated UUID list of device unique identifiers (optional)
String *deviceFunctions = deviceFunctions_example; // A comma separated String list of device functions (optional)
String *actuatorIds = actuatorIds_example; // A comma separated UUID list of actuator unique identifiers (optional)
String *placementContexts = placementContexts_example; // A comma separated String list of placement contexts (optional)
Integer *page = 56; // Zero-based page index (optional)
Integer *size = 56; // The size of the page to be returned (optional)

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

// Find actuators based on filter
[apiInstance getActuatorsUsingGETWith:realestateIds
    buildingstructureIds:buildingstructureIds
    buildingstructurecomponentIds:buildingstructurecomponentIds
    buildingstructurecomponentClassifications:buildingstructurecomponentClassifications
    deviceIds:deviceIds
    deviceFunctions:deviceFunctions
    actuatorIds:actuatorIds
    placementContexts:placementContexts
    page:page
    size:size
              completionHandler: ^(array[Actuator] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.ActuatorControllerApi()

var opts = { 
  'realestateIds': realestateIds_example, // {String} A comma separated UUID list of real estate unique identifiers
  'buildingstructureIds': buildingstructureIds_example, // {String} A comma separated UUID list of building structure unique identifiers
  'buildingstructurecomponentIds': buildingstructurecomponentIds_example, // {String} A comma separated UUID list of building structure component unique identifiers
  'buildingstructurecomponentClassifications': buildingstructurecomponentClassifications_example, // {String} A comma separated String list of building structure component classifications
  'deviceIds': deviceIds_example, // {String} A comma separated UUID list of device unique identifiers
  'deviceFunctions': deviceFunctions_example, // {String} A comma separated String list of device functions
  'actuatorIds': actuatorIds_example, // {String} A comma separated UUID list of actuator unique identifiers
  'placementContexts': placementContexts_example, // {String} A comma separated String list of placement contexts
  'page': 56, // {Integer} Zero-based page index
  'size': 56 // {Integer} The size of the page to be returned
};

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

namespace Example
{
    public class getActuatorsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new ActuatorControllerApi();
            var realestateIds = realestateIds_example;  // String | A comma separated UUID list of real estate unique identifiers (optional) 
            var buildingstructureIds = buildingstructureIds_example;  // String | A comma separated UUID list of building structure unique identifiers (optional) 
            var buildingstructurecomponentIds = buildingstructurecomponentIds_example;  // String | A comma separated UUID list of building structure component unique identifiers (optional) 
            var buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example;  // String | A comma separated String list of building structure component classifications (optional) 
            var deviceIds = deviceIds_example;  // String | A comma separated UUID list of device unique identifiers (optional) 
            var deviceFunctions = deviceFunctions_example;  // String | A comma separated String list of device functions (optional) 
            var actuatorIds = actuatorIds_example;  // String | A comma separated UUID list of actuator unique identifiers (optional) 
            var placementContexts = placementContexts_example;  // String | A comma separated String list of placement contexts (optional) 
            var page = 56;  // Integer | Zero-based page index (optional) 
            var size = 56;  // Integer | The size of the page to be returned (optional) 

            try
            {
                // Find actuators based on filter
                array[Actuator] result = apiInstance.getActuatorsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, actuatorIds, placementContexts, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ActuatorControllerApi.getActuatorsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ActuatorControllerApi();
$realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
$buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
$buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
$buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
$deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
$deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
$actuatorIds = actuatorIds_example; // String | A comma separated UUID list of actuator unique identifiers
$placementContexts = placementContexts_example; // String | A comma separated String list of placement contexts
$page = 56; // Integer | Zero-based page index
$size = 56; // Integer | The size of the page to be returned

try {
    $result = $api_instance->getActuatorsUsingGET($realestateIds, $buildingstructureIds, $buildingstructurecomponentIds, $buildingstructurecomponentClassifications, $deviceIds, $deviceFunctions, $actuatorIds, $placementContexts, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ActuatorControllerApi->getActuatorsUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ActuatorControllerApi;

my $api_instance = WWW::SwaggerClient::ActuatorControllerApi->new();
my $realestateIds = realestateIds_example; # String | A comma separated UUID list of real estate unique identifiers
my $buildingstructureIds = buildingstructureIds_example; # String | A comma separated UUID list of building structure unique identifiers
my $buildingstructurecomponentIds = buildingstructurecomponentIds_example; # String | A comma separated UUID list of building structure component unique identifiers
my $buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; # String | A comma separated String list of building structure component classifications
my $deviceIds = deviceIds_example; # String | A comma separated UUID list of device unique identifiers
my $deviceFunctions = deviceFunctions_example; # String | A comma separated String list of device functions
my $actuatorIds = actuatorIds_example; # String | A comma separated UUID list of actuator unique identifiers
my $placementContexts = placementContexts_example; # String | A comma separated String list of placement contexts
my $page = 56; # Integer | Zero-based page index
my $size = 56; # Integer | The size of the page to be returned

eval { 
    my $result = $api_instance->getActuatorsUsingGET(realestateIds => $realestateIds, buildingstructureIds => $buildingstructureIds, buildingstructurecomponentIds => $buildingstructurecomponentIds, buildingstructurecomponentClassifications => $buildingstructurecomponentClassifications, deviceIds => $deviceIds, deviceFunctions => $deviceFunctions, actuatorIds => $actuatorIds, placementContexts => $placementContexts, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ActuatorControllerApi->getActuatorsUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ActuatorControllerApi()
realestateIds = realestateIds_example # String | A comma separated UUID list of real estate unique identifiers (optional)
buildingstructureIds = buildingstructureIds_example # String | A comma separated UUID list of building structure unique identifiers (optional)
buildingstructurecomponentIds = buildingstructurecomponentIds_example # String | A comma separated UUID list of building structure component unique identifiers (optional)
buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example # String | A comma separated String list of building structure component classifications (optional)
deviceIds = deviceIds_example # String | A comma separated UUID list of device unique identifiers (optional)
deviceFunctions = deviceFunctions_example # String | A comma separated String list of device functions (optional)
actuatorIds = actuatorIds_example # String | A comma separated UUID list of actuator unique identifiers (optional)
placementContexts = placementContexts_example # String | A comma separated String list of placement contexts (optional)
page = 56 # Integer | Zero-based page index (optional)
size = 56 # Integer | The size of the page to be returned (optional)

try: 
    # Find actuators based on filter
    api_response = api_instance.get_actuators_using_get(realestateIds=realestateIds, buildingstructureIds=buildingstructureIds, buildingstructurecomponentIds=buildingstructurecomponentIds, buildingstructurecomponentClassifications=buildingstructurecomponentClassifications, deviceIds=deviceIds, deviceFunctions=deviceFunctions, actuatorIds=actuatorIds, placementContexts=placementContexts, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ActuatorControllerApi->getActuatorsUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
realestate_ids
String
A comma separated UUID list of real estate unique identifiers
buildingstructure_ids
String
A comma separated UUID list of building structure unique identifiers
buildingstructurecomponent_ids
String
A comma separated UUID list of building structure component unique identifiers
buildingstructurecomponent_classifications
String
A comma separated String list of building structure component classifications
device_ids
String
A comma separated UUID list of device unique identifiers
device_functions
String
A comma separated String list of device functions
actuator_ids
String
A comma separated UUID list of actuator unique identifiers
placement_contexts
String
A comma separated String list of placement contexts
page
Integer (int32)
Zero-based page index
size
Integer (int32)
The size of the page to be returned

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


BasicErrorController

errorHtmlUsingDELETE

errorHtml


/error

Usage and SDK Samples

curl -X DELETE "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingDELETE();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingDELETE");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingDELETE();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingDELETE");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingDELETEWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingDELETEExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingDELETE();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingDELETE: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_delete()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingDELETE: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 204 - No Content

Status: 401 - Unauthorized

Status: 403 - Forbidden


errorHtmlUsingGET

errorHtml


/error

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingGET");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingGETWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingGET();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingGET: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


errorHtmlUsingHEAD

errorHtml


/error

Usage and SDK Samples

curl -X HEAD "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingHEAD();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingHEAD");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingHEAD();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingHEAD");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingHEADWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingHEADExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingHEAD();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingHEAD: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_head()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingHEAD: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 204 - No Content

Status: 401 - Unauthorized

Status: 403 - Forbidden


errorHtmlUsingOPTIONS

errorHtml


/error

Usage and SDK Samples

curl -X OPTIONS "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingOPTIONS();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingOPTIONS");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingOPTIONS();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingOPTIONS");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingOPTIONSWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingOPTIONSExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingOPTIONS();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingOPTIONS: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_options()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingOPTIONS: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 204 - No Content

Status: 401 - Unauthorized

Status: 403 - Forbidden


errorHtmlUsingPATCH

errorHtml


/error

Usage and SDK Samples

curl -X PATCH "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingPATCH();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingPATCH");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingPATCH();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingPATCH");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingPATCHWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingPATCHExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingPATCH();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingPATCH: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_patch()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingPATCH: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 204 - No Content

Status: 401 - Unauthorized

Status: 403 - Forbidden


errorHtmlUsingPOST

errorHtml


/error

Usage and SDK Samples

curl -X POST "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingPOST();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingPOST");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingPOST();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingPOST");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingPOSTWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingPOSTExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingPOST();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingPOST: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingPOST: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 201 - Created

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


errorHtmlUsingPUT

errorHtml


/error

Usage and SDK Samples

curl -X PUT "https://ah.graph.idunrealestate.com/api/error"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BasicErrorControllerApi;

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

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingPUT();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingPUT");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BasicErrorControllerApi;

public class BasicErrorControllerApiExample {

    public static void main(String[] args) {
        BasicErrorControllerApi apiInstance = new BasicErrorControllerApi();
        try {
            ModelAndView result = apiInstance.errorHtmlUsingPUT();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BasicErrorControllerApi#errorHtmlUsingPUT");
            e.printStackTrace();
        }
    }
}

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

// errorHtml
[apiInstance errorHtmlUsingPUTWithCompletionHandler: 
              ^(ModelAndView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BasicErrorControllerApi()

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

namespace Example
{
    public class errorHtmlUsingPUTExample
    {
        public void main()
        {
            
            var apiInstance = new BasicErrorControllerApi();

            try
            {
                // errorHtml
                ModelAndView result = apiInstance.errorHtmlUsingPUT();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BasicErrorControllerApi.errorHtmlUsingPUT: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BasicErrorControllerApi();

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

my $api_instance = WWW::SwaggerClient::BasicErrorControllerApi->new();

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

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

try: 
    # errorHtml
    api_response = api_instance.error_html_using_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BasicErrorControllerApi->errorHtmlUsingPUT: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 201 - Created

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


BuildingStructureComponentController

getBuildingStructureComponentUsingGET

Find specific building structure component

Find a building structure component with matching unique identifier.


/buildingstructurecomponent/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructurecomponent/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureComponentControllerApi;

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

public class BuildingStructureComponentControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureComponentControllerApi apiInstance = new BuildingStructureComponentControllerApi();
        String id = id_example; // String | The building structure component unique identifier
        try {
            BuildingStructureComponent result = apiInstance.getBuildingStructureComponentUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureComponentControllerApi#getBuildingStructureComponentUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureComponentControllerApi;

public class BuildingStructureComponentControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureComponentControllerApi apiInstance = new BuildingStructureComponentControllerApi();
        String id = id_example; // String | The building structure component unique identifier
        try {
            BuildingStructureComponent result = apiInstance.getBuildingStructureComponentUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureComponentControllerApi#getBuildingStructureComponentUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The building structure component unique identifier

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

// Find specific building structure component
[apiInstance getBuildingStructureComponentUsingGETWith:id
              completionHandler: ^(BuildingStructureComponent output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureComponentControllerApi()

var id = id_example; // {String} The building structure component unique identifier


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

namespace Example
{
    public class getBuildingStructureComponentUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureComponentControllerApi();
            var id = id_example;  // String | The building structure component unique identifier

            try
            {
                // Find specific building structure component
                BuildingStructureComponent result = apiInstance.getBuildingStructureComponentUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureComponentControllerApi.getBuildingStructureComponentUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureComponentControllerApi();
$id = id_example; // String | The building structure component unique identifier

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

my $api_instance = WWW::SwaggerClient::BuildingStructureComponentControllerApi->new();
my $id = id_example; # String | The building structure component unique identifier

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

# create an instance of the API class
api_instance = swagger_client.BuildingStructureComponentControllerApi()
id = id_example # String | The building structure component unique identifier

try: 
    # Find specific building structure component
    api_response = api_instance.get_building_structure_component_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureComponentControllerApi->getBuildingStructureComponentUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The building structure component unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getBuildingStructureComponentsUsingGET

Find building structure components based on filter

Find building structure components based on filtering options.


/buildingstructurecomponent

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructurecomponent?realestate_ids=&buildingstructure_ids=&buildingstructurecomponent_ids=&buildingstructurecomponent_classifications=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureComponentControllerApi;

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

public class BuildingStructureComponentControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureComponentControllerApi apiInstance = new BuildingStructureComponentControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[BuildingStructureComponent] result = apiInstance.getBuildingStructureComponentsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureComponentControllerApi#getBuildingStructureComponentsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureComponentControllerApi;

public class BuildingStructureComponentControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureComponentControllerApi apiInstance = new BuildingStructureComponentControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[BuildingStructureComponent] result = apiInstance.getBuildingStructureComponentsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureComponentControllerApi#getBuildingStructureComponentsUsingGET");
            e.printStackTrace();
        }
    }
}
String *realestateIds = realestateIds_example; // A comma separated UUID list of real estate unique identifiers (optional)
String *buildingstructureIds = buildingstructureIds_example; // A comma separated UUID list of building structure unique identifiers (optional)
String *buildingstructurecomponentIds = buildingstructurecomponentIds_example; // A comma separated UUID list of building structure component unique identifiers (optional)
String *buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // A comma separated String list of building structure component classifications (optional)
Integer *page = 56; // Zero-based page index (optional)
Integer *size = 56; // The size of the page to be returned (optional)

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

// Find building structure components based on filter
[apiInstance getBuildingStructureComponentsUsingGETWith:realestateIds
    buildingstructureIds:buildingstructureIds
    buildingstructurecomponentIds:buildingstructurecomponentIds
    buildingstructurecomponentClassifications:buildingstructurecomponentClassifications
    page:page
    size:size
              completionHandler: ^(array[BuildingStructureComponent] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureComponentControllerApi()

var opts = { 
  'realestateIds': realestateIds_example, // {String} A comma separated UUID list of real estate unique identifiers
  'buildingstructureIds': buildingstructureIds_example, // {String} A comma separated UUID list of building structure unique identifiers
  'buildingstructurecomponentIds': buildingstructurecomponentIds_example, // {String} A comma separated UUID list of building structure component unique identifiers
  'buildingstructurecomponentClassifications': buildingstructurecomponentClassifications_example, // {String} A comma separated String list of building structure component classifications
  'page': 56, // {Integer} Zero-based page index
  'size': 56 // {Integer} The size of the page to be returned
};

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

namespace Example
{
    public class getBuildingStructureComponentsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureComponentControllerApi();
            var realestateIds = realestateIds_example;  // String | A comma separated UUID list of real estate unique identifiers (optional) 
            var buildingstructureIds = buildingstructureIds_example;  // String | A comma separated UUID list of building structure unique identifiers (optional) 
            var buildingstructurecomponentIds = buildingstructurecomponentIds_example;  // String | A comma separated UUID list of building structure component unique identifiers (optional) 
            var buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example;  // String | A comma separated String list of building structure component classifications (optional) 
            var page = 56;  // Integer | Zero-based page index (optional) 
            var size = 56;  // Integer | The size of the page to be returned (optional) 

            try
            {
                // Find building structure components based on filter
                array[BuildingStructureComponent] result = apiInstance.getBuildingStructureComponentsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureComponentControllerApi.getBuildingStructureComponentsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureComponentControllerApi();
$realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
$buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
$buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
$buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
$page = 56; // Integer | Zero-based page index
$size = 56; // Integer | The size of the page to be returned

try {
    $result = $api_instance->getBuildingStructureComponentsUsingGET($realestateIds, $buildingstructureIds, $buildingstructurecomponentIds, $buildingstructurecomponentClassifications, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BuildingStructureComponentControllerApi->getBuildingStructureComponentsUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BuildingStructureComponentControllerApi;

my $api_instance = WWW::SwaggerClient::BuildingStructureComponentControllerApi->new();
my $realestateIds = realestateIds_example; # String | A comma separated UUID list of real estate unique identifiers
my $buildingstructureIds = buildingstructureIds_example; # String | A comma separated UUID list of building structure unique identifiers
my $buildingstructurecomponentIds = buildingstructurecomponentIds_example; # String | A comma separated UUID list of building structure component unique identifiers
my $buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; # String | A comma separated String list of building structure component classifications
my $page = 56; # Integer | Zero-based page index
my $size = 56; # Integer | The size of the page to be returned

eval { 
    my $result = $api_instance->getBuildingStructureComponentsUsingGET(realestateIds => $realestateIds, buildingstructureIds => $buildingstructureIds, buildingstructurecomponentIds => $buildingstructurecomponentIds, buildingstructurecomponentClassifications => $buildingstructurecomponentClassifications, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BuildingStructureComponentControllerApi->getBuildingStructureComponentsUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BuildingStructureComponentControllerApi()
realestateIds = realestateIds_example # String | A comma separated UUID list of real estate unique identifiers (optional)
buildingstructureIds = buildingstructureIds_example # String | A comma separated UUID list of building structure unique identifiers (optional)
buildingstructurecomponentIds = buildingstructurecomponentIds_example # String | A comma separated UUID list of building structure component unique identifiers (optional)
buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example # String | A comma separated String list of building structure component classifications (optional)
page = 56 # Integer | Zero-based page index (optional)
size = 56 # Integer | The size of the page to be returned (optional)

try: 
    # Find building structure components based on filter
    api_response = api_instance.get_building_structure_components_using_get(realestateIds=realestateIds, buildingstructureIds=buildingstructureIds, buildingstructurecomponentIds=buildingstructurecomponentIds, buildingstructurecomponentClassifications=buildingstructurecomponentClassifications, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureComponentControllerApi->getBuildingStructureComponentsUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
realestate_ids
String
A comma separated UUID list of real estate unique identifiers
buildingstructure_ids
String
A comma separated UUID list of building structure unique identifiers
buildingstructurecomponent_ids
String
A comma separated UUID list of building structure component unique identifiers
buildingstructurecomponent_classifications
String
A comma separated String list of building structure component classifications
page
Integer (int32)
Zero-based page index
size
Integer (int32)
The size of the page to be returned

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


BuildingStructureController

getBuildingStructureUsingGET

Find specific building structure component

Find a building structure with matching unique identifier.


/buildingstructure/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructure/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureControllerApi;

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

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String id = id_example; // String | The building structure unique identifier
        try {
            BuildingStructure result = apiInstance.getBuildingStructureUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getBuildingStructureUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureControllerApi;

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String id = id_example; // String | The building structure unique identifier
        try {
            BuildingStructure result = apiInstance.getBuildingStructureUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getBuildingStructureUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The building structure unique identifier

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

// Find specific building structure component
[apiInstance getBuildingStructureUsingGETWith:id
              completionHandler: ^(BuildingStructure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureControllerApi()

var id = id_example; // {String} The building structure unique identifier


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

namespace Example
{
    public class getBuildingStructureUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureControllerApi();
            var id = id_example;  // String | The building structure unique identifier

            try
            {
                // Find specific building structure component
                BuildingStructure result = apiInstance.getBuildingStructureUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureControllerApi.getBuildingStructureUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureControllerApi();
$id = id_example; // String | The building structure unique identifier

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

my $api_instance = WWW::SwaggerClient::BuildingStructureControllerApi->new();
my $id = id_example; # String | The building structure unique identifier

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

# create an instance of the API class
api_instance = swagger_client.BuildingStructureControllerApi()
id = id_example # String | The building structure unique identifier

try: 
    # Find specific building structure component
    api_response = api_instance.get_building_structure_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureControllerApi->getBuildingStructureUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The building structure unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getBuildingStructuresInRangeUsingGET

Find building structure based on distance from a center point (GPS coordinate).

Find building structure based on distance from a center point (GPS coordinate).


/buildingstructure/inrange

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructure/inrange?lat=&lon=&dist="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureControllerApi;

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

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        Double lat = 1.2; // Double | Latitude of center point
        Double lon = 1.2; // Double | Longitude of center point
        Double dist = 1.2; // Double | Distance from center point
        try {
            array[BuildingStructure] result = apiInstance.getBuildingStructuresInRangeUsingGET(lat, lon, dist);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getBuildingStructuresInRangeUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureControllerApi;

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        Double lat = 1.2; // Double | Latitude of center point
        Double lon = 1.2; // Double | Longitude of center point
        Double dist = 1.2; // Double | Distance from center point
        try {
            array[BuildingStructure] result = apiInstance.getBuildingStructuresInRangeUsingGET(lat, lon, dist);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getBuildingStructuresInRangeUsingGET");
            e.printStackTrace();
        }
    }
}
Double *lat = 1.2; // Latitude of center point (optional)
Double *lon = 1.2; // Longitude of center point (optional)
Double *dist = 1.2; // Distance from center point (optional)

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

// Find building structure based on distance from a center point (GPS coordinate).
[apiInstance getBuildingStructuresInRangeUsingGETWith:lat
    lon:lon
    dist:dist
              completionHandler: ^(array[BuildingStructure] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureControllerApi()

var opts = { 
  'lat': 1.2, // {Double} Latitude of center point
  'lon': 1.2, // {Double} Longitude of center point
  'dist': 1.2 // {Double} Distance from center point
};

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

namespace Example
{
    public class getBuildingStructuresInRangeUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureControllerApi();
            var lat = 1.2;  // Double | Latitude of center point (optional) 
            var lon = 1.2;  // Double | Longitude of center point (optional) 
            var dist = 1.2;  // Double | Distance from center point (optional) 

            try
            {
                // Find building structure based on distance from a center point (GPS coordinate).
                array[BuildingStructure] result = apiInstance.getBuildingStructuresInRangeUsingGET(lat, lon, dist);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureControllerApi.getBuildingStructuresInRangeUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureControllerApi();
$lat = 1.2; // Double | Latitude of center point
$lon = 1.2; // Double | Longitude of center point
$dist = 1.2; // Double | Distance from center point

try {
    $result = $api_instance->getBuildingStructuresInRangeUsingGET($lat, $lon, $dist);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BuildingStructureControllerApi->getBuildingStructuresInRangeUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BuildingStructureControllerApi;

my $api_instance = WWW::SwaggerClient::BuildingStructureControllerApi->new();
my $lat = 1.2; # Double | Latitude of center point
my $lon = 1.2; # Double | Longitude of center point
my $dist = 1.2; # Double | Distance from center point

eval { 
    my $result = $api_instance->getBuildingStructuresInRangeUsingGET(lat => $lat, lon => $lon, dist => $dist);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BuildingStructureControllerApi->getBuildingStructuresInRangeUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BuildingStructureControllerApi()
lat = 1.2 # Double | Latitude of center point (optional)
lon = 1.2 # Double | Longitude of center point (optional)
dist = 1.2 # Double | Distance from center point (optional)

try: 
    # Find building structure based on distance from a center point (GPS coordinate).
    api_response = api_instance.get_building_structures_in_range_using_get(lat=lat, lon=lon, dist=dist)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureControllerApi->getBuildingStructuresInRangeUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
lat
Double (double)
Latitude of center point
lon
Double (double)
Longitude of center point
dist
Double (double)
Distance from center point

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getBuildingStructuresUsingGET

Find building structure based on filter

Find building structure based on filtering options.


/buildingstructure

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructure?realestate_ids=&buildingstructure_ids=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureControllerApi;

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

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[BuildingStructure] result = apiInstance.getBuildingStructuresUsingGET(realestateIds, buildingstructureIds, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getBuildingStructuresUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureControllerApi;

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[BuildingStructure] result = apiInstance.getBuildingStructuresUsingGET(realestateIds, buildingstructureIds, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getBuildingStructuresUsingGET");
            e.printStackTrace();
        }
    }
}
String *realestateIds = realestateIds_example; // A comma separated UUID list of real estate unique identifiers (optional)
String *buildingstructureIds = buildingstructureIds_example; // A comma separated UUID list of building structure unique identifiers (optional)
Integer *page = 56; // Zero-based page index (optional)
Integer *size = 56; // The size of the page to be returned (optional)

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

// Find building structure based on filter
[apiInstance getBuildingStructuresUsingGETWith:realestateIds
    buildingstructureIds:buildingstructureIds
    page:page
    size:size
              completionHandler: ^(array[BuildingStructure] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureControllerApi()

var opts = { 
  'realestateIds': realestateIds_example, // {String} A comma separated UUID list of real estate unique identifiers
  'buildingstructureIds': buildingstructureIds_example, // {String} A comma separated UUID list of building structure unique identifiers
  'page': 56, // {Integer} Zero-based page index
  'size': 56 // {Integer} The size of the page to be returned
};

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

namespace Example
{
    public class getBuildingStructuresUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureControllerApi();
            var realestateIds = realestateIds_example;  // String | A comma separated UUID list of real estate unique identifiers (optional) 
            var buildingstructureIds = buildingstructureIds_example;  // String | A comma separated UUID list of building structure unique identifiers (optional) 
            var page = 56;  // Integer | Zero-based page index (optional) 
            var size = 56;  // Integer | The size of the page to be returned (optional) 

            try
            {
                // Find building structure based on filter
                array[BuildingStructure] result = apiInstance.getBuildingStructuresUsingGET(realestateIds, buildingstructureIds, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureControllerApi.getBuildingStructuresUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureControllerApi();
$realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
$buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
$page = 56; // Integer | Zero-based page index
$size = 56; // Integer | The size of the page to be returned

try {
    $result = $api_instance->getBuildingStructuresUsingGET($realestateIds, $buildingstructureIds, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BuildingStructureControllerApi->getBuildingStructuresUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BuildingStructureControllerApi;

my $api_instance = WWW::SwaggerClient::BuildingStructureControllerApi->new();
my $realestateIds = realestateIds_example; # String | A comma separated UUID list of real estate unique identifiers
my $buildingstructureIds = buildingstructureIds_example; # String | A comma separated UUID list of building structure unique identifiers
my $page = 56; # Integer | Zero-based page index
my $size = 56; # Integer | The size of the page to be returned

eval { 
    my $result = $api_instance->getBuildingStructuresUsingGET(realestateIds => $realestateIds, buildingstructureIds => $buildingstructureIds, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BuildingStructureControllerApi->getBuildingStructuresUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BuildingStructureControllerApi()
realestateIds = realestateIds_example # String | A comma separated UUID list of real estate unique identifiers (optional)
buildingstructureIds = buildingstructureIds_example # String | A comma separated UUID list of building structure unique identifiers (optional)
page = 56 # Integer | Zero-based page index (optional)
size = 56 # Integer | The size of the page to be returned (optional)

try: 
    # Find building structure based on filter
    api_response = api_instance.get_building_structures_using_get(realestateIds=realestateIds, buildingstructureIds=buildingstructureIds, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureControllerApi->getBuildingStructuresUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
realestate_ids
String
A comma separated UUID list of real estate unique identifiers
buildingstructure_ids
String
A comma separated UUID list of building structure unique identifiers
page
Integer (int32)
Zero-based page index
size
Integer (int32)
The size of the page to be returned

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getStoreyLevelUsingGET

Find a Storey Level of a specific building structure with matching Storey Level Number

Find Storey Level of a building structure with matching unique identifier and matching storey level number.


/buildingstructure/{id}/storeylevel/{littera}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructure/{id}/storeylevel/{littera}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureControllerApi;

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

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String id = id_example; // String | The building structure unique identifier
        String littera = littera_example; // String | The StoreyLevel Littera - usually the storey level number
        try {
            StoreyLevel result = apiInstance.getStoreyLevelUsingGET(id, littera);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getStoreyLevelUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureControllerApi;

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String id = id_example; // String | The building structure unique identifier
        String littera = littera_example; // String | The StoreyLevel Littera - usually the storey level number
        try {
            StoreyLevel result = apiInstance.getStoreyLevelUsingGET(id, littera);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getStoreyLevelUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The building structure unique identifier
String *littera = littera_example; // The StoreyLevel Littera - usually the storey level number

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

// Find a Storey Level of a specific building structure with matching Storey Level Number
[apiInstance getStoreyLevelUsingGETWith:id
    littera:littera
              completionHandler: ^(StoreyLevel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureControllerApi()

var id = id_example; // {String} The building structure unique identifier

var littera = littera_example; // {String} The StoreyLevel Littera - usually the storey level number


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

namespace Example
{
    public class getStoreyLevelUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureControllerApi();
            var id = id_example;  // String | The building structure unique identifier
            var littera = littera_example;  // String | The StoreyLevel Littera - usually the storey level number

            try
            {
                // Find a Storey Level of a specific building structure with matching Storey Level Number
                StoreyLevel result = apiInstance.getStoreyLevelUsingGET(id, littera);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureControllerApi.getStoreyLevelUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureControllerApi();
$id = id_example; // String | The building structure unique identifier
$littera = littera_example; // String | The StoreyLevel Littera - usually the storey level number

try {
    $result = $api_instance->getStoreyLevelUsingGET($id, $littera);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BuildingStructureControllerApi->getStoreyLevelUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BuildingStructureControllerApi;

my $api_instance = WWW::SwaggerClient::BuildingStructureControllerApi->new();
my $id = id_example; # String | The building structure unique identifier
my $littera = littera_example; # String | The StoreyLevel Littera - usually the storey level number

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

# create an instance of the API class
api_instance = swagger_client.BuildingStructureControllerApi()
id = id_example # String | The building structure unique identifier
littera = littera_example # String | The StoreyLevel Littera - usually the storey level number

try: 
    # Find a Storey Level of a specific building structure with matching Storey Level Number
    api_response = api_instance.get_storey_level_using_get(id, littera)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureControllerApi->getStoreyLevelUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The building structure unique identifier
Required
littera*
String
The StoreyLevel Littera - usually the storey level number
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getStoreyLevelsUsingGET

Find Storey Levels of a specific building structure

Find Storey Levels of a building structure with matching unique identifier.


/buildingstructure/{id}/storeylevel

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructure/{id}/storeylevel"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BuildingStructureControllerApi;

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

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String id = id_example; // String | The building structure unique identifier
        try {
            array[StoreyLevel] result = apiInstance.getStoreyLevelsUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getStoreyLevelsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BuildingStructureControllerApi;

public class BuildingStructureControllerApiExample {

    public static void main(String[] args) {
        BuildingStructureControllerApi apiInstance = new BuildingStructureControllerApi();
        String id = id_example; // String | The building structure unique identifier
        try {
            array[StoreyLevel] result = apiInstance.getStoreyLevelsUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BuildingStructureControllerApi#getStoreyLevelsUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The building structure unique identifier

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

// Find Storey Levels of a specific building structure
[apiInstance getStoreyLevelsUsingGETWith:id
              completionHandler: ^(array[StoreyLevel] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.BuildingStructureControllerApi()

var id = id_example; // {String} The building structure unique identifier


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

namespace Example
{
    public class getStoreyLevelsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new BuildingStructureControllerApi();
            var id = id_example;  // String | The building structure unique identifier

            try
            {
                // Find Storey Levels of a specific building structure
                array[StoreyLevel] result = apiInstance.getStoreyLevelsUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BuildingStructureControllerApi.getStoreyLevelsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BuildingStructureControllerApi();
$id = id_example; // String | The building structure unique identifier

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

my $api_instance = WWW::SwaggerClient::BuildingStructureControllerApi->new();
my $id = id_example; # String | The building structure unique identifier

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

# create an instance of the API class
api_instance = swagger_client.BuildingStructureControllerApi()
id = id_example # String | The building structure unique identifier

try: 
    # Find Storey Levels of a specific building structure
    api_response = api_instance.get_storey_levels_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BuildingStructureControllerApi->getStoreyLevelsUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The building structure unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


DeviceController

getDeviceUsingGET

Find specific device

Find a device with matching unique identifier.


/device/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/device/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DeviceControllerApi;

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

public class DeviceControllerApiExample {

    public static void main(String[] args) {
        
        DeviceControllerApi apiInstance = new DeviceControllerApi();
        String id = id_example; // String | The device unique identifier
        try {
            Device result = apiInstance.getDeviceUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceControllerApi#getDeviceUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DeviceControllerApi;

public class DeviceControllerApiExample {

    public static void main(String[] args) {
        DeviceControllerApi apiInstance = new DeviceControllerApi();
        String id = id_example; // String | The device unique identifier
        try {
            Device result = apiInstance.getDeviceUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceControllerApi#getDeviceUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The device unique identifier

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

// Find specific device
[apiInstance getDeviceUsingGETWith:id
              completionHandler: ^(Device output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.DeviceControllerApi()

var id = id_example; // {String} The device unique identifier


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

namespace Example
{
    public class getDeviceUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceControllerApi();
            var id = id_example;  // String | The device unique identifier

            try
            {
                // Find specific device
                Device result = apiInstance.getDeviceUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceControllerApi.getDeviceUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceControllerApi();
$id = id_example; // String | The device unique identifier

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

my $api_instance = WWW::SwaggerClient::DeviceControllerApi->new();
my $id = id_example; # String | The device unique identifier

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

# create an instance of the API class
api_instance = swagger_client.DeviceControllerApi()
id = id_example # String | The device unique identifier

try: 
    # Find specific device
    api_response = api_instance.get_device_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceControllerApi->getDeviceUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The device unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getDevicesUsingGET

Find devices based on filter

Find devices based on filtering options.


/device

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/device?realestate_ids=&buildingstructure_ids=&buildingstructurecomponent_ids=&buildingstructurecomponent_classifications=&device_ids=&device_functions=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DeviceControllerApi;

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

public class DeviceControllerApiExample {

    public static void main(String[] args) {
        
        DeviceControllerApi apiInstance = new DeviceControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        String deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
        String deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[Device] result = apiInstance.getDevicesUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceControllerApi#getDevicesUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DeviceControllerApi;

public class DeviceControllerApiExample {

    public static void main(String[] args) {
        DeviceControllerApi apiInstance = new DeviceControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        String deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
        String deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[Device] result = apiInstance.getDevicesUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceControllerApi#getDevicesUsingGET");
            e.printStackTrace();
        }
    }
}
String *realestateIds = realestateIds_example; // A comma separated UUID list of real estate unique identifiers (optional)
String *buildingstructureIds = buildingstructureIds_example; // A comma separated UUID list of building structure unique identifiers (optional)
String *buildingstructurecomponentIds = buildingstructurecomponentIds_example; // A comma separated UUID list of building structure component unique identifiers (optional)
String *buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // A comma separated String list of building structure component classifications (optional)
String *deviceIds = deviceIds_example; // A comma separated UUID list of device unique identifiers (optional)
String *deviceFunctions = deviceFunctions_example; // A comma separated String list of device functions (optional)
Integer *page = 56; // Zero-based page index (optional)
Integer *size = 56; // The size of the page to be returned (optional)

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

// Find devices based on filter
[apiInstance getDevicesUsingGETWith:realestateIds
    buildingstructureIds:buildingstructureIds
    buildingstructurecomponentIds:buildingstructurecomponentIds
    buildingstructurecomponentClassifications:buildingstructurecomponentClassifications
    deviceIds:deviceIds
    deviceFunctions:deviceFunctions
    page:page
    size:size
              completionHandler: ^(array[Device] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.DeviceControllerApi()

var opts = { 
  'realestateIds': realestateIds_example, // {String} A comma separated UUID list of real estate unique identifiers
  'buildingstructureIds': buildingstructureIds_example, // {String} A comma separated UUID list of building structure unique identifiers
  'buildingstructurecomponentIds': buildingstructurecomponentIds_example, // {String} A comma separated UUID list of building structure component unique identifiers
  'buildingstructurecomponentClassifications': buildingstructurecomponentClassifications_example, // {String} A comma separated String list of building structure component classifications
  'deviceIds': deviceIds_example, // {String} A comma separated UUID list of device unique identifiers
  'deviceFunctions': deviceFunctions_example, // {String} A comma separated String list of device functions
  'page': 56, // {Integer} Zero-based page index
  'size': 56 // {Integer} The size of the page to be returned
};

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

namespace Example
{
    public class getDevicesUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceControllerApi();
            var realestateIds = realestateIds_example;  // String | A comma separated UUID list of real estate unique identifiers (optional) 
            var buildingstructureIds = buildingstructureIds_example;  // String | A comma separated UUID list of building structure unique identifiers (optional) 
            var buildingstructurecomponentIds = buildingstructurecomponentIds_example;  // String | A comma separated UUID list of building structure component unique identifiers (optional) 
            var buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example;  // String | A comma separated String list of building structure component classifications (optional) 
            var deviceIds = deviceIds_example;  // String | A comma separated UUID list of device unique identifiers (optional) 
            var deviceFunctions = deviceFunctions_example;  // String | A comma separated String list of device functions (optional) 
            var page = 56;  // Integer | Zero-based page index (optional) 
            var size = 56;  // Integer | The size of the page to be returned (optional) 

            try
            {
                // Find devices based on filter
                array[Device] result = apiInstance.getDevicesUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceControllerApi.getDevicesUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceControllerApi();
$realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
$buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
$buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
$buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
$deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
$deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
$page = 56; // Integer | Zero-based page index
$size = 56; // Integer | The size of the page to be returned

try {
    $result = $api_instance->getDevicesUsingGET($realestateIds, $buildingstructureIds, $buildingstructurecomponentIds, $buildingstructurecomponentClassifications, $deviceIds, $deviceFunctions, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceControllerApi->getDevicesUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DeviceControllerApi;

my $api_instance = WWW::SwaggerClient::DeviceControllerApi->new();
my $realestateIds = realestateIds_example; # String | A comma separated UUID list of real estate unique identifiers
my $buildingstructureIds = buildingstructureIds_example; # String | A comma separated UUID list of building structure unique identifiers
my $buildingstructurecomponentIds = buildingstructurecomponentIds_example; # String | A comma separated UUID list of building structure component unique identifiers
my $buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; # String | A comma separated String list of building structure component classifications
my $deviceIds = deviceIds_example; # String | A comma separated UUID list of device unique identifiers
my $deviceFunctions = deviceFunctions_example; # String | A comma separated String list of device functions
my $page = 56; # Integer | Zero-based page index
my $size = 56; # Integer | The size of the page to be returned

eval { 
    my $result = $api_instance->getDevicesUsingGET(realestateIds => $realestateIds, buildingstructureIds => $buildingstructureIds, buildingstructurecomponentIds => $buildingstructurecomponentIds, buildingstructurecomponentClassifications => $buildingstructurecomponentClassifications, deviceIds => $deviceIds, deviceFunctions => $deviceFunctions, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceControllerApi->getDevicesUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DeviceControllerApi()
realestateIds = realestateIds_example # String | A comma separated UUID list of real estate unique identifiers (optional)
buildingstructureIds = buildingstructureIds_example # String | A comma separated UUID list of building structure unique identifiers (optional)
buildingstructurecomponentIds = buildingstructurecomponentIds_example # String | A comma separated UUID list of building structure component unique identifiers (optional)
buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example # String | A comma separated String list of building structure component classifications (optional)
deviceIds = deviceIds_example # String | A comma separated UUID list of device unique identifiers (optional)
deviceFunctions = deviceFunctions_example # String | A comma separated String list of device functions (optional)
page = 56 # Integer | Zero-based page index (optional)
size = 56 # Integer | The size of the page to be returned (optional)

try: 
    # Find devices based on filter
    api_response = api_instance.get_devices_using_get(realestateIds=realestateIds, buildingstructureIds=buildingstructureIds, buildingstructurecomponentIds=buildingstructurecomponentIds, buildingstructurecomponentClassifications=buildingstructurecomponentClassifications, deviceIds=deviceIds, deviceFunctions=deviceFunctions, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceControllerApi->getDevicesUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
realestate_ids
String
A comma separated UUID list of real estate unique identifiers
buildingstructure_ids
String
A comma separated UUID list of building structure unique identifiers
buildingstructurecomponent_ids
String
A comma separated UUID list of building structure component unique identifiers
buildingstructurecomponent_classifications
String
A comma separated String list of building structure component classifications
device_ids
String
A comma separated UUID list of device unique identifiers
device_functions
String
A comma separated String list of device functions
page
Integer (int32)
Zero-based page index
size
Integer (int32)
The size of the page to be returned

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


RealEstateController

getRealEstateUsingGET

Find specific building structure component

Find a real estate with matching unique identifier.


/realestate/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/realestate/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RealEstateControllerApi;

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

public class RealEstateControllerApiExample {

    public static void main(String[] args) {
        
        RealEstateControllerApi apiInstance = new RealEstateControllerApi();
        String id = id_example; // String | The real estate unique identifier
        try {
            RealEstate result = apiInstance.getRealEstateUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RealEstateControllerApi#getRealEstateUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RealEstateControllerApi;

public class RealEstateControllerApiExample {

    public static void main(String[] args) {
        RealEstateControllerApi apiInstance = new RealEstateControllerApi();
        String id = id_example; // String | The real estate unique identifier
        try {
            RealEstate result = apiInstance.getRealEstateUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RealEstateControllerApi#getRealEstateUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The real estate unique identifier

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

// Find specific building structure component
[apiInstance getRealEstateUsingGETWith:id
              completionHandler: ^(RealEstate output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RealEstateControllerApi()

var id = id_example; // {String} The real estate unique identifier


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

namespace Example
{
    public class getRealEstateUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RealEstateControllerApi();
            var id = id_example;  // String | The real estate unique identifier

            try
            {
                // Find specific building structure component
                RealEstate result = apiInstance.getRealEstateUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RealEstateControllerApi.getRealEstateUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RealEstateControllerApi();
$id = id_example; // String | The real estate unique identifier

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

my $api_instance = WWW::SwaggerClient::RealEstateControllerApi->new();
my $id = id_example; # String | The real estate unique identifier

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

# create an instance of the API class
api_instance = swagger_client.RealEstateControllerApi()
id = id_example # String | The real estate unique identifier

try: 
    # Find specific building structure component
    api_response = api_instance.get_real_estate_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RealEstateControllerApi->getRealEstateUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The real estate unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getRealEstatesInRangeUsingGET

Find real estate based on distance from a center point (GPS coordinate).

Find real estate based on distance from a center point (GPS coordinate).


/realestate/inrange

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/realestate/inrange?lat=&lon=&dist="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RealEstateControllerApi;

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

public class RealEstateControllerApiExample {

    public static void main(String[] args) {
        
        RealEstateControllerApi apiInstance = new RealEstateControllerApi();
        Double lat = 1.2; // Double | Latitude of center point
        Double lon = 1.2; // Double | Longitude of center point
        Double dist = 1.2; // Double | Distance from center point
        try {
            array[RealEstate] result = apiInstance.getRealEstatesInRangeUsingGET(lat, lon, dist);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RealEstateControllerApi#getRealEstatesInRangeUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RealEstateControllerApi;

public class RealEstateControllerApiExample {

    public static void main(String[] args) {
        RealEstateControllerApi apiInstance = new RealEstateControllerApi();
        Double lat = 1.2; // Double | Latitude of center point
        Double lon = 1.2; // Double | Longitude of center point
        Double dist = 1.2; // Double | Distance from center point
        try {
            array[RealEstate] result = apiInstance.getRealEstatesInRangeUsingGET(lat, lon, dist);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RealEstateControllerApi#getRealEstatesInRangeUsingGET");
            e.printStackTrace();
        }
    }
}
Double *lat = 1.2; // Latitude of center point (optional)
Double *lon = 1.2; // Longitude of center point (optional)
Double *dist = 1.2; // Distance from center point (optional)

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

// Find real estate based on distance from a center point (GPS coordinate).
[apiInstance getRealEstatesInRangeUsingGETWith:lat
    lon:lon
    dist:dist
              completionHandler: ^(array[RealEstate] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RealEstateControllerApi()

var opts = { 
  'lat': 1.2, // {Double} Latitude of center point
  'lon': 1.2, // {Double} Longitude of center point
  'dist': 1.2 // {Double} Distance from center point
};

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

namespace Example
{
    public class getRealEstatesInRangeUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RealEstateControllerApi();
            var lat = 1.2;  // Double | Latitude of center point (optional) 
            var lon = 1.2;  // Double | Longitude of center point (optional) 
            var dist = 1.2;  // Double | Distance from center point (optional) 

            try
            {
                // Find real estate based on distance from a center point (GPS coordinate).
                array[RealEstate] result = apiInstance.getRealEstatesInRangeUsingGET(lat, lon, dist);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RealEstateControllerApi.getRealEstatesInRangeUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RealEstateControllerApi();
$lat = 1.2; // Double | Latitude of center point
$lon = 1.2; // Double | Longitude of center point
$dist = 1.2; // Double | Distance from center point

try {
    $result = $api_instance->getRealEstatesInRangeUsingGET($lat, $lon, $dist);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RealEstateControllerApi->getRealEstatesInRangeUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RealEstateControllerApi;

my $api_instance = WWW::SwaggerClient::RealEstateControllerApi->new();
my $lat = 1.2; # Double | Latitude of center point
my $lon = 1.2; # Double | Longitude of center point
my $dist = 1.2; # Double | Distance from center point

eval { 
    my $result = $api_instance->getRealEstatesInRangeUsingGET(lat => $lat, lon => $lon, dist => $dist);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RealEstateControllerApi->getRealEstatesInRangeUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.RealEstateControllerApi()
lat = 1.2 # Double | Latitude of center point (optional)
lon = 1.2 # Double | Longitude of center point (optional)
dist = 1.2 # Double | Distance from center point (optional)

try: 
    # Find real estate based on distance from a center point (GPS coordinate).
    api_response = api_instance.get_real_estates_in_range_using_get(lat=lat, lon=lon, dist=dist)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RealEstateControllerApi->getRealEstatesInRangeUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
lat
Double (double)
Latitude of center point
lon
Double (double)
Longitude of center point
dist
Double (double)
Distance from center point

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getRealEstatesUsingGET

Find real estate based on filter

Find real estate based on filtering options.


/realestate

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/realestate?realestate_ids=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RealEstateControllerApi;

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

public class RealEstateControllerApiExample {

    public static void main(String[] args) {
        
        RealEstateControllerApi apiInstance = new RealEstateControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[RealEstate] result = apiInstance.getRealEstatesUsingGET(realestateIds, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RealEstateControllerApi#getRealEstatesUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RealEstateControllerApi;

public class RealEstateControllerApiExample {

    public static void main(String[] args) {
        RealEstateControllerApi apiInstance = new RealEstateControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[RealEstate] result = apiInstance.getRealEstatesUsingGET(realestateIds, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RealEstateControllerApi#getRealEstatesUsingGET");
            e.printStackTrace();
        }
    }
}
String *realestateIds = realestateIds_example; // A comma separated UUID list of real estate unique identifiers (optional)
Integer *page = 56; // Zero-based page index (optional)
Integer *size = 56; // The size of the page to be returned (optional)

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

// Find real estate based on filter
[apiInstance getRealEstatesUsingGETWith:realestateIds
    page:page
    size:size
              completionHandler: ^(array[RealEstate] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RealEstateControllerApi()

var opts = { 
  'realestateIds': realestateIds_example, // {String} A comma separated UUID list of real estate unique identifiers
  'page': 56, // {Integer} Zero-based page index
  'size': 56 // {Integer} The size of the page to be returned
};

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

namespace Example
{
    public class getRealEstatesUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RealEstateControllerApi();
            var realestateIds = realestateIds_example;  // String | A comma separated UUID list of real estate unique identifiers (optional) 
            var page = 56;  // Integer | Zero-based page index (optional) 
            var size = 56;  // Integer | The size of the page to be returned (optional) 

            try
            {
                // Find real estate based on filter
                array[RealEstate] result = apiInstance.getRealEstatesUsingGET(realestateIds, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RealEstateControllerApi.getRealEstatesUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RealEstateControllerApi();
$realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
$page = 56; // Integer | Zero-based page index
$size = 56; // Integer | The size of the page to be returned

try {
    $result = $api_instance->getRealEstatesUsingGET($realestateIds, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RealEstateControllerApi->getRealEstatesUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RealEstateControllerApi;

my $api_instance = WWW::SwaggerClient::RealEstateControllerApi->new();
my $realestateIds = realestateIds_example; # String | A comma separated UUID list of real estate unique identifiers
my $page = 56; # Integer | Zero-based page index
my $size = 56; # Integer | The size of the page to be returned

eval { 
    my $result = $api_instance->getRealEstatesUsingGET(realestateIds => $realestateIds, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RealEstateControllerApi->getRealEstatesUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.RealEstateControllerApi()
realestateIds = realestateIds_example # String | A comma separated UUID list of real estate unique identifiers (optional)
page = 56 # Integer | Zero-based page index (optional)
size = 56 # Integer | The size of the page to be returned (optional)

try: 
    # Find real estate based on filter
    api_response = api_instance.get_real_estates_using_get(realestateIds=realestateIds, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RealEstateControllerApi->getRealEstatesUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
realestate_ids
String
A comma separated UUID list of real estate unique identifiers
page
Integer (int32)
Zero-based page index
size
Integer (int32)
The size of the page to be returned

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


RecDefinitionsController

getBuildingStructureComponentClassesUsingGET

List building structure component classes

List all building structure components classes from Real Estate Core.


/buildingstructurecomponentclass

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/buildingstructurecomponentclass"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RecDefinitionsControllerApi;

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

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getBuildingStructureComponentClassesUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getBuildingStructureComponentClassesUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RecDefinitionsControllerApi;

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getBuildingStructureComponentClassesUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getBuildingStructureComponentClassesUsingGET");
            e.printStackTrace();
        }
    }
}

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

// List building structure component classes
[apiInstance getBuildingStructureComponentClassesUsingGETWithCompletionHandler: 
              ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RecDefinitionsControllerApi()

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

namespace Example
{
    public class getBuildingStructureComponentClassesUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RecDefinitionsControllerApi();

            try
            {
                // List building structure component classes
                array['String'] result = apiInstance.getBuildingStructureComponentClassesUsingGET();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RecDefinitionsControllerApi.getBuildingStructureComponentClassesUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RecDefinitionsControllerApi();

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

my $api_instance = WWW::SwaggerClient::RecDefinitionsControllerApi->new();

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

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

try: 
    # List building structure component classes
    api_response = api_instance.get_building_structure_component_classes_using_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RecDefinitionsControllerApi->getBuildingStructureComponentClassesUsingGET: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getDeviceFunctionsUsingGET

List device functions

List all device functions defined by Real Estate Core.


/devicefunction

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/devicefunction"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RecDefinitionsControllerApi;

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

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getDeviceFunctionsUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getDeviceFunctionsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RecDefinitionsControllerApi;

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getDeviceFunctionsUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getDeviceFunctionsUsingGET");
            e.printStackTrace();
        }
    }
}

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

// List device functions
[apiInstance getDeviceFunctionsUsingGETWithCompletionHandler: 
              ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RecDefinitionsControllerApi()

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

namespace Example
{
    public class getDeviceFunctionsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RecDefinitionsControllerApi();

            try
            {
                // List device functions
                array['String'] result = apiInstance.getDeviceFunctionsUsingGET();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RecDefinitionsControllerApi.getDeviceFunctionsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RecDefinitionsControllerApi();

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

my $api_instance = WWW::SwaggerClient::RecDefinitionsControllerApi->new();

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

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

try: 
    # List device functions
    api_response = api_instance.get_device_functions_using_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RecDefinitionsControllerApi->getDeviceFunctionsUsingGET: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getPlacementContextsUsingGET

List placement contexts

List all placement contexts defined by Real Estate Core.


/placementcontext

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/placementcontext"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RecDefinitionsControllerApi;

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

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getPlacementContextsUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getPlacementContextsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RecDefinitionsControllerApi;

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getPlacementContextsUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getPlacementContextsUsingGET");
            e.printStackTrace();
        }
    }
}

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

// List placement contexts
[apiInstance getPlacementContextsUsingGETWithCompletionHandler: 
              ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RecDefinitionsControllerApi()

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

namespace Example
{
    public class getPlacementContextsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RecDefinitionsControllerApi();

            try
            {
                // List placement contexts
                array['String'] result = apiInstance.getPlacementContextsUsingGET();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RecDefinitionsControllerApi.getPlacementContextsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RecDefinitionsControllerApi();

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

my $api_instance = WWW::SwaggerClient::RecDefinitionsControllerApi->new();

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

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

try: 
    # List placement contexts
    api_response = api_instance.get_placement_contexts_using_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RecDefinitionsControllerApi->getPlacementContextsUsingGET: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getQuantityKindsUsingGET

List quantity kinds

List all available quantity kinds.


/quantitykind

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/quantitykind"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RecDefinitionsControllerApi;

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

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array[QuantityKind] result = apiInstance.getQuantityKindsUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getQuantityKindsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RecDefinitionsControllerApi;

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array[QuantityKind] result = apiInstance.getQuantityKindsUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getQuantityKindsUsingGET");
            e.printStackTrace();
        }
    }
}

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

// List quantity kinds
[apiInstance getQuantityKindsUsingGETWithCompletionHandler: 
              ^(array[QuantityKind] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RecDefinitionsControllerApi()

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

namespace Example
{
    public class getQuantityKindsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RecDefinitionsControllerApi();

            try
            {
                // List quantity kinds
                array[QuantityKind] result = apiInstance.getQuantityKindsUsingGET();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RecDefinitionsControllerApi.getQuantityKindsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RecDefinitionsControllerApi();

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

my $api_instance = WWW::SwaggerClient::RecDefinitionsControllerApi->new();

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

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

try: 
    # List quantity kinds
    api_response = api_instance.get_quantity_kinds_using_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RecDefinitionsControllerApi->getQuantityKindsUsingGET: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getRoomClassesUsingGET

List Building Structure Components that are subclasses of the room class

List all classes for building structure components that are subclasses of the room class from Real Estate Core.


/roomclass

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/roomclass"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RecDefinitionsControllerApi;

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

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getRoomClassesUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getRoomClassesUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RecDefinitionsControllerApi;

public class RecDefinitionsControllerApiExample {

    public static void main(String[] args) {
        RecDefinitionsControllerApi apiInstance = new RecDefinitionsControllerApi();
        try {
            array['String'] result = apiInstance.getRoomClassesUsingGET();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RecDefinitionsControllerApi#getRoomClassesUsingGET");
            e.printStackTrace();
        }
    }
}

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

// List Building Structure Components that are subclasses of the room class
[apiInstance getRoomClassesUsingGETWithCompletionHandler: 
              ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.RecDefinitionsControllerApi()

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

namespace Example
{
    public class getRoomClassesUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new RecDefinitionsControllerApi();

            try
            {
                // List Building Structure Components that are subclasses of the room class
                array['String'] result = apiInstance.getRoomClassesUsingGET();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RecDefinitionsControllerApi.getRoomClassesUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RecDefinitionsControllerApi();

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

my $api_instance = WWW::SwaggerClient::RecDefinitionsControllerApi->new();

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

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

try: 
    # List Building Structure Components that are subclasses of the room class
    api_response = api_instance.get_room_classes_using_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RecDefinitionsControllerApi->getRoomClassesUsingGET: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


SensorController

getObservationUsingGET

Get latest observation for a specific sensor


/sensor/{id}/observation/latest

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/sensor/{id}/observation/latest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SensorControllerApi;

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

public class SensorControllerApiExample {

    public static void main(String[] args) {
        
        SensorControllerApi apiInstance = new SensorControllerApi();
        String id = id_example; // String | The sensor unique identifier from where to get the latest observation
        try {
            Observation result = apiInstance.getObservationUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getObservationUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SensorControllerApi;

public class SensorControllerApiExample {

    public static void main(String[] args) {
        SensorControllerApi apiInstance = new SensorControllerApi();
        String id = id_example; // String | The sensor unique identifier from where to get the latest observation
        try {
            Observation result = apiInstance.getObservationUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getObservationUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The sensor unique identifier from where to get the latest observation

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

// Get latest observation for a specific sensor
[apiInstance getObservationUsingGETWith:id
              completionHandler: ^(Observation output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.SensorControllerApi()

var id = id_example; // {String} The sensor unique identifier from where to get the latest observation


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

namespace Example
{
    public class getObservationUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new SensorControllerApi();
            var id = id_example;  // String | The sensor unique identifier from where to get the latest observation

            try
            {
                // Get latest observation for a specific sensor
                Observation result = apiInstance.getObservationUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SensorControllerApi.getObservationUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SensorControllerApi();
$id = id_example; // String | The sensor unique identifier from where to get the latest observation

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

my $api_instance = WWW::SwaggerClient::SensorControllerApi->new();
my $id = id_example; # String | The sensor unique identifier from where to get the latest observation

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

# create an instance of the API class
api_instance = swagger_client.SensorControllerApi()
id = id_example # String | The sensor unique identifier from where to get the latest observation

try: 
    # Get latest observation for a specific sensor
    api_response = api_instance.get_observation_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SensorControllerApi->getObservationUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The sensor unique identifier from where to get the latest observation
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getObservationsUsingGET

Get observations for a specific sensor between two points of time (startTime and endTime), if no startdate or endate specified, defaults are used. Default startTime is now (UTC) and default endTime is startTime - 24H.


/sensor/{id}/observation

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/sensor/{id}/observation?startTime=&endTime="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SensorControllerApi;

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

public class SensorControllerApiExample {

    public static void main(String[] args) {
        
        SensorControllerApi apiInstance = new SensorControllerApi();
        String id = id_example; // String | The sensor unique identifier from where to get the observations
        Date startTime = 2013-10-20T19:20:30+01:00; // Date | startTime
        Date endTime = 2013-10-20T19:20:30+01:00; // Date | endTime
        try {
            array[Observation] result = apiInstance.getObservationsUsingGET(id, startTime, endTime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getObservationsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SensorControllerApi;

public class SensorControllerApiExample {

    public static void main(String[] args) {
        SensorControllerApi apiInstance = new SensorControllerApi();
        String id = id_example; // String | The sensor unique identifier from where to get the observations
        Date startTime = 2013-10-20T19:20:30+01:00; // Date | startTime
        Date endTime = 2013-10-20T19:20:30+01:00; // Date | endTime
        try {
            array[Observation] result = apiInstance.getObservationsUsingGET(id, startTime, endTime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getObservationsUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The sensor unique identifier from where to get the observations
Date *startTime = 2013-10-20T19:20:30+01:00; // startTime (optional)
Date *endTime = 2013-10-20T19:20:30+01:00; // endTime (optional)

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

// Get observations for a specific sensor between two points of time (startTime and endTime), if no startdate or endate specified, defaults are used. Default startTime is now (UTC) and default endTime is startTime - 24H.
[apiInstance getObservationsUsingGETWith:id
    startTime:startTime
    endTime:endTime
              completionHandler: ^(array[Observation] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.SensorControllerApi()

var id = id_example; // {String} The sensor unique identifier from where to get the observations

var opts = { 
  'startTime': 2013-10-20T19:20:30+01:00, // {Date} startTime
  'endTime': 2013-10-20T19:20:30+01:00 // {Date} endTime
};

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

namespace Example
{
    public class getObservationsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new SensorControllerApi();
            var id = id_example;  // String | The sensor unique identifier from where to get the observations
            var startTime = 2013-10-20T19:20:30+01:00;  // Date | startTime (optional) 
            var endTime = 2013-10-20T19:20:30+01:00;  // Date | endTime (optional) 

            try
            {
                // Get observations for a specific sensor between two points of time (startTime and endTime), if no startdate or endate specified, defaults are used. Default startTime is now (UTC) and default endTime is startTime - 24H.
                array[Observation] result = apiInstance.getObservationsUsingGET(id, startTime, endTime);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SensorControllerApi.getObservationsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SensorControllerApi();
$id = id_example; // String | The sensor unique identifier from where to get the observations
$startTime = 2013-10-20T19:20:30+01:00; // Date | startTime
$endTime = 2013-10-20T19:20:30+01:00; // Date | endTime

try {
    $result = $api_instance->getObservationsUsingGET($id, $startTime, $endTime);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SensorControllerApi->getObservationsUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SensorControllerApi;

my $api_instance = WWW::SwaggerClient::SensorControllerApi->new();
my $id = id_example; # String | The sensor unique identifier from where to get the observations
my $startTime = 2013-10-20T19:20:30+01:00; # Date | startTime
my $endTime = 2013-10-20T19:20:30+01:00; # Date | endTime

eval { 
    my $result = $api_instance->getObservationsUsingGET(id => $id, startTime => $startTime, endTime => $endTime);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SensorControllerApi->getObservationsUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SensorControllerApi()
id = id_example # String | The sensor unique identifier from where to get the observations
startTime = 2013-10-20T19:20:30+01:00 # Date | startTime (optional)
endTime = 2013-10-20T19:20:30+01:00 # Date | endTime (optional)

try: 
    # Get observations for a specific sensor between two points of time (startTime and endTime), if no startdate or endate specified, defaults are used. Default startTime is now (UTC) and default endTime is startTime - 24H.
    api_response = api_instance.get_observations_using_get(id, startTime=startTime, endTime=endTime)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SensorControllerApi->getObservationsUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The sensor unique identifier from where to get the observations
Required
Query parameters
Name Description
startTime
Date (date-time)
startTime
endTime
Date (date-time)
endTime

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getSensorUsingGET

Find specific sensor

Find a sensor with matching unique identifier.


/sensor/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/sensor/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SensorControllerApi;

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

public class SensorControllerApiExample {

    public static void main(String[] args) {
        
        SensorControllerApi apiInstance = new SensorControllerApi();
        String id = id_example; // String | The sensor unique identifier
        try {
            Sensor result = apiInstance.getSensorUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getSensorUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SensorControllerApi;

public class SensorControllerApiExample {

    public static void main(String[] args) {
        SensorControllerApi apiInstance = new SensorControllerApi();
        String id = id_example; // String | The sensor unique identifier
        try {
            Sensor result = apiInstance.getSensorUsingGET(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getSensorUsingGET");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The sensor unique identifier

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

// Find specific sensor
[apiInstance getSensorUsingGETWith:id
              completionHandler: ^(Sensor output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.SensorControllerApi()

var id = id_example; // {String} The sensor unique identifier


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

namespace Example
{
    public class getSensorUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new SensorControllerApi();
            var id = id_example;  // String | The sensor unique identifier

            try
            {
                // Find specific sensor
                Sensor result = apiInstance.getSensorUsingGET(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SensorControllerApi.getSensorUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SensorControllerApi();
$id = id_example; // String | The sensor unique identifier

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

my $api_instance = WWW::SwaggerClient::SensorControllerApi->new();
my $id = id_example; # String | The sensor unique identifier

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

# create an instance of the API class
api_instance = swagger_client.SensorControllerApi()
id = id_example # String | The sensor unique identifier

try: 
    # Find specific sensor
    api_response = api_instance.get_sensor_using_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SensorControllerApi->getSensorUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The sensor unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getSensorsUsingGET

Find sensors based on filter

Find sensors based on filtering options.


/sensor

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/sensor?realestate_ids=&buildingstructure_ids=&buildingstructurecomponent_ids=&buildingstructurecomponent_classifications=&device_ids=&device_functions=&sensor_ids=&quantity_kinds=&placement_contexts=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SensorControllerApi;

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

public class SensorControllerApiExample {

    public static void main(String[] args) {
        
        SensorControllerApi apiInstance = new SensorControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        String deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
        String deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
        String sensorIds = sensorIds_example; // String | A comma separated UUID list of sensor unique identifiers
        String quantityKinds = quantityKinds_example; // String | A comma separated String list of quantity kinds
        String placementContexts = placementContexts_example; // String | A comma separated String list of placement contexts
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[Sensor] result = apiInstance.getSensorsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, sensorIds, quantityKinds, placementContexts, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getSensorsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SensorControllerApi;

public class SensorControllerApiExample {

    public static void main(String[] args) {
        SensorControllerApi apiInstance = new SensorControllerApi();
        String realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
        String buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
        String buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
        String buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
        String deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
        String deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
        String sensorIds = sensorIds_example; // String | A comma separated UUID list of sensor unique identifiers
        String quantityKinds = quantityKinds_example; // String | A comma separated String list of quantity kinds
        String placementContexts = placementContexts_example; // String | A comma separated String list of placement contexts
        Integer page = 56; // Integer | Zero-based page index
        Integer size = 56; // Integer | The size of the page to be returned
        try {
            array[Sensor] result = apiInstance.getSensorsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, sensorIds, quantityKinds, placementContexts, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SensorControllerApi#getSensorsUsingGET");
            e.printStackTrace();
        }
    }
}
String *realestateIds = realestateIds_example; // A comma separated UUID list of real estate unique identifiers (optional)
String *buildingstructureIds = buildingstructureIds_example; // A comma separated UUID list of building structure unique identifiers (optional)
String *buildingstructurecomponentIds = buildingstructurecomponentIds_example; // A comma separated UUID list of building structure component unique identifiers (optional)
String *buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // A comma separated String list of building structure component classifications (optional)
String *deviceIds = deviceIds_example; // A comma separated UUID list of device unique identifiers (optional)
String *deviceFunctions = deviceFunctions_example; // A comma separated String list of device functions (optional)
String *sensorIds = sensorIds_example; // A comma separated UUID list of sensor unique identifiers (optional)
String *quantityKinds = quantityKinds_example; // A comma separated String list of quantity kinds (optional)
String *placementContexts = placementContexts_example; // A comma separated String list of placement contexts (optional)
Integer *page = 56; // Zero-based page index (optional)
Integer *size = 56; // The size of the page to be returned (optional)

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

// Find sensors based on filter
[apiInstance getSensorsUsingGETWith:realestateIds
    buildingstructureIds:buildingstructureIds
    buildingstructurecomponentIds:buildingstructurecomponentIds
    buildingstructurecomponentClassifications:buildingstructurecomponentClassifications
    deviceIds:deviceIds
    deviceFunctions:deviceFunctions
    sensorIds:sensorIds
    quantityKinds:quantityKinds
    placementContexts:placementContexts
    page:page
    size:size
              completionHandler: ^(array[Sensor] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.SensorControllerApi()

var opts = { 
  'realestateIds': realestateIds_example, // {String} A comma separated UUID list of real estate unique identifiers
  'buildingstructureIds': buildingstructureIds_example, // {String} A comma separated UUID list of building structure unique identifiers
  'buildingstructurecomponentIds': buildingstructurecomponentIds_example, // {String} A comma separated UUID list of building structure component unique identifiers
  'buildingstructurecomponentClassifications': buildingstructurecomponentClassifications_example, // {String} A comma separated String list of building structure component classifications
  'deviceIds': deviceIds_example, // {String} A comma separated UUID list of device unique identifiers
  'deviceFunctions': deviceFunctions_example, // {String} A comma separated String list of device functions
  'sensorIds': sensorIds_example, // {String} A comma separated UUID list of sensor unique identifiers
  'quantityKinds': quantityKinds_example, // {String} A comma separated String list of quantity kinds
  'placementContexts': placementContexts_example, // {String} A comma separated String list of placement contexts
  'page': 56, // {Integer} Zero-based page index
  'size': 56 // {Integer} The size of the page to be returned
};

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

namespace Example
{
    public class getSensorsUsingGETExample
    {
        public void main()
        {
            
            var apiInstance = new SensorControllerApi();
            var realestateIds = realestateIds_example;  // String | A comma separated UUID list of real estate unique identifiers (optional) 
            var buildingstructureIds = buildingstructureIds_example;  // String | A comma separated UUID list of building structure unique identifiers (optional) 
            var buildingstructurecomponentIds = buildingstructurecomponentIds_example;  // String | A comma separated UUID list of building structure component unique identifiers (optional) 
            var buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example;  // String | A comma separated String list of building structure component classifications (optional) 
            var deviceIds = deviceIds_example;  // String | A comma separated UUID list of device unique identifiers (optional) 
            var deviceFunctions = deviceFunctions_example;  // String | A comma separated String list of device functions (optional) 
            var sensorIds = sensorIds_example;  // String | A comma separated UUID list of sensor unique identifiers (optional) 
            var quantityKinds = quantityKinds_example;  // String | A comma separated String list of quantity kinds (optional) 
            var placementContexts = placementContexts_example;  // String | A comma separated String list of placement contexts (optional) 
            var page = 56;  // Integer | Zero-based page index (optional) 
            var size = 56;  // Integer | The size of the page to be returned (optional) 

            try
            {
                // Find sensors based on filter
                array[Sensor] result = apiInstance.getSensorsUsingGET(realestateIds, buildingstructureIds, buildingstructurecomponentIds, buildingstructurecomponentClassifications, deviceIds, deviceFunctions, sensorIds, quantityKinds, placementContexts, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SensorControllerApi.getSensorsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SensorControllerApi();
$realestateIds = realestateIds_example; // String | A comma separated UUID list of real estate unique identifiers
$buildingstructureIds = buildingstructureIds_example; // String | A comma separated UUID list of building structure unique identifiers
$buildingstructurecomponentIds = buildingstructurecomponentIds_example; // String | A comma separated UUID list of building structure component unique identifiers
$buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; // String | A comma separated String list of building structure component classifications
$deviceIds = deviceIds_example; // String | A comma separated UUID list of device unique identifiers
$deviceFunctions = deviceFunctions_example; // String | A comma separated String list of device functions
$sensorIds = sensorIds_example; // String | A comma separated UUID list of sensor unique identifiers
$quantityKinds = quantityKinds_example; // String | A comma separated String list of quantity kinds
$placementContexts = placementContexts_example; // String | A comma separated String list of placement contexts
$page = 56; // Integer | Zero-based page index
$size = 56; // Integer | The size of the page to be returned

try {
    $result = $api_instance->getSensorsUsingGET($realestateIds, $buildingstructureIds, $buildingstructurecomponentIds, $buildingstructurecomponentClassifications, $deviceIds, $deviceFunctions, $sensorIds, $quantityKinds, $placementContexts, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SensorControllerApi->getSensorsUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SensorControllerApi;

my $api_instance = WWW::SwaggerClient::SensorControllerApi->new();
my $realestateIds = realestateIds_example; # String | A comma separated UUID list of real estate unique identifiers
my $buildingstructureIds = buildingstructureIds_example; # String | A comma separated UUID list of building structure unique identifiers
my $buildingstructurecomponentIds = buildingstructurecomponentIds_example; # String | A comma separated UUID list of building structure component unique identifiers
my $buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example; # String | A comma separated String list of building structure component classifications
my $deviceIds = deviceIds_example; # String | A comma separated UUID list of device unique identifiers
my $deviceFunctions = deviceFunctions_example; # String | A comma separated String list of device functions
my $sensorIds = sensorIds_example; # String | A comma separated UUID list of sensor unique identifiers
my $quantityKinds = quantityKinds_example; # String | A comma separated String list of quantity kinds
my $placementContexts = placementContexts_example; # String | A comma separated String list of placement contexts
my $page = 56; # Integer | Zero-based page index
my $size = 56; # Integer | The size of the page to be returned

eval { 
    my $result = $api_instance->getSensorsUsingGET(realestateIds => $realestateIds, buildingstructureIds => $buildingstructureIds, buildingstructurecomponentIds => $buildingstructurecomponentIds, buildingstructurecomponentClassifications => $buildingstructurecomponentClassifications, deviceIds => $deviceIds, deviceFunctions => $deviceFunctions, sensorIds => $sensorIds, quantityKinds => $quantityKinds, placementContexts => $placementContexts, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SensorControllerApi->getSensorsUsingGET: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SensorControllerApi()
realestateIds = realestateIds_example # String | A comma separated UUID list of real estate unique identifiers (optional)
buildingstructureIds = buildingstructureIds_example # String | A comma separated UUID list of building structure unique identifiers (optional)
buildingstructurecomponentIds = buildingstructurecomponentIds_example # String | A comma separated UUID list of building structure component unique identifiers (optional)
buildingstructurecomponentClassifications = buildingstructurecomponentClassifications_example # String | A comma separated String list of building structure component classifications (optional)
deviceIds = deviceIds_example # String | A comma separated UUID list of device unique identifiers (optional)
deviceFunctions = deviceFunctions_example # String | A comma separated String list of device functions (optional)
sensorIds = sensorIds_example # String | A comma separated UUID list of sensor unique identifiers (optional)
quantityKinds = quantityKinds_example # String | A comma separated String list of quantity kinds (optional)
placementContexts = placementContexts_example # String | A comma separated String list of placement contexts (optional)
page = 56 # Integer | Zero-based page index (optional)
size = 56 # Integer | The size of the page to be returned (optional)

try: 
    # Find sensors based on filter
    api_response = api_instance.get_sensors_using_get(realestateIds=realestateIds, buildingstructureIds=buildingstructureIds, buildingstructurecomponentIds=buildingstructurecomponentIds, buildingstructurecomponentClassifications=buildingstructurecomponentClassifications, deviceIds=deviceIds, deviceFunctions=deviceFunctions, sensorIds=sensorIds, quantityKinds=quantityKinds, placementContexts=placementContexts, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SensorControllerApi->getSensorsUsingGET: %s\n" % e)

Parameters

Query parameters
Name Description
realestate_ids
String
A comma separated UUID list of real estate unique identifiers
buildingstructure_ids
String
A comma separated UUID list of building structure unique identifiers
buildingstructurecomponent_ids
String
A comma separated UUID list of building structure component unique identifiers
buildingstructurecomponent_classifications
String
A comma separated String list of building structure component classifications
device_ids
String
A comma separated UUID list of device unique identifiers
device_functions
String
A comma separated String list of device functions
sensor_ids
String
A comma separated UUID list of sensor unique identifiers
quantity_kinds
String
A comma separated String list of quantity kinds
placement_contexts
String
A comma separated String list of placement contexts
page
Integer (int32)
Zero-based page index
size
Integer (int32)
The size of the page to be returned

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


StoreyLevelController

getStoreyLevelUsingGET1

Find specific storey level

Find a storey level with matching unique identifier.


/storeylevel/{id}

Usage and SDK Samples

curl -X GET "https://ah.graph.idunrealestate.com/api/storeylevel/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoreyLevelControllerApi;

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

public class StoreyLevelControllerApiExample {

    public static void main(String[] args) {
        
        StoreyLevelControllerApi apiInstance = new StoreyLevelControllerApi();
        String id = id_example; // String | The building structure component unique identifier
        try {
            StoreyLevel result = apiInstance.getStoreyLevelUsingGET1(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoreyLevelControllerApi#getStoreyLevelUsingGET1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoreyLevelControllerApi;

public class StoreyLevelControllerApiExample {

    public static void main(String[] args) {
        StoreyLevelControllerApi apiInstance = new StoreyLevelControllerApi();
        String id = id_example; // String | The building structure component unique identifier
        try {
            StoreyLevel result = apiInstance.getStoreyLevelUsingGET1(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoreyLevelControllerApi#getStoreyLevelUsingGET1");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The building structure component unique identifier

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

// Find specific storey level
[apiInstance getStoreyLevelUsingGET1With:id
              completionHandler: ^(StoreyLevel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IdunRealEstateGraph = require('idun_real_estate_graph');

var api = new IdunRealEstateGraph.StoreyLevelControllerApi()

var id = id_example; // {String} The building structure component unique identifier


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

namespace Example
{
    public class getStoreyLevelUsingGET1Example
    {
        public void main()
        {
            
            var apiInstance = new StoreyLevelControllerApi();
            var id = id_example;  // String | The building structure component unique identifier

            try
            {
                // Find specific storey level
                StoreyLevel result = apiInstance.getStoreyLevelUsingGET1(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoreyLevelControllerApi.getStoreyLevelUsingGET1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoreyLevelControllerApi();
$id = id_example; // String | The building structure component unique identifier

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

my $api_instance = WWW::SwaggerClient::StoreyLevelControllerApi->new();
my $id = id_example; # String | The building structure component unique identifier

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

# create an instance of the API class
api_instance = swagger_client.StoreyLevelControllerApi()
id = id_example # String | The building structure component unique identifier

try: 
    # Find specific storey level
    api_response = api_instance.get_storey_level_using_get1(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoreyLevelControllerApi->getStoreyLevelUsingGET1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The building structure component unique identifier
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found