Testo Apps HTTP API

T300

dataGet

Returns the TJF object of the current measurement


/data

Usage and SDK Samples

curl -X GET "http://device-ip-address.example.com/data"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T300Api;

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

public class T300ApiExample {

    public static void main(String[] args) {
        
        T300Api apiInstance = new T300Api();
        try {
            Object result = apiInstance.dataGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T300Api#dataGet");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T300Api;

public class T300ApiExample {

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

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

// Returns the TJF object of the current measurement
[apiInstance dataGetWithCompletionHandler: 
              ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

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

namespace Example
{
    public class dataGetExample
    {
        public void main()
        {
            
            var apiInstance = new T300Api();

            try
            {
                // Returns the TJF object of the current measurement
                Object result = apiInstance.dataGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T300Api.dataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

my $api_instance = WWW::OPenAPIClient::T300Api->new();

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

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

try: 
    # Returns the TJF object of the current measurement
    api_response = api_instance.data_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling T300Api->dataGet: %s\n" % e)
extern crate T300Api;

pub fn main() {

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

}

Scopes

Parameters

Responses


deviceInfoGet

Returns a JSON object with the device information


/deviceInfo

Usage and SDK Samples

curl -X GET "http://device-ip-address.example.com/deviceInfo"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T300Api;

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

public class T300ApiExample {

    public static void main(String[] args) {
        
        T300Api apiInstance = new T300Api();
        try {
            deviceInfo-schema-v2 result = apiInstance.deviceInfoGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T300Api#deviceInfoGet");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T300Api;

public class T300ApiExample {

    public static void main(String[] args) {
        T300Api apiInstance = new T300Api();
        try {
            deviceInfo-schema-v2 result = apiInstance.deviceInfoGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T300Api#deviceInfoGet");
            e.printStackTrace();
        }
    }
}

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

// Returns a JSON object with the device information
[apiInstance deviceInfoGetWithCompletionHandler: 
              ^(deviceInfo-schema-v2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

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

namespace Example
{
    public class deviceInfoGetExample
    {
        public void main()
        {
            
            var apiInstance = new T300Api();

            try
            {
                // Returns a JSON object with the device information
                deviceInfo-schema-v2 result = apiInstance.deviceInfoGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T300Api.deviceInfoGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

my $api_instance = WWW::OPenAPIClient::T300Api->new();

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

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

try: 
    # Returns a JSON object with the device information
    api_response = api_instance.device_info_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling T300Api->deviceInfoGet: %s\n" % e)
extern crate T300Api;

pub fn main() {

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

}

Scopes

Parameters

Responses


oGet

Returns the result of the last measurement


/o

Usage and SDK Samples

curl -X GET "http://device-ip-address.example.com/o"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T300Api;

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

public class T300ApiExample {

    public static void main(String[] args) {
        
        T300Api apiInstance = new T300Api();
        try {
            Object result = apiInstance.oGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T300Api#oGet");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T300Api;

public class T300ApiExample {

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

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

// Returns the result of the last measurement
[apiInstance oGetWithCompletionHandler: 
              ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

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

namespace Example
{
    public class oGetExample
    {
        public void main()
        {
            
            var apiInstance = new T300Api();

            try
            {
                // Returns the result of the last measurement
                Object result = apiInstance.oGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T300Api.oGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

my $api_instance = WWW::OPenAPIClient::T300Api->new();

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

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

try: 
    # Returns the result of the last measurement
    api_response = api_instance.o_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling T300Api->oGet: %s\n" % e)
extern crate T300Api;

pub fn main() {

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

}

Scopes

Parameters

Responses


oPost

Starts a measurement


/o

Usage and SDK Samples

curl -X POST "http://device-ip-address.example.com/o"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T300Api;

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

public class T300ApiExample {

    public static void main(String[] args) {
        
        T300Api apiInstance = new T300Api();
        Object body = Object; // Object | 
        try {
            apiInstance.oPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling T300Api#oPost");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T300Api;

public class T300ApiExample {

    public static void main(String[] args) {
        T300Api apiInstance = new T300Api();
        Object body = Object; // Object | 
        try {
            apiInstance.oPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling T300Api#oPost");
            e.printStackTrace();
        }
    }
}
Object *body = Object; // 

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

// Starts a measurement
[apiInstance oPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

var api = new TestoAppsHttpApi.T300Api()
var body = Object; // {Object} 

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

namespace Example
{
    public class oPostExample
    {
        public void main()
        {
            
            var apiInstance = new T300Api();
            var body = Object;  // Object | 

            try
            {
                // Starts a measurement
                apiInstance.oPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T300Api.oPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\T300Api();
$body = Object; // Object | 

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

my $api_instance = WWW::OPenAPIClient::T300Api->new();
my $body = WWW::OPenAPIClient::Object::Object->new(); # Object | 

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

# create an instance of the API class
api_instance = openapi_client.T300Api()
body = Object # Object | 

try: 
    # Starts a measurement
    api_instance.o_post(body)
except ApiException as e:
    print("Exception when calling T300Api->oPost: %s\n" % e)
extern crate T300Api;

pub fn main() {
    let body = Object; // Object

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

}

Scopes

Parameters

Body parameters
Name Description
body *

XML content to select the measurements

Responses


T400

contactGet

Returns a JSON object with the contacts


/contact

Usage and SDK Samples

curl -X GET "http://device-ip-address.example.com/contact"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T400Api;

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

public class T400ApiExample {

    public static void main(String[] args) {
        
        T400Api apiInstance = new T400Api();
        try {
            contact-schema-v2 result = apiInstance.contactGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#contactGet");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T400Api;

public class T400ApiExample {

    public static void main(String[] args) {
        T400Api apiInstance = new T400Api();
        try {
            contact-schema-v2 result = apiInstance.contactGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#contactGet");
            e.printStackTrace();
        }
    }
}

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

// Returns a JSON object with the contacts
[apiInstance contactGetWithCompletionHandler: 
              ^(contact-schema-v2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

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

namespace Example
{
    public class contactGetExample
    {
        public void main()
        {
            
            var apiInstance = new T400Api();

            try
            {
                // Returns a JSON object with the contacts
                contact-schema-v2 result = apiInstance.contactGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T400Api.contactGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

my $api_instance = WWW::OPenAPIClient::T400Api->new();

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

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

try: 
    # Returns a JSON object with the contacts
    api_response = api_instance.contact_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling T400Api->contactGet: %s\n" % e)
extern crate T400Api;

pub fn main() {

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

}

Scopes

Parameters

Responses


contactPost

Adds a Contact object


/contact

Usage and SDK Samples

curl -X POST "http://device-ip-address.example.com/contact"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T400Api;

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

public class T400ApiExample {

    public static void main(String[] args) {
        
        T400Api apiInstance = new T400Api();
        map[String, Object] requestBody = ; // map[String, Object] | 
        try {
            apiInstance.contactPost(requestBody);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#contactPost");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T400Api;

public class T400ApiExample {

    public static void main(String[] args) {
        T400Api apiInstance = new T400Api();
        map[String, Object] requestBody = ; // map[String, Object] | 
        try {
            apiInstance.contactPost(requestBody);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#contactPost");
            e.printStackTrace();
        }
    }
}
map[String, Object] *requestBody = ; // 

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

// Adds a Contact object
[apiInstance contactPostWith:requestBody
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

var api = new TestoAppsHttpApi.T400Api()
var requestBody = ; // {map[String, Object]} 

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

namespace Example
{
    public class contactPostExample
    {
        public void main()
        {
            
            var apiInstance = new T400Api();
            var requestBody = new map[String, Object](); // map[String, Object] | 

            try
            {
                // Adds a Contact object
                apiInstance.contactPost(requestBody);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T400Api.contactPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\T400Api();
$requestBody = ; // map[String, Object] | 

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

my $api_instance = WWW::OPenAPIClient::T400Api->new();
my $requestBody = WWW::OPenAPIClient::Object::map[String, Object]->new(); # map[String, Object] | 

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

# create an instance of the API class
api_instance = openapi_client.T400Api()
requestBody =  # map[String, Object] | 

try: 
    # Adds a Contact object
    api_instance.contact_post(requestBody)
except ApiException as e:
    print("Exception when calling T400Api->contactPost: %s\n" % e)
extern crate T400Api;

pub fn main() {
    let requestBody = ; // map[String, Object]

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

}

Scopes

Parameters

Body parameters
Name Description
requestBody *

Object of the Contact object

Responses


contactUuidGet

Returns a JSON object of the contact by UUID


/contact/{uuid}

Usage and SDK Samples

curl -X GET "http://device-ip-address.example.com/contact/{uuid}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T400Api;

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

public class T400ApiExample {

    public static void main(String[] args) {
        
        T400Api apiInstance = new T400Api();
        UUID uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | UUID
        try {
            contact-schema-v2 result = apiInstance.contactUuidGet(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#contactUuidGet");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T400Api;

public class T400ApiExample {

    public static void main(String[] args) {
        T400Api apiInstance = new T400Api();
        UUID uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | UUID
        try {
            contact-schema-v2 result = apiInstance.contactUuidGet(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#contactUuidGet");
            e.printStackTrace();
        }
    }
}
UUID *uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID (default to null)

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

// Returns a JSON object of the contact by UUID
[apiInstance contactUuidGetWith:uuid
              completionHandler: ^(contact-schema-v2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

var api = new TestoAppsHttpApi.T400Api()
var uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} UUID

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

namespace Example
{
    public class contactUuidGetExample
    {
        public void main()
        {
            
            var apiInstance = new T400Api();
            var uuid = new UUID(); // UUID | UUID (default to null)

            try
            {
                // Returns a JSON object of the contact by UUID
                contact-schema-v2 result = apiInstance.contactUuidGet(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T400Api.contactUuidGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\T400Api();
$uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | UUID

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

my $api_instance = WWW::OPenAPIClient::T400Api->new();
my $uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | UUID

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

# create an instance of the API class
api_instance = openapi_client.T400Api()
uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | UUID (default to null)

try: 
    # Returns a JSON object of the contact by UUID
    api_response = api_instance.contact_uuid_get(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling T400Api->contactUuidGet: %s\n" % e)
extern crate T400Api;

pub fn main() {
    let uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

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

}

Scopes

Parameters

Path parameters
Name Description
uuid*
UUID (uuid)
UUID
Required

Responses


deviceInfoGet

Returns a JSON object with the device information


/deviceInfo

Usage and SDK Samples

curl -X GET "http://device-ip-address.example.com/deviceInfo"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T400Api;

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

public class T400ApiExample {

    public static void main(String[] args) {
        
        T400Api apiInstance = new T400Api();
        try {
            deviceInfo-schema-v2 result = apiInstance.deviceInfoGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#deviceInfoGet");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.T400Api;

public class T400ApiExample {

    public static void main(String[] args) {
        T400Api apiInstance = new T400Api();
        try {
            deviceInfo-schema-v2 result = apiInstance.deviceInfoGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling T400Api#deviceInfoGet");
            e.printStackTrace();
        }
    }
}

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

// Returns a JSON object with the device information
[apiInstance deviceInfoGetWithCompletionHandler: 
              ^(deviceInfo-schema-v2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TestoAppsHttpApi = require('testo_apps_http_api');

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

namespace Example
{
    public class deviceInfoGetExample
    {
        public void main()
        {
            
            var apiInstance = new T400Api();

            try
            {
                // Returns a JSON object with the device information
                deviceInfo-schema-v2 result = apiInstance.deviceInfoGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling T400Api.deviceInfoGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

my $api_instance = WWW::OPenAPIClient::T400Api->new();

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

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

try: 
    # Returns a JSON object with the device information
    api_response = api_instance.device_info_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling T400Api->deviceInfoGet: %s\n" % e)
extern crate T400Api;

pub fn main() {

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

}

Scopes

Parameters

Responses