Thinaer API

AssetTypes

getAll

Gets all AssetTypes


/{applicationId}/assettypes

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/assettypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetTypesApi;

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

public class AssetTypesApiExample {

    public static void main(String[] args) {
        
        AssetTypesApi apiInstance = new AssetTypesApi();
        String applicationId = applicationId_example; // String | Application scope to request asset types
        try {
            array[Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto] result = apiInstance.getAll(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetTypesApi#getAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AssetTypesApi;

public class AssetTypesApiExample {

    public static void main(String[] args) {
        AssetTypesApi apiInstance = new AssetTypesApi();
        String applicationId = applicationId_example; // String | Application scope to request asset types
        try {
            array[Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto] result = apiInstance.getAll(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetTypesApi#getAll");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope to request asset types

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

// Gets all AssetTypes
[apiInstance getAllWith:applicationId
              completionHandler: ^(array[Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.AssetTypesApi()

var applicationId = applicationId_example; // {String} Application scope to request asset types


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

namespace Example
{
    public class getAllExample
    {
        public void main()
        {
            
            var apiInstance = new AssetTypesApi();
            var applicationId = applicationId_example;  // String | Application scope to request asset types

            try
            {
                // Gets all AssetTypes
                array[Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto] result = apiInstance.getAll(applicationId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AssetTypesApi.getAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AssetTypesApi();
$applicationId = applicationId_example; // String | Application scope to request asset types

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

my $api_instance = WWW::SwaggerClient::AssetTypesApi->new();
my $applicationId = applicationId_example; # String | Application scope to request asset types

eval { 
    my $result = $api_instance->getAll(applicationId => $applicationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetTypesApi->getAll: $@\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.AssetTypesApi()
applicationId = applicationId_example # String | Application scope to request asset types

try: 
    # Gets all AssetTypes
    api_response = api_instance.get_all(applicationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetTypesApi->getAll: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope to request asset types
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


post

Creates a new AssetType


/{applicationId}/assettypes

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/assettypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetTypesApi;

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

public class AssetTypesApiExample {

    public static void main(String[] args) {
        
        AssetTypesApi apiInstance = new AssetTypesApi();
        String applicationId = applicationId_example; // String | 
        Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto assetType = ; // Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto | The asset type to create
        try {
            apiInstance.post(applicationId, assetType);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetTypesApi#post");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AssetTypesApi;

public class AssetTypesApiExample {

    public static void main(String[] args) {
        AssetTypesApi apiInstance = new AssetTypesApi();
        String applicationId = applicationId_example; // String | 
        Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto assetType = ; // Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto | The asset type to create
        try {
            apiInstance.post(applicationId, assetType);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetTypesApi#post");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // 
Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto *assetType = ; // The asset type to create (optional)

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

// Creates a new AssetType
[apiInstance postWith:applicationId
    assetType:assetType
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.AssetTypesApi()

var applicationId = applicationId_example; // {String} 

var opts = { 
  'assetType':  // {Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto} The asset type to create
};

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

namespace Example
{
    public class postExample
    {
        public void main()
        {
            
            var apiInstance = new AssetTypesApi();
            var applicationId = applicationId_example;  // String | 
            var assetType = new Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto(); // Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto | The asset type to create (optional) 

            try
            {
                // Creates a new AssetType
                apiInstance.post(applicationId, assetType);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AssetTypesApi.post: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AssetTypesApi();
$applicationId = applicationId_example; // String | 
$assetType = ; // Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto | The asset type to create

try {
    $api_instance->post($applicationId, $assetType);
} catch (Exception $e) {
    echo 'Exception when calling AssetTypesApi->post: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AssetTypesApi;

my $api_instance = WWW::SwaggerClient::AssetTypesApi->new();
my $applicationId = applicationId_example; # String | 
my $assetType = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto->new(); # Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto | The asset type to create

eval { 
    $api_instance->post(applicationId => $applicationId, assetType => $assetType);
};
if ($@) {
    warn "Exception when calling AssetTypesApi->post: $@\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.AssetTypesApi()
applicationId = applicationId_example # String | 
assetType =  # Thinaer.Platform.Api.Dtos.Reporting.AssetTypeDto | The asset type to create (optional)

try: 
    # Creates a new AssetType
    api_instance.post(applicationId, assetType=assetType)
except ApiException as e:
    print("Exception when calling AssetTypesApi->post: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Required
Body parameters
Name Description
assetType

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


Health

index

Returns the health status of the API


/health

Usage and SDK Samples

curl -X GET "https://localhost/health"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HealthApi;

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

public class HealthApiExample {

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

public class HealthApiExample {

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

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

// Returns the health status of the API
[apiInstance indexWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.HealthApi()

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

namespace Example
{
    public class indexExample
    {
        public void main()
        {
            
            var apiInstance = new HealthApi();

            try
            {
                // Returns the health status of the API
                apiInstance.index();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HealthApi.index: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    $api_instance->index();
};
if ($@) {
    warn "Exception when calling HealthApi->index: $@\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.HealthApi()

try: 
    # Returns the health status of the API
    api_instance.index()
except ApiException as e:
    print("Exception when calling HealthApi->index: %s\n" % e)

Parameters

Responses

Status: 204 - Success

Status: 500 - Server Error


Implementation

post


/{applicationId}/implementation

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/implementation?type=&things=&places=&IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImplementationApi;

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

public class ImplementationApiExample {

    public static void main(String[] args) {
        
        ImplementationApi apiInstance = new ImplementationApi();
        String applicationId = applicationId_example; // String | 
        String type = type_example; // String | 
        array[Object] things = ; // array[Object] | 
        array[Object] places = ; // array[Object] | 
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.post(applicationId, type, things, places, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImplementationApi#post");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImplementationApi;

public class ImplementationApiExample {

    public static void main(String[] args) {
        ImplementationApi apiInstance = new ImplementationApi();
        String applicationId = applicationId_example; // String | 
        String type = type_example; // String | 
        array[Object] things = ; // array[Object] | 
        array[Object] places = ; // array[Object] | 
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.post(applicationId, type, things, places, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImplementationApi#post");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // 
String *type = type_example; //  (optional) (default to csv)
array[Object] *things = ; //  (optional)
array[Object] *places = ; //  (optional)
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

[apiInstance postWith:applicationId
    type:type
    things:things
    places:places
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^(array[Thinaer.Platform.Data.UploadModels.UploadResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ImplementationApi()

var applicationId = applicationId_example; // {String} 

var opts = { 
  'type': type_example, // {String} 
  'things': , // {array[Object]} 
  'places': , // {array[Object]} 
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class postExample
    {
        public void main()
        {
            
            var apiInstance = new ImplementationApi();
            var applicationId = applicationId_example;  // String | 
            var type = type_example;  // String |  (optional)  (default to csv)
            var things = new array[Object](); // array[Object] |  (optional) 
            var places = new array[Object](); // array[Object] |  (optional) 
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.post(applicationId, type, things, places, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImplementationApi.post: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImplementationApi();
$applicationId = applicationId_example; // String | 
$type = type_example; // String | 
$things = ; // array[Object] | 
$places = ; // array[Object] | 
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->post($applicationId, $type, $things, $places, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ImplementationApi->post: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ImplementationApi;

my $api_instance = WWW::SwaggerClient::ImplementationApi->new();
my $applicationId = applicationId_example; # String | 
my $type = type_example; # String | 
my $things = []; # array[Object] | 
my $places = []; # array[Object] | 
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->post(applicationId => $applicationId, type => $type, things => $things, places => $places, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImplementationApi->post: $@\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.ImplementationApi()
applicationId = applicationId_example # String | 
type = type_example # String |  (optional) (default to csv)
things =  # array[Object] |  (optional)
places =  # array[Object] |  (optional)
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    api_response = api_instance.post(applicationId, type=type, things=things, places=places, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImplementationApi->post: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Required
Query parameters
Name Description
type
String
things
array[Object]
places
array[Object]
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


postPlaces


/{applicationId}/implementation/places

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/implementation/places?type=&places=&IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImplementationApi;

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

public class ImplementationApiExample {

    public static void main(String[] args) {
        
        ImplementationApi apiInstance = new ImplementationApi();
        String applicationId = applicationId_example; // String | 
        String type = type_example; // String | 
        array[Object] places = ; // array[Object] | 
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.postPlaces(applicationId, type, places, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImplementationApi#postPlaces");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImplementationApi;

public class ImplementationApiExample {

    public static void main(String[] args) {
        ImplementationApi apiInstance = new ImplementationApi();
        String applicationId = applicationId_example; // String | 
        String type = type_example; // String | 
        array[Object] places = ; // array[Object] | 
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.postPlaces(applicationId, type, places, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImplementationApi#postPlaces");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // 
String *type = type_example; //  (optional) (default to csv)
array[Object] *places = ; //  (optional)
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

[apiInstance postPlacesWith:applicationId
    type:type
    places:places
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^(array[Thinaer.Platform.Data.UploadModels.UploadResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ImplementationApi()

var applicationId = applicationId_example; // {String} 

var opts = { 
  'type': type_example, // {String} 
  'places': , // {array[Object]} 
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class postPlacesExample
    {
        public void main()
        {
            
            var apiInstance = new ImplementationApi();
            var applicationId = applicationId_example;  // String | 
            var type = type_example;  // String |  (optional)  (default to csv)
            var places = new array[Object](); // array[Object] |  (optional) 
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.postPlaces(applicationId, type, places, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImplementationApi.postPlaces: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImplementationApi();
$applicationId = applicationId_example; // String | 
$type = type_example; // String | 
$places = ; // array[Object] | 
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->postPlaces($applicationId, $type, $places, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ImplementationApi->postPlaces: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ImplementationApi;

my $api_instance = WWW::SwaggerClient::ImplementationApi->new();
my $applicationId = applicationId_example; # String | 
my $type = type_example; # String | 
my $places = []; # array[Object] | 
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->postPlaces(applicationId => $applicationId, type => $type, places => $places, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImplementationApi->postPlaces: $@\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.ImplementationApi()
applicationId = applicationId_example # String | 
type = type_example # String |  (optional) (default to csv)
places =  # array[Object] |  (optional)
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    api_response = api_instance.post_places(applicationId, type=type, places=places, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImplementationApi->postPlaces: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Required
Query parameters
Name Description
type
String
places
array[Object]
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


postThings


/{applicationId}/implementation/things

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/implementation/things?type=&things=&IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImplementationApi;

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

public class ImplementationApiExample {

    public static void main(String[] args) {
        
        ImplementationApi apiInstance = new ImplementationApi();
        String applicationId = applicationId_example; // String | 
        String type = type_example; // String | 
        array[Object] things = ; // array[Object] | 
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.postThings(applicationId, type, things, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImplementationApi#postThings");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImplementationApi;

public class ImplementationApiExample {

    public static void main(String[] args) {
        ImplementationApi apiInstance = new ImplementationApi();
        String applicationId = applicationId_example; // String | 
        String type = type_example; // String | 
        array[Object] things = ; // array[Object] | 
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.postThings(applicationId, type, things, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImplementationApi#postThings");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // 
String *type = type_example; //  (optional) (default to csv)
array[Object] *things = ; //  (optional)
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

[apiInstance postThingsWith:applicationId
    type:type
    things:things
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^(array[Thinaer.Platform.Data.UploadModels.UploadResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ImplementationApi()

var applicationId = applicationId_example; // {String} 

var opts = { 
  'type': type_example, // {String} 
  'things': , // {array[Object]} 
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class postThingsExample
    {
        public void main()
        {
            
            var apiInstance = new ImplementationApi();
            var applicationId = applicationId_example;  // String | 
            var type = type_example;  // String |  (optional)  (default to csv)
            var things = new array[Object](); // array[Object] |  (optional) 
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                array[Thinaer.Platform.Data.UploadModels.UploadResult] result = apiInstance.postThings(applicationId, type, things, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImplementationApi.postThings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImplementationApi();
$applicationId = applicationId_example; // String | 
$type = type_example; // String | 
$things = ; // array[Object] | 
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->postThings($applicationId, $type, $things, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ImplementationApi->postThings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ImplementationApi;

my $api_instance = WWW::SwaggerClient::ImplementationApi->new();
my $applicationId = applicationId_example; # String | 
my $type = type_example; # String | 
my $things = []; # array[Object] | 
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->postThings(applicationId => $applicationId, type => $type, things => $things, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImplementationApi->postThings: $@\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.ImplementationApi()
applicationId = applicationId_example # String | 
type = type_example # String |  (optional) (default to csv)
things =  # array[Object] |  (optional)
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    api_response = api_instance.post_things(applicationId, type=type, things=things, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImplementationApi->postThings: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Required
Query parameters
Name Description
type
String
things
array[Object]
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


Locations

getMovementsTimeSeries

Returns a pageable list of a thing's locations over a given time for the given application and map


/{applicationId}/things/{thingId}/maps/{mapId}/timeseries/movements

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/things/{thingId}/maps/{mapId}/timeseries/movements?start=&end=&pageNumber=&pageSize=&IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsApi;

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

public class LocationsApiExample {

    public static void main(String[] args) {
        
        LocationsApi apiInstance = new LocationsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String thingId = thingId_example; // String | The thing's unique identifier
        String mapId = mapId_example; // String | The containing map unique identifier
        String start = start_example; // String | The start date/time
        String end = end_example; // String | The end date/time
        Integer pageNumber = 56; // Integer | The page of data to return
        Integer pageSize = 56; // Integer | The number of result items per page
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            Thinaer.Platform.Api.Dtos.Location.TimeSeriesDto result = apiInstance.getMovementsTimeSeries(applicationId, thingId, mapId, start, end, pageNumber, pageSize, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#getMovementsTimeSeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsApi;

public class LocationsApiExample {

    public static void main(String[] args) {
        LocationsApi apiInstance = new LocationsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String thingId = thingId_example; // String | The thing's unique identifier
        String mapId = mapId_example; // String | The containing map unique identifier
        String start = start_example; // String | The start date/time
        String end = end_example; // String | The end date/time
        Integer pageNumber = 56; // Integer | The page of data to return
        Integer pageSize = 56; // Integer | The number of result items per page
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            Thinaer.Platform.Api.Dtos.Location.TimeSeriesDto result = apiInstance.getMovementsTimeSeries(applicationId, thingId, mapId, start, end, pageNumber, pageSize, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#getMovementsTimeSeries");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
String *thingId = thingId_example; // The thing's unique identifier
String *mapId = mapId_example; // The containing map unique identifier
String *start = start_example; // The start date/time (optional) (default to )
String *end = end_example; // The end date/time (optional) (default to )
Integer *pageNumber = 56; // The page of data to return (optional) (default to 1)
Integer *pageSize = 56; // The number of result items per page (optional) (default to 30)
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

// Returns a pageable list of a thing's locations over a given time for the given application and map
[apiInstance getMovementsTimeSeriesWith:applicationId
    thingId:thingId
    mapId:mapId
    start:start
    end:end
    pageNumber:pageNumber
    pageSize:pageSize
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Location.TimeSeriesDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.LocationsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

var thingId = thingId_example; // {String} The thing's unique identifier

var mapId = mapId_example; // {String} The containing map unique identifier

var opts = { 
  'start': start_example, // {String} The start date/time
  'end': end_example, // {String} The end date/time
  'pageNumber': 56, // {Integer} The page of data to return
  'pageSize': 56, // {Integer} The number of result items per page
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class getMovementsTimeSeriesExample
    {
        public void main()
        {
            
            var apiInstance = new LocationsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var thingId = thingId_example;  // String | The thing's unique identifier
            var mapId = mapId_example;  // String | The containing map unique identifier
            var start = start_example;  // String | The start date/time (optional)  (default to )
            var end = end_example;  // String | The end date/time (optional)  (default to )
            var pageNumber = 56;  // Integer | The page of data to return (optional)  (default to 1)
            var pageSize = 56;  // Integer | The number of result items per page (optional)  (default to 30)
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                // Returns a pageable list of a thing's locations over a given time for the given application and map
                Thinaer.Platform.Api.Dtos.Location.TimeSeriesDto result = apiInstance.getMovementsTimeSeries(applicationId, thingId, mapId, start, end, pageNumber, pageSize, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsApi.getMovementsTimeSeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LocationsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$thingId = thingId_example; // String | The thing's unique identifier
$mapId = mapId_example; // String | The containing map unique identifier
$start = start_example; // String | The start date/time
$end = end_example; // String | The end date/time
$pageNumber = 56; // Integer | The page of data to return
$pageSize = 56; // Integer | The number of result items per page
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->getMovementsTimeSeries($applicationId, $thingId, $mapId, $start, $end, $pageNumber, $pageSize, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LocationsApi->getMovementsTimeSeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LocationsApi;

my $api_instance = WWW::SwaggerClient::LocationsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $thingId = thingId_example; # String | The thing's unique identifier
my $mapId = mapId_example; # String | The containing map unique identifier
my $start = start_example; # String | The start date/time
my $end = end_example; # String | The end date/time
my $pageNumber = 56; # Integer | The page of data to return
my $pageSize = 56; # Integer | The number of result items per page
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->getMovementsTimeSeries(applicationId => $applicationId, thingId => $thingId, mapId => $mapId, start => $start, end => $end, pageNumber => $pageNumber, pageSize => $pageSize, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LocationsApi->getMovementsTimeSeries: $@\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.LocationsApi()
applicationId = applicationId_example # String | The owning application unique identifier
thingId = thingId_example # String | The thing's unique identifier
mapId = mapId_example # String | The containing map unique identifier
start = start_example # String | The start date/time (optional) (default to )
end = end_example # String | The end date/time (optional) (default to )
pageNumber = 56 # Integer | The page of data to return (optional) (default to 1)
pageSize = 56 # Integer | The number of result items per page (optional) (default to 30)
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    # Returns a pageable list of a thing's locations over a given time for the given application and map
    api_response = api_instance.get_movements_time_series(applicationId, thingId, mapId, start=start, end=end, pageNumber=pageNumber, pageSize=pageSize, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LocationsApi->getMovementsTimeSeries: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
thingId*
String
The thing's unique identifier
Required
mapId*
String
The containing map unique identifier
Required
Query parameters
Name Description
start
String
The start date/time
end
String
The end date/time
pageNumber
Integer (int32)
The page of data to return
pageSize
Integer (int32)
The number of result items per page
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getThings

Gets the most recent location for all things for the given application


/{applicationId}/maps/{mapId}/things

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/maps/{mapId}/things?IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsApi;

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

public class LocationsApiExample {

    public static void main(String[] args) {
        
        LocationsApi apiInstance = new LocationsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String mapId = mapId_example; // String | The containing map unique identifier
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            Thinaer.Platform.Api.Dtos.Location.LocationResultDto result = apiInstance.getThings(applicationId, mapId, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#getThings");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsApi;

public class LocationsApiExample {

    public static void main(String[] args) {
        LocationsApi apiInstance = new LocationsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String mapId = mapId_example; // String | The containing map unique identifier
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            Thinaer.Platform.Api.Dtos.Location.LocationResultDto result = apiInstance.getThings(applicationId, mapId, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#getThings");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
String *mapId = mapId_example; // The containing map unique identifier
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

// Gets the most recent location for all things for the given application
[apiInstance getThingsWith:applicationId
    mapId:mapId
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Location.LocationResultDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.LocationsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

var mapId = mapId_example; // {String} The containing map unique identifier

var opts = { 
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class getThingsExample
    {
        public void main()
        {
            
            var apiInstance = new LocationsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var mapId = mapId_example;  // String | The containing map unique identifier
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                // Gets the most recent location for all things for the given application
                Thinaer.Platform.Api.Dtos.Location.LocationResultDto result = apiInstance.getThings(applicationId, mapId, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsApi.getThings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LocationsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$mapId = mapId_example; // String | The containing map unique identifier
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->getThings($applicationId, $mapId, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LocationsApi->getThings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LocationsApi;

my $api_instance = WWW::SwaggerClient::LocationsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $mapId = mapId_example; # String | The containing map unique identifier
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->getThings(applicationId => $applicationId, mapId => $mapId, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LocationsApi->getThings: $@\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.LocationsApi()
applicationId = applicationId_example # String | The owning application unique identifier
mapId = mapId_example # String | The containing map unique identifier
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    # Gets the most recent location for all things for the given application
    api_response = api_instance.get_things(applicationId, mapId, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LocationsApi->getThings: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
mapId*
String
The containing map unique identifier
Required
Query parameters
Name Description
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


MapUpload

post

Upload map files to the given application


/{applicationId}/mapupload

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/mapupload?files=&IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapUploadApi;

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

public class MapUploadApiExample {

    public static void main(String[] args) {
        
        MapUploadApi apiInstance = new MapUploadApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        array[Object] files = ; // array[Object] | The file paths
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            'String' result = apiInstance.post(applicationId, files, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapUploadApi#post");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapUploadApi;

public class MapUploadApiExample {

    public static void main(String[] args) {
        MapUploadApi apiInstance = new MapUploadApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        array[Object] files = ; // array[Object] | The file paths
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            'String' result = apiInstance.post(applicationId, files, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapUploadApi#post");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The application unique identifier
array[Object] *files = ; // The file paths (optional)
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

// Upload map files to the given application
[apiInstance postWith:applicationId
    files:files
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapUploadApi()

var applicationId = applicationId_example; // {String} The application unique identifier

var opts = { 
  'files': , // {array[Object]} The file paths
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class postExample
    {
        public void main()
        {
            
            var apiInstance = new MapUploadApi();
            var applicationId = applicationId_example;  // String | The application unique identifier
            var files = new array[Object](); // array[Object] | The file paths (optional) 
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                // Upload map files to the given application
                'String' result = apiInstance.post(applicationId, files, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapUploadApi.post: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapUploadApi();
$applicationId = applicationId_example; // String | The application unique identifier
$files = ; // array[Object] | The file paths
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->post($applicationId, $files, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MapUploadApi->post: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MapUploadApi;

my $api_instance = WWW::SwaggerClient::MapUploadApi->new();
my $applicationId = applicationId_example; # String | The application unique identifier
my $files = []; # array[Object] | The file paths
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->post(applicationId => $applicationId, files => $files, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapUploadApi->post: $@\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.MapUploadApi()
applicationId = applicationId_example # String | The application unique identifier
files =  # array[Object] | The file paths (optional)
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    # Upload map files to the given application
    api_response = api_instance.post(applicationId, files=files, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapUploadApi->post: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The application unique identifier
Required
Query parameters
Name Description
files
array[Object]
The file paths
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


Maps

delete

Delete a map for the given application


/{applicationId}/maps/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/{applicationId}/maps/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

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

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String id = id_example; // String | The map id
        try {
            apiInstance.delete(applicationId, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#delete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String id = id_example; // String | The map id
        try {
            apiInstance.delete(applicationId, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#delete");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
String *id = id_example; // The map id

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

// Delete a map for the given application
[apiInstance deleteWith:applicationId
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

var id = id_example; // {String} The map id


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

namespace Example
{
    public class deleteExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var id = id_example;  // String | The map id

            try
            {
                // Delete a map for the given application
                apiInstance.delete(applicationId, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.delete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$id = id_example; // String | The map id

try {
    $api_instance->delete($applicationId, $id);
} catch (Exception $e) {
    echo 'Exception when calling MapsApi->delete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MapsApi;

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $id = id_example; # String | The map id

eval { 
    $api_instance->delete(applicationId => $applicationId, id => $id);
};
if ($@) {
    warn "Exception when calling MapsApi->delete: $@\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.MapsApi()
applicationId = applicationId_example # String | The owning application unique identifier
id = id_example # String | The map id

try: 
    # Delete a map for the given application
    api_instance.delete(applicationId, id)
except ApiException as e:
    print("Exception when calling MapsApi->delete: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
id*
String
The map id
Required

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


get

Get a specific map for the given application


/{applicationId}/maps/{id}

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/maps/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

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

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        String id = id_example; // String | The unique identifier of the map to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Maps.MapDto result = apiInstance.get(applicationId, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#get");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        String id = id_example; // String | The unique identifier of the map to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Maps.MapDto result = apiInstance.get(applicationId, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#get");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The application unique identifier
String *id = id_example; // The unique identifier of the map to retrieve

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

// Get a specific map for the given application
[apiInstance getWith:applicationId
    id:id
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Maps.MapDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapsApi()

var applicationId = applicationId_example; // {String} The application unique identifier

var id = id_example; // {String} The unique identifier of the map to retrieve


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

namespace Example
{
    public class getExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var applicationId = applicationId_example;  // String | The application unique identifier
            var id = id_example;  // String | The unique identifier of the map to retrieve

            try
            {
                // Get a specific map for the given application
                Thinaer.Platform.Api.Dtos.Maps.MapDto result = apiInstance.get(applicationId, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.get: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$applicationId = applicationId_example; // String | The application unique identifier
$id = id_example; // String | The unique identifier of the map to retrieve

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

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $applicationId = applicationId_example; # String | The application unique identifier
my $id = id_example; # String | The unique identifier of the map to retrieve

eval { 
    my $result = $api_instance->get(applicationId => $applicationId, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapsApi->get: $@\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.MapsApi()
applicationId = applicationId_example # String | The application unique identifier
id = id_example # String | The unique identifier of the map to retrieve

try: 
    # Get a specific map for the given application
    api_response = api_instance.get(applicationId, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapsApi->get: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The application unique identifier
Required
id*
String
The unique identifier of the map to retrieve
Required

Responses

Status: 200 - Success

Status: 204 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getMaps

Get all maps for the given application


/{applicationId}/maps

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/maps"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

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

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        try {
            array[Thinaer.Platform.Api.Dtos.Maps.MapDto] result = apiInstance.getMaps(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#getMaps");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        try {
            array[Thinaer.Platform.Api.Dtos.Maps.MapDto] result = apiInstance.getMaps(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#getMaps");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The application unique identifier

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

// Get all maps for the given application
[apiInstance getMapsWith:applicationId
              completionHandler: ^(array[Thinaer.Platform.Api.Dtos.Maps.MapDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapsApi()

var applicationId = applicationId_example; // {String} The application unique identifier


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

namespace Example
{
    public class getMapsExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var applicationId = applicationId_example;  // String | The application unique identifier

            try
            {
                // Get all maps for the given application
                array[Thinaer.Platform.Api.Dtos.Maps.MapDto] result = apiInstance.getMaps(applicationId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.getMaps: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$applicationId = applicationId_example; // String | The application unique identifier

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

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $applicationId = applicationId_example; # String | The application unique identifier

eval { 
    my $result = $api_instance->getMaps(applicationId => $applicationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapsApi->getMaps: $@\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.MapsApi()
applicationId = applicationId_example # String | The application unique identifier

try: 
    # Get all maps for the given application
    api_response = api_instance.get_maps(applicationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapsApi->getMaps: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The application unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


getZones

Get all zones for the given application


/{applicationId}/zones

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/zones"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

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

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        try {
            array[Thinaer.Platform.Api.Dtos.Maps.MapZoneDto] result = apiInstance.getZones(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#getZones");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        try {
            array[Thinaer.Platform.Api.Dtos.Maps.MapZoneDto] result = apiInstance.getZones(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#getZones");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The application unique identifier

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

// Get all zones for the given application
[apiInstance getZonesWith:applicationId
              completionHandler: ^(array[Thinaer.Platform.Api.Dtos.Maps.MapZoneDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapsApi()

var applicationId = applicationId_example; // {String} The application unique identifier


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

namespace Example
{
    public class getZonesExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var applicationId = applicationId_example;  // String | The application unique identifier

            try
            {
                // Get all zones for the given application
                array[Thinaer.Platform.Api.Dtos.Maps.MapZoneDto] result = apiInstance.getZones(applicationId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.getZones: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$applicationId = applicationId_example; // String | The application unique identifier

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

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $applicationId = applicationId_example; # String | The application unique identifier

eval { 
    my $result = $api_instance->getZones(applicationId => $applicationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapsApi->getZones: $@\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.MapsApi()
applicationId = applicationId_example # String | The application unique identifier

try: 
    # Get all zones for the given application
    api_response = api_instance.get_zones(applicationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapsApi->getZones: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The application unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


post

Add a new map for the given application


/{applicationId}/maps

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/maps?scale="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

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

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The target application unique identifier
        Thinaer.Platform.Api.Dtos.Maps.MapDto value = ; // Thinaer.Platform.Api.Dtos.Maps.MapDto | The map data
        Float scale = 3.4; // Float | The map scale
        try {
            Thinaer.Platform.Api.Dtos.Maps.MapDto result = apiInstance.post(applicationId, value, scale);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#post");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The target application unique identifier
        Thinaer.Platform.Api.Dtos.Maps.MapDto value = ; // Thinaer.Platform.Api.Dtos.Maps.MapDto | The map data
        Float scale = 3.4; // Float | The map scale
        try {
            Thinaer.Platform.Api.Dtos.Maps.MapDto result = apiInstance.post(applicationId, value, scale);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#post");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The target application unique identifier
Thinaer.Platform.Api.Dtos.Maps.MapDto *value = ; // The map data (optional)
Float *scale = 3.4; // The map scale (optional) (default to 1)

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

// Add a new map for the given application
[apiInstance postWith:applicationId
    value:value
    scale:scale
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Maps.MapDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapsApi()

var applicationId = applicationId_example; // {String} The target application unique identifier

var opts = { 
  'value': , // {Thinaer.Platform.Api.Dtos.Maps.MapDto} The map data
  'scale': 3.4 // {Float} The map scale
};

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

namespace Example
{
    public class postExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var applicationId = applicationId_example;  // String | The target application unique identifier
            var value = new Thinaer.Platform.Api.Dtos.Maps.MapDto(); // Thinaer.Platform.Api.Dtos.Maps.MapDto | The map data (optional) 
            var scale = 3.4;  // Float | The map scale (optional)  (default to 1)

            try
            {
                // Add a new map for the given application
                Thinaer.Platform.Api.Dtos.Maps.MapDto result = apiInstance.post(applicationId, value, scale);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.post: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$applicationId = applicationId_example; // String | The target application unique identifier
$value = ; // Thinaer.Platform.Api.Dtos.Maps.MapDto | The map data
$scale = 3.4; // Float | The map scale

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

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $applicationId = applicationId_example; # String | The target application unique identifier
my $value = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Maps.MapDto->new(); # Thinaer.Platform.Api.Dtos.Maps.MapDto | The map data
my $scale = 3.4; # Float | The map scale

eval { 
    my $result = $api_instance->post(applicationId => $applicationId, value => $value, scale => $scale);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapsApi->post: $@\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.MapsApi()
applicationId = applicationId_example # String | The target application unique identifier
value =  # Thinaer.Platform.Api.Dtos.Maps.MapDto | The map data (optional)
scale = 3.4 # Float | The map scale (optional) (default to 1)

try: 
    # Add a new map for the given application
    api_response = api_instance.post(applicationId, value=value, scale=scale)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapsApi->post: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The target application unique identifier
Required
Body parameters
Name Description
value
Query parameters
Name Description
scale
Float (float)
The map scale

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


put

Update an existing map for the given application


/{applicationId}/maps/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/{applicationId}/maps/{id}?scale="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

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

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String id = id_example; // String | The map unique identifier
        Thinaer.Platform.Api.Dtos.Maps.MapDto value = ; // Thinaer.Platform.Api.Dtos.Maps.MapDto | The updated map data
        Float scale = 3.4; // Float | The updated map scale
        try {
            apiInstance.put(applicationId, id, value, scale);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#put");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String id = id_example; // String | The map unique identifier
        Thinaer.Platform.Api.Dtos.Maps.MapDto value = ; // Thinaer.Platform.Api.Dtos.Maps.MapDto | The updated map data
        Float scale = 3.4; // Float | The updated map scale
        try {
            apiInstance.put(applicationId, id, value, scale);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#put");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
String *id = id_example; // The map unique identifier
Thinaer.Platform.Api.Dtos.Maps.MapDto *value = ; // The updated map data (optional)
Float *scale = 3.4; // The updated map scale (optional) (default to 1)

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

// Update an existing map for the given application
[apiInstance putWith:applicationId
    id:id
    value:value
    scale:scale
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.MapsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

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

var opts = { 
  'value': , // {Thinaer.Platform.Api.Dtos.Maps.MapDto} The updated map data
  'scale': 3.4 // {Float} The updated map scale
};

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

namespace Example
{
    public class putExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var id = id_example;  // String | The map unique identifier
            var value = new Thinaer.Platform.Api.Dtos.Maps.MapDto(); // Thinaer.Platform.Api.Dtos.Maps.MapDto | The updated map data (optional) 
            var scale = 3.4;  // Float | The updated map scale (optional)  (default to 1)

            try
            {
                // Update an existing map for the given application
                apiInstance.put(applicationId, id, value, scale);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.put: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$id = id_example; // String | The map unique identifier
$value = ; // Thinaer.Platform.Api.Dtos.Maps.MapDto | The updated map data
$scale = 3.4; // Float | The updated map scale

try {
    $api_instance->put($applicationId, $id, $value, $scale);
} catch (Exception $e) {
    echo 'Exception when calling MapsApi->put: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MapsApi;

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $id = id_example; # String | The map unique identifier
my $value = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Maps.MapDto->new(); # Thinaer.Platform.Api.Dtos.Maps.MapDto | The updated map data
my $scale = 3.4; # Float | The updated map scale

eval { 
    $api_instance->put(applicationId => $applicationId, id => $id, value => $value, scale => $scale);
};
if ($@) {
    warn "Exception when calling MapsApi->put: $@\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.MapsApi()
applicationId = applicationId_example # String | The owning application unique identifier
id = id_example # String | The map unique identifier
value =  # Thinaer.Platform.Api.Dtos.Maps.MapDto | The updated map data (optional)
scale = 3.4 # Float | The updated map scale (optional) (default to 1)

try: 
    # Update an existing map for the given application
    api_instance.put(applicationId, id, value=value, scale=scale)
except ApiException as e:
    print("Exception when calling MapsApi->put: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
id*
String
The map unique identifier
Required
Body parameters
Name Description
value
Query parameters
Name Description
scale
Float (float)
The updated map scale

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


People

deleteById

Deletes a single person


/{applicationId}/people/{personId}

Usage and SDK Samples

curl -X DELETE "https://localhost/{applicationId}/people/{personId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PeopleApi;

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

public class PeopleApiExample {

    public static void main(String[] args) {
        
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        String personId = personId_example; // String | Person's global unique identifier
        try {
            apiInstance.deleteById(applicationId, personId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#deleteById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PeopleApi;

public class PeopleApiExample {

    public static void main(String[] args) {
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        String personId = personId_example; // String | Person's global unique identifier
        try {
            apiInstance.deleteById(applicationId, personId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#deleteById");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the person
String *personId = personId_example; // Person's global unique identifier

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

// Deletes a single person
[apiInstance deleteByIdWith:applicationId
    personId:personId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PeopleApi()

var applicationId = applicationId_example; // {String} Application scope for the person

var personId = personId_example; // {String} Person's global unique identifier


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

namespace Example
{
    public class deleteByIdExample
    {
        public void main()
        {
            
            var apiInstance = new PeopleApi();
            var applicationId = applicationId_example;  // String | Application scope for the person
            var personId = personId_example;  // String | Person's global unique identifier

            try
            {
                // Deletes a single person
                apiInstance.deleteById(applicationId, personId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PeopleApi.deleteById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PeopleApi();
$applicationId = applicationId_example; // String | Application scope for the person
$personId = personId_example; // String | Person's global unique identifier

try {
    $api_instance->deleteById($applicationId, $personId);
} catch (Exception $e) {
    echo 'Exception when calling PeopleApi->deleteById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PeopleApi;

my $api_instance = WWW::SwaggerClient::PeopleApi->new();
my $applicationId = applicationId_example; # String | Application scope for the person
my $personId = personId_example; # String | Person's global unique identifier

eval { 
    $api_instance->deleteById(applicationId => $applicationId, personId => $personId);
};
if ($@) {
    warn "Exception when calling PeopleApi->deleteById: $@\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.PeopleApi()
applicationId = applicationId_example # String | Application scope for the person
personId = personId_example # String | Person's global unique identifier

try: 
    # Deletes a single person
    api_instance.delete_by_id(applicationId, personId)
except ApiException as e:
    print("Exception when calling PeopleApi->deleteById: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the person
Required
personId*
String
Person's global unique identifier
Required

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getById

Gets a single person


/{applicationId}/people/{personId}

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/people/{personId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PeopleApi;

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

public class PeopleApiExample {

    public static void main(String[] args) {
        
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        String personId = personId_example; // String | Person's global unique identifier
        try {
            Thinaer.Platform.Api.Dtos.People.PersonEditDto result = apiInstance.getById(applicationId, personId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#getById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PeopleApi;

public class PeopleApiExample {

    public static void main(String[] args) {
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        String personId = personId_example; // String | Person's global unique identifier
        try {
            Thinaer.Platform.Api.Dtos.People.PersonEditDto result = apiInstance.getById(applicationId, personId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#getById");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the person
String *personId = personId_example; // Person's global unique identifier

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

// Gets a single person
[apiInstance getByIdWith:applicationId
    personId:personId
              completionHandler: ^(Thinaer.Platform.Api.Dtos.People.PersonEditDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PeopleApi()

var applicationId = applicationId_example; // {String} Application scope for the person

var personId = personId_example; // {String} Person's global unique identifier


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

namespace Example
{
    public class getByIdExample
    {
        public void main()
        {
            
            var apiInstance = new PeopleApi();
            var applicationId = applicationId_example;  // String | Application scope for the person
            var personId = personId_example;  // String | Person's global unique identifier

            try
            {
                // Gets a single person
                Thinaer.Platform.Api.Dtos.People.PersonEditDto result = apiInstance.getById(applicationId, personId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PeopleApi.getById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PeopleApi();
$applicationId = applicationId_example; // String | Application scope for the person
$personId = personId_example; // String | Person's global unique identifier

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

my $api_instance = WWW::SwaggerClient::PeopleApi->new();
my $applicationId = applicationId_example; # String | Application scope for the person
my $personId = personId_example; # String | Person's global unique identifier

eval { 
    my $result = $api_instance->getById(applicationId => $applicationId, personId => $personId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PeopleApi->getById: $@\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.PeopleApi()
applicationId = applicationId_example # String | Application scope for the person
personId = personId_example # String | Person's global unique identifier

try: 
    # Gets a single person
    api_response = api_instance.get_by_id(applicationId, personId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PeopleApi->getById: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the person
Required
personId*
String
Person's global unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getPeople

Returns a pageable list of people associated with the application scope


/{applicationId}/people

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/people?limit=&page=&sort=&order="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PeopleApi;

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

public class PeopleApiExample {

    public static void main(String[] args) {
        
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the people
        Integer limit = 56; // Integer | Number of people to return (max = 99)
        Integer page = 56; // Integer | Page number in the results
        String sort = sort_example; // String | Sort order of the results
        String order = order_example; // String | Ascending or Descending
        try {
            Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.People.PersonGridDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] result = apiInstance.getPeople(applicationId, limit, page, sort, order);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#getPeople");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PeopleApi;

public class PeopleApiExample {

    public static void main(String[] args) {
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the people
        Integer limit = 56; // Integer | Number of people to return (max = 99)
        Integer page = 56; // Integer | Page number in the results
        String sort = sort_example; // String | Sort order of the results
        String order = order_example; // String | Ascending or Descending
        try {
            Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.People.PersonGridDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] result = apiInstance.getPeople(applicationId, limit, page, sort, order);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#getPeople");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the people
Integer *limit = 56; // Number of people to return (max = 99) (optional) (default to 20)
Integer *page = 56; // Page number in the results (optional) (default to 1)
String *sort = sort_example; // Sort order of the results (optional) (default to lastname)
String *order = order_example; // Ascending or Descending (optional) (default to desc)

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

// Returns a pageable list of people associated with the application scope
[apiInstance getPeopleWith:applicationId
    limit:limit
    page:page
    sort:sort
    order:order
              completionHandler: ^(Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.People.PersonGridDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PeopleApi()

var applicationId = applicationId_example; // {String} Application scope for the people

var opts = { 
  'limit': 56, // {Integer} Number of people to return (max = 99)
  'page': 56, // {Integer} Page number in the results
  'sort': sort_example, // {String} Sort order of the results
  'order': order_example // {String} Ascending or Descending
};

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

namespace Example
{
    public class getPeopleExample
    {
        public void main()
        {
            
            var apiInstance = new PeopleApi();
            var applicationId = applicationId_example;  // String | Application scope for the people
            var limit = 56;  // Integer | Number of people to return (max = 99) (optional)  (default to 20)
            var page = 56;  // Integer | Page number in the results (optional)  (default to 1)
            var sort = sort_example;  // String | Sort order of the results (optional)  (default to lastname)
            var order = order_example;  // String | Ascending or Descending (optional)  (default to desc)

            try
            {
                // Returns a pageable list of people associated with the application scope
                Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.People.PersonGridDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] result = apiInstance.getPeople(applicationId, limit, page, sort, order);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PeopleApi.getPeople: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PeopleApi();
$applicationId = applicationId_example; // String | Application scope for the people
$limit = 56; // Integer | Number of people to return (max = 99)
$page = 56; // Integer | Page number in the results
$sort = sort_example; // String | Sort order of the results
$order = order_example; // String | Ascending or Descending

try {
    $result = $api_instance->getPeople($applicationId, $limit, $page, $sort, $order);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PeopleApi->getPeople: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PeopleApi;

my $api_instance = WWW::SwaggerClient::PeopleApi->new();
my $applicationId = applicationId_example; # String | Application scope for the people
my $limit = 56; # Integer | Number of people to return (max = 99)
my $page = 56; # Integer | Page number in the results
my $sort = sort_example; # String | Sort order of the results
my $order = order_example; # String | Ascending or Descending

eval { 
    my $result = $api_instance->getPeople(applicationId => $applicationId, limit => $limit, page => $page, sort => $sort, order => $order);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PeopleApi->getPeople: $@\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.PeopleApi()
applicationId = applicationId_example # String | Application scope for the people
limit = 56 # Integer | Number of people to return (max = 99) (optional) (default to 20)
page = 56 # Integer | Page number in the results (optional) (default to 1)
sort = sort_example # String | Sort order of the results (optional) (default to lastname)
order = order_example # String | Ascending or Descending (optional) (default to desc)

try: 
    # Returns a pageable list of people associated with the application scope
    api_response = api_instance.get_people(applicationId, limit=limit, page=page, sort=sort, order=order)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PeopleApi->getPeople: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the people
Required
Query parameters
Name Description
limit
Integer (int32)
Number of people to return (max = 99)
page
Integer (int32)
Page number in the results
sort
String
Sort order of the results
order
String
Ascending or Descending

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


post

Creates a single person


/{applicationId}/people

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/people"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PeopleApi;

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

public class PeopleApiExample {

    public static void main(String[] args) {
        
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        Thinaer.Platform.Api.Dtos.People.PersonDto person = ; // Thinaer.Platform.Api.Dtos.People.PersonDto | Person to create
        try {
            Thinaer.Platform.Api.Dtos.People.PersonEditDto result = apiInstance.post(applicationId, person);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#post");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PeopleApi;

public class PeopleApiExample {

    public static void main(String[] args) {
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        Thinaer.Platform.Api.Dtos.People.PersonDto person = ; // Thinaer.Platform.Api.Dtos.People.PersonDto | Person to create
        try {
            Thinaer.Platform.Api.Dtos.People.PersonEditDto result = apiInstance.post(applicationId, person);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#post");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the person
Thinaer.Platform.Api.Dtos.People.PersonDto *person = ; // Person to create (optional)

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

// Creates a single person
[apiInstance postWith:applicationId
    person:person
              completionHandler: ^(Thinaer.Platform.Api.Dtos.People.PersonEditDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PeopleApi()

var applicationId = applicationId_example; // {String} Application scope for the person

var opts = { 
  'person':  // {Thinaer.Platform.Api.Dtos.People.PersonDto} Person to create
};

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

namespace Example
{
    public class postExample
    {
        public void main()
        {
            
            var apiInstance = new PeopleApi();
            var applicationId = applicationId_example;  // String | Application scope for the person
            var person = new Thinaer.Platform.Api.Dtos.People.PersonDto(); // Thinaer.Platform.Api.Dtos.People.PersonDto | Person to create (optional) 

            try
            {
                // Creates a single person
                Thinaer.Platform.Api.Dtos.People.PersonEditDto result = apiInstance.post(applicationId, person);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PeopleApi.post: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PeopleApi();
$applicationId = applicationId_example; // String | Application scope for the person
$person = ; // Thinaer.Platform.Api.Dtos.People.PersonDto | Person to create

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

my $api_instance = WWW::SwaggerClient::PeopleApi->new();
my $applicationId = applicationId_example; # String | Application scope for the person
my $person = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.People.PersonDto->new(); # Thinaer.Platform.Api.Dtos.People.PersonDto | Person to create

eval { 
    my $result = $api_instance->post(applicationId => $applicationId, person => $person);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PeopleApi->post: $@\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.PeopleApi()
applicationId = applicationId_example # String | Application scope for the person
person =  # Thinaer.Platform.Api.Dtos.People.PersonDto | Person to create (optional)

try: 
    # Creates a single person
    api_response = api_instance.post(applicationId, person=person)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PeopleApi->post: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the person
Required
Body parameters
Name Description
person

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 500 - Server Error


putById

Updates a single person


/{applicationId}/people/{personId}

Usage and SDK Samples

curl -X PUT "https://localhost/{applicationId}/people/{personId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PeopleApi;

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

public class PeopleApiExample {

    public static void main(String[] args) {
        
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        String personId = personId_example; // String | Person's global unique identifier
        Thinaer.Platform.Api.Dtos.People.PersonEditDto person = ; // Thinaer.Platform.Api.Dtos.People.PersonEditDto | Person to update
        try {
            apiInstance.putById(applicationId, personId, person);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#putById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PeopleApi;

public class PeopleApiExample {

    public static void main(String[] args) {
        PeopleApi apiInstance = new PeopleApi();
        String applicationId = applicationId_example; // String | Application scope for the person
        String personId = personId_example; // String | Person's global unique identifier
        Thinaer.Platform.Api.Dtos.People.PersonEditDto person = ; // Thinaer.Platform.Api.Dtos.People.PersonEditDto | Person to update
        try {
            apiInstance.putById(applicationId, personId, person);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#putById");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the person
String *personId = personId_example; // Person's global unique identifier
Thinaer.Platform.Api.Dtos.People.PersonEditDto *person = ; // Person to update (optional)

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

// Updates a single person
[apiInstance putByIdWith:applicationId
    personId:personId
    person:person
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PeopleApi()

var applicationId = applicationId_example; // {String} Application scope for the person

var personId = personId_example; // {String} Person's global unique identifier

var opts = { 
  'person':  // {Thinaer.Platform.Api.Dtos.People.PersonEditDto} Person to update
};

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

namespace Example
{
    public class putByIdExample
    {
        public void main()
        {
            
            var apiInstance = new PeopleApi();
            var applicationId = applicationId_example;  // String | Application scope for the person
            var personId = personId_example;  // String | Person's global unique identifier
            var person = new Thinaer.Platform.Api.Dtos.People.PersonEditDto(); // Thinaer.Platform.Api.Dtos.People.PersonEditDto | Person to update (optional) 

            try
            {
                // Updates a single person
                apiInstance.putById(applicationId, personId, person);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PeopleApi.putById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PeopleApi();
$applicationId = applicationId_example; // String | Application scope for the person
$personId = personId_example; // String | Person's global unique identifier
$person = ; // Thinaer.Platform.Api.Dtos.People.PersonEditDto | Person to update

try {
    $api_instance->putById($applicationId, $personId, $person);
} catch (Exception $e) {
    echo 'Exception when calling PeopleApi->putById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PeopleApi;

my $api_instance = WWW::SwaggerClient::PeopleApi->new();
my $applicationId = applicationId_example; # String | Application scope for the person
my $personId = personId_example; # String | Person's global unique identifier
my $person = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.People.PersonEditDto->new(); # Thinaer.Platform.Api.Dtos.People.PersonEditDto | Person to update

eval { 
    $api_instance->putById(applicationId => $applicationId, personId => $personId, person => $person);
};
if ($@) {
    warn "Exception when calling PeopleApi->putById: $@\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.PeopleApi()
applicationId = applicationId_example # String | Application scope for the person
personId = personId_example # String | Person's global unique identifier
person =  # Thinaer.Platform.Api.Dtos.People.PersonEditDto | Person to update (optional)

try: 
    # Updates a single person
    api_instance.put_by_id(applicationId, personId, person=person)
except ApiException as e:
    print("Exception when calling PeopleApi->putById: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the person
Required
personId*
String
Person's global unique identifier
Required
Body parameters
Name Description
person

Responses

Status: 204 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


PersonDevices

deleteDevice

Deletes a single thing associated with the supplied person


/{applicationId}/people/{personId}/devices/{thingId}

Usage and SDK Samples

curl -X DELETE "https://localhost/{applicationId}/people/{personId}/devices/{thingId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonDevicesApi;

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

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        String thingId = thingId_example; // String | Thing's global unique identifier
        try {
            apiInstance.deleteDevice(applicationId, personId, thingId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#deleteDevice");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonDevicesApi;

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        String thingId = thingId_example; // String | Thing's global unique identifier
        try {
            apiInstance.deleteDevice(applicationId, personId, thingId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#deleteDevice");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the persno
String *personId = personId_example; // Person's global unique identifier
String *thingId = thingId_example; // Thing's global unique identifier

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

// Deletes a single thing associated with the supplied person
[apiInstance deleteDeviceWith:applicationId
    personId:personId
    thingId:thingId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonDevicesApi()

var applicationId = applicationId_example; // {String} Application scope for the persno

var personId = personId_example; // {String} Person's global unique identifier

var thingId = thingId_example; // {String} Thing's global unique identifier


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDevice(applicationId, personId, thingId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteDeviceExample
    {
        public void main()
        {
            
            var apiInstance = new PersonDevicesApi();
            var applicationId = applicationId_example;  // String | Application scope for the persno
            var personId = personId_example;  // String | Person's global unique identifier
            var thingId = thingId_example;  // String | Thing's global unique identifier

            try
            {
                // Deletes a single thing associated with the supplied person
                apiInstance.deleteDevice(applicationId, personId, thingId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonDevicesApi.deleteDevice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonDevicesApi();
$applicationId = applicationId_example; // String | Application scope for the persno
$personId = personId_example; // String | Person's global unique identifier
$thingId = thingId_example; // String | Thing's global unique identifier

try {
    $api_instance->deleteDevice($applicationId, $personId, $thingId);
} catch (Exception $e) {
    echo 'Exception when calling PersonDevicesApi->deleteDevice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PersonDevicesApi;

my $api_instance = WWW::SwaggerClient::PersonDevicesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the persno
my $personId = personId_example; # String | Person's global unique identifier
my $thingId = thingId_example; # String | Thing's global unique identifier

eval { 
    $api_instance->deleteDevice(applicationId => $applicationId, personId => $personId, thingId => $thingId);
};
if ($@) {
    warn "Exception when calling PersonDevicesApi->deleteDevice: $@\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.PersonDevicesApi()
applicationId = applicationId_example # String | Application scope for the persno
personId = personId_example # String | Person's global unique identifier
thingId = thingId_example # String | Thing's global unique identifier

try: 
    # Deletes a single thing associated with the supplied person
    api_instance.delete_device(applicationId, personId, thingId)
except ApiException as e:
    print("Exception when calling PersonDevicesApi->deleteDevice: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the persno
Required
personId*
String
Person's global unique identifier
Required
thingId*
String
Thing's global unique identifier
Required

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getAllDevices

Gets a list of things associated with the supplied person


/{applicationId}/people/{personId}/devices

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/people/{personId}/devices"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonDevicesApi;

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

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        try {
            array[Thinaer.Platform.Api.Dtos.Things.ThingGridDto] result = apiInstance.getAllDevices(applicationId, personId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#getAllDevices");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonDevicesApi;

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        try {
            array[Thinaer.Platform.Api.Dtos.Things.ThingGridDto] result = apiInstance.getAllDevices(applicationId, personId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#getAllDevices");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the persno
String *personId = personId_example; // Person's global unique identifier

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

// Gets a list of things associated with the supplied person
[apiInstance getAllDevicesWith:applicationId
    personId:personId
              completionHandler: ^(array[Thinaer.Platform.Api.Dtos.Things.ThingGridDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonDevicesApi()

var applicationId = applicationId_example; // {String} Application scope for the persno

var personId = personId_example; // {String} Person's global unique identifier


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

namespace Example
{
    public class getAllDevicesExample
    {
        public void main()
        {
            
            var apiInstance = new PersonDevicesApi();
            var applicationId = applicationId_example;  // String | Application scope for the persno
            var personId = personId_example;  // String | Person's global unique identifier

            try
            {
                // Gets a list of things associated with the supplied person
                array[Thinaer.Platform.Api.Dtos.Things.ThingGridDto] result = apiInstance.getAllDevices(applicationId, personId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonDevicesApi.getAllDevices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonDevicesApi();
$applicationId = applicationId_example; // String | Application scope for the persno
$personId = personId_example; // String | Person's global unique identifier

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

my $api_instance = WWW::SwaggerClient::PersonDevicesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the persno
my $personId = personId_example; # String | Person's global unique identifier

eval { 
    my $result = $api_instance->getAllDevices(applicationId => $applicationId, personId => $personId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PersonDevicesApi->getAllDevices: $@\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.PersonDevicesApi()
applicationId = applicationId_example # String | Application scope for the persno
personId = personId_example # String | Person's global unique identifier

try: 
    # Gets a list of things associated with the supplied person
    api_response = api_instance.get_all_devices(applicationId, personId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PersonDevicesApi->getAllDevices: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the persno
Required
personId*
String
Person's global unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getDevice

Gets a single thing associated with the supplied person


/{applicationId}/people/{personId}/devices/{thingId}

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/people/{personId}/devices/{thingId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonDevicesApi;

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

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        String thingId = thingId_example; // String | Thing's global unique identifier
        try {
            Thinaer.Platform.Api.Dtos.Things.ThingEditDto result = apiInstance.getDevice(applicationId, personId, thingId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#getDevice");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonDevicesApi;

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        String thingId = thingId_example; // String | Thing's global unique identifier
        try {
            Thinaer.Platform.Api.Dtos.Things.ThingEditDto result = apiInstance.getDevice(applicationId, personId, thingId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#getDevice");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the persno
String *personId = personId_example; // Person's global unique identifier
String *thingId = thingId_example; // Thing's global unique identifier

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

// Gets a single thing associated with the supplied person
[apiInstance getDeviceWith:applicationId
    personId:personId
    thingId:thingId
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Things.ThingEditDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonDevicesApi()

var applicationId = applicationId_example; // {String} Application scope for the persno

var personId = personId_example; // {String} Person's global unique identifier

var thingId = thingId_example; // {String} Thing's global unique identifier


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

namespace Example
{
    public class getDeviceExample
    {
        public void main()
        {
            
            var apiInstance = new PersonDevicesApi();
            var applicationId = applicationId_example;  // String | Application scope for the persno
            var personId = personId_example;  // String | Person's global unique identifier
            var thingId = thingId_example;  // String | Thing's global unique identifier

            try
            {
                // Gets a single thing associated with the supplied person
                Thinaer.Platform.Api.Dtos.Things.ThingEditDto result = apiInstance.getDevice(applicationId, personId, thingId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonDevicesApi.getDevice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonDevicesApi();
$applicationId = applicationId_example; // String | Application scope for the persno
$personId = personId_example; // String | Person's global unique identifier
$thingId = thingId_example; // String | Thing's global unique identifier

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

my $api_instance = WWW::SwaggerClient::PersonDevicesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the persno
my $personId = personId_example; # String | Person's global unique identifier
my $thingId = thingId_example; # String | Thing's global unique identifier

eval { 
    my $result = $api_instance->getDevice(applicationId => $applicationId, personId => $personId, thingId => $thingId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PersonDevicesApi->getDevice: $@\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.PersonDevicesApi()
applicationId = applicationId_example # String | Application scope for the persno
personId = personId_example # String | Person's global unique identifier
thingId = thingId_example # String | Thing's global unique identifier

try: 
    # Gets a single thing associated with the supplied person
    api_response = api_instance.get_device(applicationId, personId, thingId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PersonDevicesApi->getDevice: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the persno
Required
personId*
String
Person's global unique identifier
Required
thingId*
String
Thing's global unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getPeripherals

Returns a list of all peripherals for a thing


/{applicationId}/people/{personId}/devices/{thingId}/peripherals

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/people/{personId}/devices/{thingId}/peripherals?limit=&page=&range="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonDevicesApi;

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

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the thing's peripherals
        String thingId = thingId_example; // String | Unique id for the thing
        String personId = personId_example; // String | 
        Integer limit = 56; // Integer | The number of results to return in a set
        Integer page = 56; // Integer | Page in the total results set
        Integer range = 56; // Integer | How many days to go back for peripherals. ie. 1, 2, 3 ... 30
        try {
            Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.Peripherals.PeripheralSummaryDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] result = apiInstance.getPeripherals(applicationId, thingId, personId, limit, page, range);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#getPeripherals");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonDevicesApi;

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the thing's peripherals
        String thingId = thingId_example; // String | Unique id for the thing
        String personId = personId_example; // String | 
        Integer limit = 56; // Integer | The number of results to return in a set
        Integer page = 56; // Integer | Page in the total results set
        Integer range = 56; // Integer | How many days to go back for peripherals. ie. 1, 2, 3 ... 30
        try {
            Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.Peripherals.PeripheralSummaryDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] result = apiInstance.getPeripherals(applicationId, thingId, personId, limit, page, range);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#getPeripherals");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the thing's peripherals
String *thingId = thingId_example; // Unique id for the thing
String *personId = personId_example; // 
Integer *limit = 56; // The number of results to return in a set (optional) (default to 20)
Integer *page = 56; // Page in the total results set (optional) (default to 1)
Integer *range = 56; // How many days to go back for peripherals. ie. 1, 2, 3 ... 30 (optional) (default to 1)

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

// Returns a list of all peripherals for a thing
[apiInstance getPeripheralsWith:applicationId
    thingId:thingId
    personId:personId
    limit:limit
    page:page
    range:range
              completionHandler: ^(Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.Peripherals.PeripheralSummaryDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonDevicesApi()

var applicationId = applicationId_example; // {String} Application scope for the thing's peripherals

var thingId = thingId_example; // {String} Unique id for the thing

var personId = personId_example; // {String} 

var opts = { 
  'limit': 56, // {Integer} The number of results to return in a set
  'page': 56, // {Integer} Page in the total results set
  'range': 56 // {Integer} How many days to go back for peripherals. ie. 1, 2, 3 ... 30
};

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

namespace Example
{
    public class getPeripheralsExample
    {
        public void main()
        {
            
            var apiInstance = new PersonDevicesApi();
            var applicationId = applicationId_example;  // String | Application scope for the thing's peripherals
            var thingId = thingId_example;  // String | Unique id for the thing
            var personId = personId_example;  // String | 
            var limit = 56;  // Integer | The number of results to return in a set (optional)  (default to 20)
            var page = 56;  // Integer | Page in the total results set (optional)  (default to 1)
            var range = 56;  // Integer | How many days to go back for peripherals. ie. 1, 2, 3 ... 30 (optional)  (default to 1)

            try
            {
                // Returns a list of all peripherals for a thing
                Thinaer.Platform.Api.Dtos.PagerDto`1[[Thinaer.Platform.Api.Dtos.Peripherals.PeripheralSummaryDto, Thinaer.Platform.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] result = apiInstance.getPeripherals(applicationId, thingId, personId, limit, page, range);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonDevicesApi.getPeripherals: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonDevicesApi();
$applicationId = applicationId_example; // String | Application scope for the thing's peripherals
$thingId = thingId_example; // String | Unique id for the thing
$personId = personId_example; // String | 
$limit = 56; // Integer | The number of results to return in a set
$page = 56; // Integer | Page in the total results set
$range = 56; // Integer | How many days to go back for peripherals. ie. 1, 2, 3 ... 30

try {
    $result = $api_instance->getPeripherals($applicationId, $thingId, $personId, $limit, $page, $range);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PersonDevicesApi->getPeripherals: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PersonDevicesApi;

my $api_instance = WWW::SwaggerClient::PersonDevicesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the thing's peripherals
my $thingId = thingId_example; # String | Unique id for the thing
my $personId = personId_example; # String | 
my $limit = 56; # Integer | The number of results to return in a set
my $page = 56; # Integer | Page in the total results set
my $range = 56; # Integer | How many days to go back for peripherals. ie. 1, 2, 3 ... 30

eval { 
    my $result = $api_instance->getPeripherals(applicationId => $applicationId, thingId => $thingId, personId => $personId, limit => $limit, page => $page, range => $range);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PersonDevicesApi->getPeripherals: $@\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.PersonDevicesApi()
applicationId = applicationId_example # String | Application scope for the thing's peripherals
thingId = thingId_example # String | Unique id for the thing
personId = personId_example # String | 
limit = 56 # Integer | The number of results to return in a set (optional) (default to 20)
page = 56 # Integer | Page in the total results set (optional) (default to 1)
range = 56 # Integer | How many days to go back for peripherals. ie. 1, 2, 3 ... 30 (optional) (default to 1)

try: 
    # Returns a list of all peripherals for a thing
    api_response = api_instance.get_peripherals(applicationId, thingId, personId, limit=limit, page=page, range=range)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PersonDevicesApi->getPeripherals: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the thing's peripherals
Required
thingId*
String
Unique id for the thing
Required
personId*
String
Required
Query parameters
Name Description
limit
Integer (int32)
The number of results to return in a set
page
Integer (int32)
Page in the total results set
range
Integer (int32)
How many days to go back for peripherals. ie. 1, 2, 3 ... 30

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 500 - Server Error


postDevice

Creates a single thing associated with the supplied person


/{applicationId}/people/{personId}/devices

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/people/{personId}/devices"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonDevicesApi;

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

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        Thinaer.Platform.Api.Dtos.Things.ThingDto thing = ; // Thinaer.Platform.Api.Dtos.Things.ThingDto | Thing to create
        try {
            Thinaer.Platform.Api.Dtos.Things.ThingEditDto result = apiInstance.postDevice(applicationId, personId, thing);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#postDevice");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonDevicesApi;

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        Thinaer.Platform.Api.Dtos.Things.ThingDto thing = ; // Thinaer.Platform.Api.Dtos.Things.ThingDto | Thing to create
        try {
            Thinaer.Platform.Api.Dtos.Things.ThingEditDto result = apiInstance.postDevice(applicationId, personId, thing);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#postDevice");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the persno
String *personId = personId_example; // Person's global unique identifier
Thinaer.Platform.Api.Dtos.Things.ThingDto *thing = ; // Thing to create (optional)

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

// Creates a single thing associated with the supplied person
[apiInstance postDeviceWith:applicationId
    personId:personId
    thing:thing
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Things.ThingEditDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonDevicesApi()

var applicationId = applicationId_example; // {String} Application scope for the persno

var personId = personId_example; // {String} Person's global unique identifier

var opts = { 
  'thing':  // {Thinaer.Platform.Api.Dtos.Things.ThingDto} Thing to create
};

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

namespace Example
{
    public class postDeviceExample
    {
        public void main()
        {
            
            var apiInstance = new PersonDevicesApi();
            var applicationId = applicationId_example;  // String | Application scope for the persno
            var personId = personId_example;  // String | Person's global unique identifier
            var thing = new Thinaer.Platform.Api.Dtos.Things.ThingDto(); // Thinaer.Platform.Api.Dtos.Things.ThingDto | Thing to create (optional) 

            try
            {
                // Creates a single thing associated with the supplied person
                Thinaer.Platform.Api.Dtos.Things.ThingEditDto result = apiInstance.postDevice(applicationId, personId, thing);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonDevicesApi.postDevice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonDevicesApi();
$applicationId = applicationId_example; // String | Application scope for the persno
$personId = personId_example; // String | Person's global unique identifier
$thing = ; // Thinaer.Platform.Api.Dtos.Things.ThingDto | Thing to create

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

my $api_instance = WWW::SwaggerClient::PersonDevicesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the persno
my $personId = personId_example; # String | Person's global unique identifier
my $thing = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Things.ThingDto->new(); # Thinaer.Platform.Api.Dtos.Things.ThingDto | Thing to create

eval { 
    my $result = $api_instance->postDevice(applicationId => $applicationId, personId => $personId, thing => $thing);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PersonDevicesApi->postDevice: $@\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.PersonDevicesApi()
applicationId = applicationId_example # String | Application scope for the persno
personId = personId_example # String | Person's global unique identifier
thing =  # Thinaer.Platform.Api.Dtos.Things.ThingDto | Thing to create (optional)

try: 
    # Creates a single thing associated with the supplied person
    api_response = api_instance.post_device(applicationId, personId, thing=thing)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PersonDevicesApi->postDevice: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the persno
Required
personId*
String
Person's global unique identifier
Required
Body parameters
Name Description
thing

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


putDevice

Puts a single thing associated with the supplied person


/{applicationId}/people/{personId}/devices/{thingId}

Usage and SDK Samples

curl -X PUT "https://localhost/{applicationId}/people/{personId}/devices/{thingId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonDevicesApi;

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

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        String thingId = thingId_example; // String | Thing's global unique identifier
        Thinaer.Platform.Api.Dtos.Things.ThingEditDto thing = ; // Thinaer.Platform.Api.Dtos.Things.ThingEditDto | Thing to update
        try {
            apiInstance.putDevice(applicationId, personId, thingId, thing);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#putDevice");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonDevicesApi;

public class PersonDevicesApiExample {

    public static void main(String[] args) {
        PersonDevicesApi apiInstance = new PersonDevicesApi();
        String applicationId = applicationId_example; // String | Application scope for the persno
        String personId = personId_example; // String | Person's global unique identifier
        String thingId = thingId_example; // String | Thing's global unique identifier
        Thinaer.Platform.Api.Dtos.Things.ThingEditDto thing = ; // Thinaer.Platform.Api.Dtos.Things.ThingEditDto | Thing to update
        try {
            apiInstance.putDevice(applicationId, personId, thingId, thing);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonDevicesApi#putDevice");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the persno
String *personId = personId_example; // Person's global unique identifier
String *thingId = thingId_example; // Thing's global unique identifier
Thinaer.Platform.Api.Dtos.Things.ThingEditDto *thing = ; // Thing to update (optional)

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

// Puts a single thing associated with the supplied person
[apiInstance putDeviceWith:applicationId
    personId:personId
    thingId:thingId
    thing:thing
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonDevicesApi()

var applicationId = applicationId_example; // {String} Application scope for the persno

var personId = personId_example; // {String} Person's global unique identifier

var thingId = thingId_example; // {String} Thing's global unique identifier

var opts = { 
  'thing':  // {Thinaer.Platform.Api.Dtos.Things.ThingEditDto} Thing to update
};

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

namespace Example
{
    public class putDeviceExample
    {
        public void main()
        {
            
            var apiInstance = new PersonDevicesApi();
            var applicationId = applicationId_example;  // String | Application scope for the persno
            var personId = personId_example;  // String | Person's global unique identifier
            var thingId = thingId_example;  // String | Thing's global unique identifier
            var thing = new Thinaer.Platform.Api.Dtos.Things.ThingEditDto(); // Thinaer.Platform.Api.Dtos.Things.ThingEditDto | Thing to update (optional) 

            try
            {
                // Puts a single thing associated with the supplied person
                apiInstance.putDevice(applicationId, personId, thingId, thing);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonDevicesApi.putDevice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonDevicesApi();
$applicationId = applicationId_example; // String | Application scope for the persno
$personId = personId_example; // String | Person's global unique identifier
$thingId = thingId_example; // String | Thing's global unique identifier
$thing = ; // Thinaer.Platform.Api.Dtos.Things.ThingEditDto | Thing to update

try {
    $api_instance->putDevice($applicationId, $personId, $thingId, $thing);
} catch (Exception $e) {
    echo 'Exception when calling PersonDevicesApi->putDevice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PersonDevicesApi;

my $api_instance = WWW::SwaggerClient::PersonDevicesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the persno
my $personId = personId_example; # String | Person's global unique identifier
my $thingId = thingId_example; # String | Thing's global unique identifier
my $thing = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Things.ThingEditDto->new(); # Thinaer.Platform.Api.Dtos.Things.ThingEditDto | Thing to update

eval { 
    $api_instance->putDevice(applicationId => $applicationId, personId => $personId, thingId => $thingId, thing => $thing);
};
if ($@) {
    warn "Exception when calling PersonDevicesApi->putDevice: $@\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.PersonDevicesApi()
applicationId = applicationId_example # String | Application scope for the persno
personId = personId_example # String | Person's global unique identifier
thingId = thingId_example # String | Thing's global unique identifier
thing =  # Thinaer.Platform.Api.Dtos.Things.ThingEditDto | Thing to update (optional)

try: 
    # Puts a single thing associated with the supplied person
    api_instance.put_device(applicationId, personId, thingId, thing=thing)
except ApiException as e:
    print("Exception when calling PersonDevicesApi->putDevice: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the persno
Required
personId*
String
Person's global unique identifier
Required
thingId*
String
Thing's global unique identifier
Required
Body parameters
Name Description
thing

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


PersonReadings

lastReading

Returns the last known reading for a specific device


/{applicationId}/people/{personId}/devices/{deviceId}/lastreading

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/people/{personId}/devices/{deviceId}/lastreading"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PersonReadingsApi;

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

public class PersonReadingsApiExample {

    public static void main(String[] args) {
        
        PersonReadingsApi apiInstance = new PersonReadingsApi();
        String applicationId = applicationId_example; // String | The application scope for the device
        String deviceId = deviceId_example; // String | The global unique id for the device
        String personId = personId_example; // String | 
        try {
            Thinaer.Platform.Api.Dtos.Peripherals.ReadingDto result = apiInstance.lastReading(applicationId, deviceId, personId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonReadingsApi#lastReading");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PersonReadingsApi;

public class PersonReadingsApiExample {

    public static void main(String[] args) {
        PersonReadingsApi apiInstance = new PersonReadingsApi();
        String applicationId = applicationId_example; // String | The application scope for the device
        String deviceId = deviceId_example; // String | The global unique id for the device
        String personId = personId_example; // String | 
        try {
            Thinaer.Platform.Api.Dtos.Peripherals.ReadingDto result = apiInstance.lastReading(applicationId, deviceId, personId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PersonReadingsApi#lastReading");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The application scope for the device
String *deviceId = deviceId_example; // The global unique id for the device
String *personId = personId_example; // 

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

// Returns the last known reading for a specific device
[apiInstance lastReadingWith:applicationId
    deviceId:deviceId
    personId:personId
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Peripherals.ReadingDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PersonReadingsApi()

var applicationId = applicationId_example; // {String} The application scope for the device

var deviceId = deviceId_example; // {String} The global unique id for the device

var personId = personId_example; // {String} 


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

namespace Example
{
    public class lastReadingExample
    {
        public void main()
        {
            
            var apiInstance = new PersonReadingsApi();
            var applicationId = applicationId_example;  // String | The application scope for the device
            var deviceId = deviceId_example;  // String | The global unique id for the device
            var personId = personId_example;  // String | 

            try
            {
                // Returns the last known reading for a specific device
                Thinaer.Platform.Api.Dtos.Peripherals.ReadingDto result = apiInstance.lastReading(applicationId, deviceId, personId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PersonReadingsApi.lastReading: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PersonReadingsApi();
$applicationId = applicationId_example; // String | The application scope for the device
$deviceId = deviceId_example; // String | The global unique id for the device
$personId = personId_example; // String | 

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

my $api_instance = WWW::SwaggerClient::PersonReadingsApi->new();
my $applicationId = applicationId_example; # String | The application scope for the device
my $deviceId = deviceId_example; # String | The global unique id for the device
my $personId = personId_example; # String | 

eval { 
    my $result = $api_instance->lastReading(applicationId => $applicationId, deviceId => $deviceId, personId => $personId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PersonReadingsApi->lastReading: $@\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.PersonReadingsApi()
applicationId = applicationId_example # String | The application scope for the device
deviceId = deviceId_example # String | The global unique id for the device
personId = personId_example # String | 

try: 
    # Returns the last known reading for a specific device
    api_response = api_instance.last_reading(applicationId, deviceId, personId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PersonReadingsApi->lastReading: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The application scope for the device
Required
deviceId*
String
The global unique id for the device
Required
personId*
String
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


Places

delete

Deletes a single place by unique id


/{applicationId}/places/{placeId}

Usage and SDK Samples

curl -X DELETE "https://localhost/{applicationId}/places/{placeId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesApi;

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

public class PlacesApiExample {

    public static void main(String[] args) {
        
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        String placeId = placeId_example; // String | Place's global unique identifier
        try {
            apiInstance.delete(applicationId, placeId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#delete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesApi;

public class PlacesApiExample {

    public static void main(String[] args) {
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        String placeId = placeId_example; // String | Place's global unique identifier
        try {
            apiInstance.delete(applicationId, placeId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#delete");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the places
String *placeId = placeId_example; // Place's global unique identifier

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

// Deletes a single place by unique id
[apiInstance deleteWith:applicationId
    placeId:placeId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesApi()

var applicationId = applicationId_example; // {String} Application scope for the places

var placeId = placeId_example; // {String} Place's global unique identifier


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

namespace Example
{
    public class deleteExample
    {
        public void main()
        {
            
            var apiInstance = new PlacesApi();
            var applicationId = applicationId_example;  // String | Application scope for the places
            var placeId = placeId_example;  // String | Place's global unique identifier

            try
            {
                // Deletes a single place by unique id
                apiInstance.delete(applicationId, placeId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesApi.delete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesApi();
$applicationId = applicationId_example; // String | Application scope for the places
$placeId = placeId_example; // String | Place's global unique identifier

try {
    $api_instance->delete($applicationId, $placeId);
} catch (Exception $e) {
    echo 'Exception when calling PlacesApi->delete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PlacesApi;

my $api_instance = WWW::SwaggerClient::PlacesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the places
my $placeId = placeId_example; # String | Place's global unique identifier

eval { 
    $api_instance->delete(applicationId => $applicationId, placeId => $placeId);
};
if ($@) {
    warn "Exception when calling PlacesApi->delete: $@\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.PlacesApi()
applicationId = applicationId_example # String | Application scope for the places
placeId = placeId_example # String | Place's global unique identifier

try: 
    # Deletes a single place by unique id
    api_instance.delete(applicationId, placeId)
except ApiException as e:
    print("Exception when calling PlacesApi->delete: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the places
Required
placeId*
String
Place's global unique identifier
Required

Responses

Status: 204 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


get

Gets a single place by unique id


/{applicationId}/places/{placeId}

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/places/{placeId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesApi;

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

public class PlacesApiExample {

    public static void main(String[] args) {
        
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        String placeId = placeId_example; // String | Place's global unique identifier
        try {
            Thinaer.Platform.Api.Dtos.Places.PlaceEditDto result = apiInstance.get(applicationId, placeId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#get");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesApi;

public class PlacesApiExample {

    public static void main(String[] args) {
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        String placeId = placeId_example; // String | Place's global unique identifier
        try {
            Thinaer.Platform.Api.Dtos.Places.PlaceEditDto result = apiInstance.get(applicationId, placeId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#get");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the places
String *placeId = placeId_example; // Place's global unique identifier

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

// Gets a single place by unique id
[apiInstance getWith:applicationId
    placeId:placeId
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Places.PlaceEditDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesApi()

var applicationId = applicationId_example; // {String} Application scope for the places

var placeId = placeId_example; // {String} Place's global unique identifier


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

namespace Example
{
    public class getExample
    {
        public void main()
        {
            
            var apiInstance = new PlacesApi();
            var applicationId = applicationId_example;  // String | Application scope for the places
            var placeId = placeId_example;  // String | Place's global unique identifier

            try
            {
                // Gets a single place by unique id
                Thinaer.Platform.Api.Dtos.Places.PlaceEditDto result = apiInstance.get(applicationId, placeId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesApi.get: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesApi();
$applicationId = applicationId_example; // String | Application scope for the places
$placeId = placeId_example; // String | Place's global unique identifier

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

my $api_instance = WWW::SwaggerClient::PlacesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the places
my $placeId = placeId_example; # String | Place's global unique identifier

eval { 
    my $result = $api_instance->get(applicationId => $applicationId, placeId => $placeId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlacesApi->get: $@\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.PlacesApi()
applicationId = applicationId_example # String | Application scope for the places
placeId = placeId_example # String | Place's global unique identifier

try: 
    # Gets a single place by unique id
    api_response = api_instance.get(applicationId, placeId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlacesApi->get: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the places
Required
placeId*
String
Place's global unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 500 - Server Error


getAll

Gets all of the places, pageable that live in the provided application scope


/{applicationId}/places

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/places?limit=&page=&sort=&order="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesApi;

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

public class PlacesApiExample {

    public static void main(String[] args) {
        
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        String limit = limit_example; // String | Number of results per page (max = 99)
        String page = page_example; // String | Current page
        String sort = sort_example; // String | Sort order for the results
        String order = order_example; // String | Asc or Desc
        try {
            Thinaer.Platform.Api.Dtos.Places.PlacePagerDto result = apiInstance.getAll(applicationId, limit, page, sort, order);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#getAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesApi;

public class PlacesApiExample {

    public static void main(String[] args) {
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        String limit = limit_example; // String | Number of results per page (max = 99)
        String page = page_example; // String | Current page
        String sort = sort_example; // String | Sort order for the results
        String order = order_example; // String | Asc or Desc
        try {
            Thinaer.Platform.Api.Dtos.Places.PlacePagerDto result = apiInstance.getAll(applicationId, limit, page, sort, order);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#getAll");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the places
String *limit = limit_example; // Number of results per page (max = 99) (optional) (default to 20)
String *page = page_example; // Current page (optional) (default to 1)
String *sort = sort_example; // Sort order for the results (optional) (default to onlineStatus)
String *order = order_example; // Asc or Desc (optional) (default to ascending)

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

// Gets all of the places, pageable that live in the provided application scope
[apiInstance getAllWith:applicationId
    limit:limit
    page:page
    sort:sort
    order:order
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Places.PlacePagerDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesApi()

var applicationId = applicationId_example; // {String} Application scope for the places

var opts = { 
  'limit': limit_example, // {String} Number of results per page (max = 99)
  'page': page_example, // {String} Current page
  'sort': sort_example, // {String} Sort order for the results
  'order': order_example // {String} Asc or Desc
};

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

namespace Example
{
    public class getAllExample
    {
        public void main()
        {
            
            var apiInstance = new PlacesApi();
            var applicationId = applicationId_example;  // String | Application scope for the places
            var limit = limit_example;  // String | Number of results per page (max = 99) (optional)  (default to 20)
            var page = page_example;  // String | Current page (optional)  (default to 1)
            var sort = sort_example;  // String | Sort order for the results (optional)  (default to onlineStatus)
            var order = order_example;  // String | Asc or Desc (optional)  (default to ascending)

            try
            {
                // Gets all of the places, pageable that live in the provided application scope
                Thinaer.Platform.Api.Dtos.Places.PlacePagerDto result = apiInstance.getAll(applicationId, limit, page, sort, order);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesApi.getAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesApi();
$applicationId = applicationId_example; // String | Application scope for the places
$limit = limit_example; // String | Number of results per page (max = 99)
$page = page_example; // String | Current page
$sort = sort_example; // String | Sort order for the results
$order = order_example; // String | Asc or Desc

try {
    $result = $api_instance->getAll($applicationId, $limit, $page, $sort, $order);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PlacesApi->getAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PlacesApi;

my $api_instance = WWW::SwaggerClient::PlacesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the places
my $limit = limit_example; # String | Number of results per page (max = 99)
my $page = page_example; # String | Current page
my $sort = sort_example; # String | Sort order for the results
my $order = order_example; # String | Asc or Desc

eval { 
    my $result = $api_instance->getAll(applicationId => $applicationId, limit => $limit, page => $page, sort => $sort, order => $order);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlacesApi->getAll: $@\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.PlacesApi()
applicationId = applicationId_example # String | Application scope for the places
limit = limit_example # String | Number of results per page (max = 99) (optional) (default to 20)
page = page_example # String | Current page (optional) (default to 1)
sort = sort_example # String | Sort order for the results (optional) (default to onlineStatus)
order = order_example # String | Asc or Desc (optional) (default to ascending)

try: 
    # Gets all of the places, pageable that live in the provided application scope
    api_response = api_instance.get_all(applicationId, limit=limit, page=page, sort=sort, order=order)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlacesApi->getAll: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the places
Required
Query parameters
Name Description
limit
String
Number of results per page (max = 99)
page
String
Current page
sort
String
Sort order for the results
order
String
Asc or Desc

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


getAll_1

Gets a subset of thing data for the given application


/{applicationId}/places/light

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/places/light"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesApi;

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

public class PlacesApiExample {

    public static void main(String[] args) {
        
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        try {
            Thinaer.Platform.Data.Models.LightPlaceModel result = apiInstance.getAll_0(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#getAll_0");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesApi;

public class PlacesApiExample {

    public static void main(String[] args) {
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | The application unique identifier
        try {
            Thinaer.Platform.Data.Models.LightPlaceModel result = apiInstance.getAll_0(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#getAll_0");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The application unique identifier

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

// Gets a subset of thing data for the given application
[apiInstance getAll_1With:applicationId
              completionHandler: ^(Thinaer.Platform.Data.Models.LightPlaceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesApi()

var applicationId = applicationId_example; // {String} The application unique identifier


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

namespace Example
{
    public class getAll_0Example
    {
        public void main()
        {
            
            var apiInstance = new PlacesApi();
            var applicationId = applicationId_example;  // String | The application unique identifier

            try
            {
                // Gets a subset of thing data for the given application
                Thinaer.Platform.Data.Models.LightPlaceModel result = apiInstance.getAll_0(applicationId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesApi.getAll_0: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesApi();
$applicationId = applicationId_example; // String | The application unique identifier

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

my $api_instance = WWW::SwaggerClient::PlacesApi->new();
my $applicationId = applicationId_example; # String | The application unique identifier

eval { 
    my $result = $api_instance->getAll_0(applicationId => $applicationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlacesApi->getAll_0: $@\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.PlacesApi()
applicationId = applicationId_example # String | The application unique identifier

try: 
    # Gets a subset of thing data for the given application
    api_response = api_instance.get_all_0(applicationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlacesApi->getAll_0: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The application unique identifier
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


post

Creates a new place


/{applicationId}/places

Usage and SDK Samples

curl -X POST "https://localhost/{applicationId}/places?IsCancellationRequested=&CanBeCanceled=&WaitHandle.Handle=&WaitHandle.SafeWaitHandle.IsInvalid=&WaitHandle.SafeWaitHandle.IsClosed="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesApi;

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

public class PlacesApiExample {

    public static void main(String[] args) {
        
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        Thinaer.Platform.Api.Dtos.Places.PlaceDto place = ; // Thinaer.Platform.Api.Dtos.Places.PlaceDto | The place to update
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            Thinaer.Platform.Api.Dtos.Places.PlaceEditDto result = apiInstance.post(applicationId, place, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#post");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesApi;

public class PlacesApiExample {

    public static void main(String[] args) {
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        Thinaer.Platform.Api.Dtos.Places.PlaceDto place = ; // Thinaer.Platform.Api.Dtos.Places.PlaceDto | The place to update
        Boolean isCancellationRequested = true; // Boolean | 
        Boolean canBeCanceled = true; // Boolean | 
        map[String, String] waitHandle.Handle = ; // map[String, String] | 
        Boolean waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
        Boolean waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 
        try {
            Thinaer.Platform.Api.Dtos.Places.PlaceEditDto result = apiInstance.post(applicationId, place, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#post");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the places
Thinaer.Platform.Api.Dtos.Places.PlaceDto *place = ; // The place to update (optional)
Boolean *isCancellationRequested = true; //  (optional)
Boolean *canBeCanceled = true; //  (optional)
map[String, String] *waitHandle.Handle = ; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsInvalid = true; //  (optional)
Boolean *waitHandle.SafeWaitHandle.IsClosed = true; //  (optional)

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

// Creates a new place
[apiInstance postWith:applicationId
    place:place
    isCancellationRequested:isCancellationRequested
    canBeCanceled:canBeCanceled
    waitHandle.Handle:waitHandle.Handle
    waitHandle.SafeWaitHandle.IsInvalid:waitHandle.SafeWaitHandle.IsInvalid
    waitHandle.SafeWaitHandle.IsClosed:waitHandle.SafeWaitHandle.IsClosed
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Places.PlaceEditDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesApi()

var applicationId = applicationId_example; // {String} Application scope for the places

var opts = { 
  'place': , // {Thinaer.Platform.Api.Dtos.Places.PlaceDto} The place to update
  'isCancellationRequested': true, // {Boolean} 
  'canBeCanceled': true, // {Boolean} 
  'waitHandle.Handle': , // {map[String, String]} 
  'waitHandle.SafeWaitHandle.IsInvalid': true, // {Boolean} 
  'waitHandle.SafeWaitHandle.IsClosed': true // {Boolean} 
};

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

namespace Example
{
    public class postExample
    {
        public void main()
        {
            
            var apiInstance = new PlacesApi();
            var applicationId = applicationId_example;  // String | Application scope for the places
            var place = new Thinaer.Platform.Api.Dtos.Places.PlaceDto(); // Thinaer.Platform.Api.Dtos.Places.PlaceDto | The place to update (optional) 
            var isCancellationRequested = true;  // Boolean |  (optional) 
            var canBeCanceled = true;  // Boolean |  (optional) 
            var waitHandle.Handle = new map[String, String](); // map[String, String] |  (optional) 
            var waitHandle.SafeWaitHandle.IsInvalid = true;  // Boolean |  (optional) 
            var waitHandle.SafeWaitHandle.IsClosed = true;  // Boolean |  (optional) 

            try
            {
                // Creates a new place
                Thinaer.Platform.Api.Dtos.Places.PlaceEditDto result = apiInstance.post(applicationId, place, isCancellationRequested, canBeCanceled, waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesApi.post: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesApi();
$applicationId = applicationId_example; // String | Application scope for the places
$place = ; // Thinaer.Platform.Api.Dtos.Places.PlaceDto | The place to update
$isCancellationRequested = true; // Boolean | 
$canBeCanceled = true; // Boolean | 
$waitHandle.Handle = ; // map[String, String] | 
$waitHandle.SafeWaitHandle.IsInvalid = true; // Boolean | 
$waitHandle.SafeWaitHandle.IsClosed = true; // Boolean | 

try {
    $result = $api_instance->post($applicationId, $place, $isCancellationRequested, $canBeCanceled, $waitHandle.Handle, $waitHandle.SafeWaitHandle.IsInvalid, $waitHandle.SafeWaitHandle.IsClosed);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PlacesApi->post: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PlacesApi;

my $api_instance = WWW::SwaggerClient::PlacesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the places
my $place = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Places.PlaceDto->new(); # Thinaer.Platform.Api.Dtos.Places.PlaceDto | The place to update
my $isCancellationRequested = true; # Boolean | 
my $canBeCanceled = true; # Boolean | 
my $waitHandle.Handle = ; # map[String, String] | 
my $waitHandle.SafeWaitHandle.IsInvalid = true; # Boolean | 
my $waitHandle.SafeWaitHandle.IsClosed = true; # Boolean | 

eval { 
    my $result = $api_instance->post(applicationId => $applicationId, place => $place, isCancellationRequested => $isCancellationRequested, canBeCanceled => $canBeCanceled, waitHandle.Handle => $waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid => $waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed => $waitHandle.SafeWaitHandle.IsClosed);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlacesApi->post: $@\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.PlacesApi()
applicationId = applicationId_example # String | Application scope for the places
place =  # Thinaer.Platform.Api.Dtos.Places.PlaceDto | The place to update (optional)
isCancellationRequested = true # Boolean |  (optional)
canBeCanceled = true # Boolean |  (optional)
waitHandle.Handle =  # map[String, String] |  (optional)
waitHandle.SafeWaitHandle.IsInvalid = true # Boolean |  (optional)
waitHandle.SafeWaitHandle.IsClosed = true # Boolean |  (optional)

try: 
    # Creates a new place
    api_response = api_instance.post(applicationId, place=place, isCancellationRequested=isCancellationRequested, canBeCanceled=canBeCanceled, waitHandle.Handle=waitHandle.Handle, waitHandle.SafeWaitHandle.IsInvalid=waitHandle.SafeWaitHandle.IsInvalid, waitHandle.SafeWaitHandle.IsClosed=waitHandle.SafeWaitHandle.IsClosed)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlacesApi->post: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the places
Required
Body parameters
Name Description
place
Query parameters
Name Description
IsCancellationRequested
Boolean
CanBeCanceled
Boolean
WaitHandle.Handle
map[String, String]
WaitHandle.SafeWaitHandle.IsInvalid
Boolean
WaitHandle.SafeWaitHandle.IsClosed
Boolean

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 500 - Server Error


putPlace

Updates a place


/{applicationId}/places/{placeId}

Usage and SDK Samples

curl -X PUT "https://localhost/{applicationId}/places/{placeId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesApi;

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

public class PlacesApiExample {

    public static void main(String[] args) {
        
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the place
        String placeId = placeId_example; // String | Global unique identifier for the place
        Thinaer.Platform.Api.Dtos.Places.PlaceEditDto placeDto = ; // Thinaer.Platform.Api.Dtos.Places.PlaceEditDto | The place to update
        try {
            apiInstance.putPlace(applicationId, placeId, placeDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#putPlace");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesApi;

public class PlacesApiExample {

    public static void main(String[] args) {
        PlacesApi apiInstance = new PlacesApi();
        String applicationId = applicationId_example; // String | Application scope for the place
        String placeId = placeId_example; // String | Global unique identifier for the place
        Thinaer.Platform.Api.Dtos.Places.PlaceEditDto placeDto = ; // Thinaer.Platform.Api.Dtos.Places.PlaceEditDto | The place to update
        try {
            apiInstance.putPlace(applicationId, placeId, placeDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesApi#putPlace");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the place
String *placeId = placeId_example; // Global unique identifier for the place
Thinaer.Platform.Api.Dtos.Places.PlaceEditDto *placeDto = ; // The place to update (optional)

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

// Updates a place
[apiInstance putPlaceWith:applicationId
    placeId:placeId
    placeDto:placeDto
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesApi()

var applicationId = applicationId_example; // {String} Application scope for the place

var placeId = placeId_example; // {String} Global unique identifier for the place

var opts = { 
  'placeDto':  // {Thinaer.Platform.Api.Dtos.Places.PlaceEditDto} The place to update
};

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

namespace Example
{
    public class putPlaceExample
    {
        public void main()
        {
            
            var apiInstance = new PlacesApi();
            var applicationId = applicationId_example;  // String | Application scope for the place
            var placeId = placeId_example;  // String | Global unique identifier for the place
            var placeDto = new Thinaer.Platform.Api.Dtos.Places.PlaceEditDto(); // Thinaer.Platform.Api.Dtos.Places.PlaceEditDto | The place to update (optional) 

            try
            {
                // Updates a place
                apiInstance.putPlace(applicationId, placeId, placeDto);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesApi.putPlace: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesApi();
$applicationId = applicationId_example; // String | Application scope for the place
$placeId = placeId_example; // String | Global unique identifier for the place
$placeDto = ; // Thinaer.Platform.Api.Dtos.Places.PlaceEditDto | The place to update

try {
    $api_instance->putPlace($applicationId, $placeId, $placeDto);
} catch (Exception $e) {
    echo 'Exception when calling PlacesApi->putPlace: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PlacesApi;

my $api_instance = WWW::SwaggerClient::PlacesApi->new();
my $applicationId = applicationId_example; # String | Application scope for the place
my $placeId = placeId_example; # String | Global unique identifier for the place
my $placeDto = WWW::SwaggerClient::Object::Thinaer.Platform.Api.Dtos.Places.PlaceEditDto->new(); # Thinaer.Platform.Api.Dtos.Places.PlaceEditDto | The place to update

eval { 
    $api_instance->putPlace(applicationId => $applicationId, placeId => $placeId, placeDto => $placeDto);
};
if ($@) {
    warn "Exception when calling PlacesApi->putPlace: $@\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.PlacesApi()
applicationId = applicationId_example # String | Application scope for the place
placeId = placeId_example # String | Global unique identifier for the place
placeDto =  # Thinaer.Platform.Api.Dtos.Places.PlaceEditDto | The place to update (optional)

try: 
    # Updates a place
    api_instance.put_place(applicationId, placeId, placeDto=placeDto)
except ApiException as e:
    print("Exception when calling PlacesApi->putPlace: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the place
Required
placeId*
String
Global unique identifier for the place
Required
Body parameters
Name Description
placeDto

Responses

Status: 204 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 500 - Server Error


PlacesSummary

getPlaceSummary

Returns a summary of places categorized by state


/{applicationId}/placessummary

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/placessummary"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlacesSummaryApi;

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

public class PlacesSummaryApiExample {

    public static void main(String[] args) {
        
        PlacesSummaryApi apiInstance = new PlacesSummaryApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        try {
            Thinaer.Platform.Api.Dtos.Places.PlaceSummaryDto result = apiInstance.getPlaceSummary(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesSummaryApi#getPlaceSummary");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlacesSummaryApi;

public class PlacesSummaryApiExample {

    public static void main(String[] args) {
        PlacesSummaryApi apiInstance = new PlacesSummaryApi();
        String applicationId = applicationId_example; // String | Application scope for the places
        try {
            Thinaer.Platform.Api.Dtos.Places.PlaceSummaryDto result = apiInstance.getPlaceSummary(applicationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlacesSummaryApi#getPlaceSummary");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // Application scope for the places

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

// Returns a summary of places categorized by state
[apiInstance getPlaceSummaryWith:applicationId
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Places.PlaceSummaryDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.PlacesSummaryApi()

var applicationId = applicationId_example; // {String} Application scope for the places


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

namespace Example
{
    public class getPlaceSummaryExample
    {
        public void main()
        {
            
            var apiInstance = new PlacesSummaryApi();
            var applicationId = applicationId_example;  // String | Application scope for the places

            try
            {
                // Returns a summary of places categorized by state
                Thinaer.Platform.Api.Dtos.Places.PlaceSummaryDto result = apiInstance.getPlaceSummary(applicationId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlacesSummaryApi.getPlaceSummary: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlacesSummaryApi();
$applicationId = applicationId_example; // String | Application scope for the places

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

my $api_instance = WWW::SwaggerClient::PlacesSummaryApi->new();
my $applicationId = applicationId_example; # String | Application scope for the places

eval { 
    my $result = $api_instance->getPlaceSummary(applicationId => $applicationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlacesSummaryApi->getPlaceSummary: $@\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.PlacesSummaryApi()
applicationId = applicationId_example # String | Application scope for the places

try: 
    # Returns a summary of places categorized by state
    api_response = api_instance.get_place_summary(applicationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlacesSummaryApi->getPlaceSummary: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
Application scope for the places
Required

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


Readings

getLatestReading

Get all sensor readings for the given thing


/{applicationId}/readings/{thingId}/latestreading

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/readings/{thingId}/latestreading?ability="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadingsApi;

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

public class ReadingsApiExample {

    public static void main(String[] args) {
        
        ReadingsApi apiInstance = new ReadingsApi();
        String thingId = thingId_example; // String | The thing unique identifier
        String applicationId = applicationId_example; // String | 
        String ability = ability_example; // String | The specific ability readings to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto result = apiInstance.getLatestReading(thingId, applicationId, ability);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadingsApi#getLatestReading");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadingsApi;

public class ReadingsApiExample {

    public static void main(String[] args) {
        ReadingsApi apiInstance = new ReadingsApi();
        String thingId = thingId_example; // String | The thing unique identifier
        String applicationId = applicationId_example; // String | 
        String ability = ability_example; // String | The specific ability readings to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto result = apiInstance.getLatestReading(thingId, applicationId, ability);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadingsApi#getLatestReading");
            e.printStackTrace();
        }
    }
}
String *thingId = thingId_example; // The thing unique identifier
String *applicationId = applicationId_example; // 
String *ability = ability_example; // The specific ability readings to retrieve (optional)

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

// Get all sensor readings for the given thing
[apiInstance getLatestReadingWith:thingId
    applicationId:applicationId
    ability:ability
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ReadingsApi()

var thingId = thingId_example; // {String} The thing unique identifier

var applicationId = applicationId_example; // {String} 

var opts = { 
  'ability': ability_example // {String} The specific ability readings to retrieve
};

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

namespace Example
{
    public class getLatestReadingExample
    {
        public void main()
        {
            
            var apiInstance = new ReadingsApi();
            var thingId = thingId_example;  // String | The thing unique identifier
            var applicationId = applicationId_example;  // String | 
            var ability = ability_example;  // String | The specific ability readings to retrieve (optional) 

            try
            {
                // Get all sensor readings for the given thing
                Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto result = apiInstance.getLatestReading(thingId, applicationId, ability);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadingsApi.getLatestReading: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReadingsApi();
$thingId = thingId_example; // String | The thing unique identifier
$applicationId = applicationId_example; // String | 
$ability = ability_example; // String | The specific ability readings to retrieve

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

my $api_instance = WWW::SwaggerClient::ReadingsApi->new();
my $thingId = thingId_example; # String | The thing unique identifier
my $applicationId = applicationId_example; # String | 
my $ability = ability_example; # String | The specific ability readings to retrieve

eval { 
    my $result = $api_instance->getLatestReading(thingId => $thingId, applicationId => $applicationId, ability => $ability);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReadingsApi->getLatestReading: $@\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.ReadingsApi()
thingId = thingId_example # String | The thing unique identifier
applicationId = applicationId_example # String | 
ability = ability_example # String | The specific ability readings to retrieve (optional)

try: 
    # Get all sensor readings for the given thing
    api_response = api_instance.get_latest_reading(thingId, applicationId, ability=ability)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReadingsApi->getLatestReading: %s\n" % e)

Parameters

Path parameters
Name Description
thingId*
String
The thing unique identifier
Required
applicationId*
String
Required
Query parameters
Name Description
ability
String
The specific ability readings to retrieve

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 500 - Server Error


getLatestReadings

Get the latest sensor readings for the given thing


/{applicationId}/readings/{thingId}/latestreadings

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/readings/{thingId}/latestreadings?ability=&count="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadingsApi;

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

public class ReadingsApiExample {

    public static void main(String[] args) {
        
        ReadingsApi apiInstance = new ReadingsApi();
        String thingId = thingId_example; // String | The thing unique identifier
        String applicationId = applicationId_example; // String | 
        String ability = ability_example; // String | The specific ability readings to retrieve
        Integer count = 56; // Integer | The number of readings to retrieve
        try {
            array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] result = apiInstance.getLatestReadings(thingId, applicationId, ability, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadingsApi#getLatestReadings");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadingsApi;

public class ReadingsApiExample {

    public static void main(String[] args) {
        ReadingsApi apiInstance = new ReadingsApi();
        String thingId = thingId_example; // String | The thing unique identifier
        String applicationId = applicationId_example; // String | 
        String ability = ability_example; // String | The specific ability readings to retrieve
        Integer count = 56; // Integer | The number of readings to retrieve
        try {
            array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] result = apiInstance.getLatestReadings(thingId, applicationId, ability, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadingsApi#getLatestReadings");
            e.printStackTrace();
        }
    }
}
String *thingId = thingId_example; // The thing unique identifier
String *applicationId = applicationId_example; // 
String *ability = ability_example; // The specific ability readings to retrieve (optional)
Integer *count = 56; // The number of readings to retrieve (optional) (default to 10)

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

// Get the latest sensor readings for the given thing
[apiInstance getLatestReadingsWith:thingId
    applicationId:applicationId
    ability:ability
    count:count
              completionHandler: ^(array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ReadingsApi()

var thingId = thingId_example; // {String} The thing unique identifier

var applicationId = applicationId_example; // {String} 

var opts = { 
  'ability': ability_example, // {String} The specific ability readings to retrieve
  'count': 56 // {Integer} The number of readings to retrieve
};

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

namespace Example
{
    public class getLatestReadingsExample
    {
        public void main()
        {
            
            var apiInstance = new ReadingsApi();
            var thingId = thingId_example;  // String | The thing unique identifier
            var applicationId = applicationId_example;  // String | 
            var ability = ability_example;  // String | The specific ability readings to retrieve (optional) 
            var count = 56;  // Integer | The number of readings to retrieve (optional)  (default to 10)

            try
            {
                // Get the latest sensor readings for the given thing
                array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] result = apiInstance.getLatestReadings(thingId, applicationId, ability, count);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadingsApi.getLatestReadings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReadingsApi();
$thingId = thingId_example; // String | The thing unique identifier
$applicationId = applicationId_example; // String | 
$ability = ability_example; // String | The specific ability readings to retrieve
$count = 56; // Integer | The number of readings to retrieve

try {
    $result = $api_instance->getLatestReadings($thingId, $applicationId, $ability, $count);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReadingsApi->getLatestReadings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadingsApi;

my $api_instance = WWW::SwaggerClient::ReadingsApi->new();
my $thingId = thingId_example; # String | The thing unique identifier
my $applicationId = applicationId_example; # String | 
my $ability = ability_example; # String | The specific ability readings to retrieve
my $count = 56; # Integer | The number of readings to retrieve

eval { 
    my $result = $api_instance->getLatestReadings(thingId => $thingId, applicationId => $applicationId, ability => $ability, count => $count);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReadingsApi->getLatestReadings: $@\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.ReadingsApi()
thingId = thingId_example # String | The thing unique identifier
applicationId = applicationId_example # String | 
ability = ability_example # String | The specific ability readings to retrieve (optional)
count = 56 # Integer | The number of readings to retrieve (optional) (default to 10)

try: 
    # Get the latest sensor readings for the given thing
    api_response = api_instance.get_latest_readings(thingId, applicationId, ability=ability, count=count)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReadingsApi->getLatestReadings: %s\n" % e)

Parameters

Path parameters
Name Description
thingId*
String
The thing unique identifier
Required
applicationId*
String
Required
Query parameters
Name Description
ability
String
The specific ability readings to retrieve
count
Integer (int32)
The number of readings to retrieve

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 500 - Server Error


getReadingsRange

Get sensor readings for the given thing


/{applicationId}/readings/{thingId}/readingsrange

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/readings/{thingId}/readingsrange?ability=&start=&end="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadingsApi;

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

public class ReadingsApiExample {

    public static void main(String[] args) {
        
        ReadingsApi apiInstance = new ReadingsApi();
        String thingId = thingId_example; // String | The thing unique identifier
        String applicationId = applicationId_example; // String | 
        String ability = ability_example; // String | The specific ability readings to retrieve
        Date start = 2013-10-20T19:20:30+01:00; // Date | The start date/time (default is one hour in the past)
        Date end = 2013-10-20T19:20:30+01:00; // Date | The end date/time (default is the current date/time)
        try {
            array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] result = apiInstance.getReadingsRange(thingId, applicationId, ability, start, end);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadingsApi#getReadingsRange");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadingsApi;

public class ReadingsApiExample {

    public static void main(String[] args) {
        ReadingsApi apiInstance = new ReadingsApi();
        String thingId = thingId_example; // String | The thing unique identifier
        String applicationId = applicationId_example; // String | 
        String ability = ability_example; // String | The specific ability readings to retrieve
        Date start = 2013-10-20T19:20:30+01:00; // Date | The start date/time (default is one hour in the past)
        Date end = 2013-10-20T19:20:30+01:00; // Date | The end date/time (default is the current date/time)
        try {
            array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] result = apiInstance.getReadingsRange(thingId, applicationId, ability, start, end);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadingsApi#getReadingsRange");
            e.printStackTrace();
        }
    }
}
String *thingId = thingId_example; // The thing unique identifier
String *applicationId = applicationId_example; // 
String *ability = ability_example; // The specific ability readings to retrieve (optional)
Date *start = 2013-10-20T19:20:30+01:00; // The start date/time (default is one hour in the past) (optional)
Date *end = 2013-10-20T19:20:30+01:00; // The end date/time (default is the current date/time) (optional)

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

// Get sensor readings for the given thing
[apiInstance getReadingsRangeWith:thingId
    applicationId:applicationId
    ability:ability
    start:start
    end:end
              completionHandler: ^(array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ReadingsApi()

var thingId = thingId_example; // {String} The thing unique identifier

var applicationId = applicationId_example; // {String} 

var opts = { 
  'ability': ability_example, // {String} The specific ability readings to retrieve
  'start': 2013-10-20T19:20:30+01:00, // {Date} The start date/time (default is one hour in the past)
  'end': 2013-10-20T19:20:30+01:00 // {Date} The end date/time (default is the current date/time)
};

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

namespace Example
{
    public class getReadingsRangeExample
    {
        public void main()
        {
            
            var apiInstance = new ReadingsApi();
            var thingId = thingId_example;  // String | The thing unique identifier
            var applicationId = applicationId_example;  // String | 
            var ability = ability_example;  // String | The specific ability readings to retrieve (optional) 
            var start = 2013-10-20T19:20:30+01:00;  // Date | The start date/time (default is one hour in the past) (optional) 
            var end = 2013-10-20T19:20:30+01:00;  // Date | The end date/time (default is the current date/time) (optional) 

            try
            {
                // Get sensor readings for the given thing
                array[Thinaer.Platform.Api.Dtos.Readings.ReadingAggregateDto] result = apiInstance.getReadingsRange(thingId, applicationId, ability, start, end);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadingsApi.getReadingsRange: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReadingsApi();
$thingId = thingId_example; // String | The thing unique identifier
$applicationId = applicationId_example; // String | 
$ability = ability_example; // String | The specific ability readings to retrieve
$start = 2013-10-20T19:20:30+01:00; // Date | The start date/time (default is one hour in the past)
$end = 2013-10-20T19:20:30+01:00; // Date | The end date/time (default is the current date/time)

try {
    $result = $api_instance->getReadingsRange($thingId, $applicationId, $ability, $start, $end);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReadingsApi->getReadingsRange: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadingsApi;

my $api_instance = WWW::SwaggerClient::ReadingsApi->new();
my $thingId = thingId_example; # String | The thing unique identifier
my $applicationId = applicationId_example; # String | 
my $ability = ability_example; # String | The specific ability readings to retrieve
my $start = 2013-10-20T19:20:30+01:00; # Date | The start date/time (default is one hour in the past)
my $end = 2013-10-20T19:20:30+01:00; # Date | The end date/time (default is the current date/time)

eval { 
    my $result = $api_instance->getReadingsRange(thingId => $thingId, applicationId => $applicationId, ability => $ability, start => $start, end => $end);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReadingsApi->getReadingsRange: $@\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.ReadingsApi()
thingId = thingId_example # String | The thing unique identifier
applicationId = applicationId_example # String | 
ability = ability_example # String | The specific ability readings to retrieve (optional)
start = 2013-10-20T19:20:30+01:00 # Date | The start date/time (default is one hour in the past) (optional)
end = 2013-10-20T19:20:30+01:00 # Date | The end date/time (default is the current date/time) (optional)

try: 
    # Get sensor readings for the given thing
    api_response = api_instance.get_readings_range(thingId, applicationId, ability=ability, start=start, end=end)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReadingsApi->getReadingsRange: %s\n" % e)

Parameters

Path parameters
Name Description
thingId*
String
The thing unique identifier
Required
applicationId*
String
Required
Query parameters
Name Description
ability
String
The specific ability readings to retrieve
start
Date (date-time)
The start date/time (default is one hour in the past)
end
Date (date-time)
The end date/time (default is the current date/time)

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 500 - Server Error


Reports

getAssetLocation

Gets paged location data for the given application and asset type


/{applicationId}/reports/assetlocation

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/reports/assetlocation?sort=&order=&limit=&page=&assetTypeId=&maintenanceDaysFrom="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

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

public class ReportsApiExample {

    public static void main(String[] args) {
        
        ReportsApi apiInstance = new ReportsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String sort = sort_example; // String | 
        String order = order_example; // String | 
        Integer limit = 56; // Integer | The number of items per page
        Integer page = 56; // Integer | The page number of items to retrieve
        String assetTypeId = assetTypeId_example; // String | The asset type unique identifier
        Integer maintenanceDaysFrom = 56; // Integer | 
        try {
            Thinaer.Platform.Api.Dtos.Reporting.LocationReportPagerDto result = apiInstance.getAssetLocation(applicationId, sort, order, limit, page, assetTypeId, maintenanceDaysFrom);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getAssetLocation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        String sort = sort_example; // String | 
        String order = order_example; // String | 
        Integer limit = 56; // Integer | The number of items per page
        Integer page = 56; // Integer | The page number of items to retrieve
        String assetTypeId = assetTypeId_example; // String | The asset type unique identifier
        Integer maintenanceDaysFrom = 56; // Integer | 
        try {
            Thinaer.Platform.Api.Dtos.Reporting.LocationReportPagerDto result = apiInstance.getAssetLocation(applicationId, sort, order, limit, page, assetTypeId, maintenanceDaysFrom);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getAssetLocation");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
String *sort = sort_example; //  (optional)
String *order = order_example; //  (optional)
Integer *limit = 56; // The number of items per page (optional)
Integer *page = 56; // The page number of items to retrieve (optional)
String *assetTypeId = assetTypeId_example; // The asset type unique identifier (optional)
Integer *maintenanceDaysFrom = 56; //  (optional)

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

// Gets paged location data for the given application and asset type
[apiInstance getAssetLocationWith:applicationId
    sort:sort
    order:order
    limit:limit
    page:page
    assetTypeId:assetTypeId
    maintenanceDaysFrom:maintenanceDaysFrom
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Reporting.LocationReportPagerDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ReportsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

var opts = { 
  'sort': sort_example, // {String} 
  'order': order_example, // {String} 
  'limit': 56, // {Integer} The number of items per page
  'page': 56, // {Integer} The page number of items to retrieve
  'assetTypeId': assetTypeId_example, // {String} The asset type unique identifier
  'maintenanceDaysFrom': 56 // {Integer} 
};

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

namespace Example
{
    public class getAssetLocationExample
    {
        public void main()
        {
            
            var apiInstance = new ReportsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var sort = sort_example;  // String |  (optional) 
            var order = order_example;  // String |  (optional) 
            var limit = 56;  // Integer | The number of items per page (optional) 
            var page = 56;  // Integer | The page number of items to retrieve (optional) 
            var assetTypeId = assetTypeId_example;  // String | The asset type unique identifier (optional) 
            var maintenanceDaysFrom = 56;  // Integer |  (optional) 

            try
            {
                // Gets paged location data for the given application and asset type
                Thinaer.Platform.Api.Dtos.Reporting.LocationReportPagerDto result = apiInstance.getAssetLocation(applicationId, sort, order, limit, page, assetTypeId, maintenanceDaysFrom);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.getAssetLocation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$sort = sort_example; // String | 
$order = order_example; // String | 
$limit = 56; // Integer | The number of items per page
$page = 56; // Integer | The page number of items to retrieve
$assetTypeId = assetTypeId_example; // String | The asset type unique identifier
$maintenanceDaysFrom = 56; // Integer | 

try {
    $result = $api_instance->getAssetLocation($applicationId, $sort, $order, $limit, $page, $assetTypeId, $maintenanceDaysFrom);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->getAssetLocation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $sort = sort_example; # String | 
my $order = order_example; # String | 
my $limit = 56; # Integer | The number of items per page
my $page = 56; # Integer | The page number of items to retrieve
my $assetTypeId = assetTypeId_example; # String | The asset type unique identifier
my $maintenanceDaysFrom = 56; # Integer | 

eval { 
    my $result = $api_instance->getAssetLocation(applicationId => $applicationId, sort => $sort, order => $order, limit => $limit, page => $page, assetTypeId => $assetTypeId, maintenanceDaysFrom => $maintenanceDaysFrom);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportsApi->getAssetLocation: $@\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.ReportsApi()
applicationId = applicationId_example # String | The owning application unique identifier
sort = sort_example # String |  (optional)
order = order_example # String |  (optional)
limit = 56 # Integer | The number of items per page (optional)
page = 56 # Integer | The page number of items to retrieve (optional)
assetTypeId = assetTypeId_example # String | The asset type unique identifier (optional)
maintenanceDaysFrom = 56 # Integer |  (optional)

try: 
    # Gets paged location data for the given application and asset type
    api_response = api_instance.get_asset_location(applicationId, sort=sort, order=order, limit=limit, page=page, assetTypeId=assetTypeId, maintenanceDaysFrom=maintenanceDaysFrom)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportsApi->getAssetLocation: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
Query parameters
Name Description
sort
String
order
String
limit
Integer (int32)
The number of items per page
page
Integer (int32)
The page number of items to retrieve
assetTypeId
String
The asset type unique identifier
maintenanceDaysFrom
Integer (int32)

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


getTempAndHumidity

Gets paged temperature and humidity data for a period of time


/{applicationId}/reports/tempandhumidity

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/reports/tempandhumidity?startDate=&endDate=&hour=&limit=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

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

public class ReportsApiExample {

    public static void main(String[] args) {
        
        ReportsApi apiInstance = new ReportsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        Date startDate = 2013-10-20T19:20:30+01:00; // Date | The start date/time
        Date endDate = 2013-10-20T19:20:30+01:00; // Date | The end date/time
        Integer hour = 56; // Integer | The specific hour of the day for readings sampling
        Integer limit = 56; // Integer | The number of readings per page
        Integer page = 56; // Integer | The page number of data to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Reporting.TemperatureAndHumidityReportPager result = apiInstance.getTempAndHumidity(applicationId, startDate, endDate, hour, limit, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getTempAndHumidity");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        Date startDate = 2013-10-20T19:20:30+01:00; // Date | The start date/time
        Date endDate = 2013-10-20T19:20:30+01:00; // Date | The end date/time
        Integer hour = 56; // Integer | The specific hour of the day for readings sampling
        Integer limit = 56; // Integer | The number of readings per page
        Integer page = 56; // Integer | The page number of data to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Reporting.TemperatureAndHumidityReportPager result = apiInstance.getTempAndHumidity(applicationId, startDate, endDate, hour, limit, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getTempAndHumidity");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
Date *startDate = 2013-10-20T19:20:30+01:00; // The start date/time (optional)
Date *endDate = 2013-10-20T19:20:30+01:00; // The end date/time (optional)
Integer *hour = 56; // The specific hour of the day for readings sampling (optional)
Integer *limit = 56; // The number of readings per page (optional)
Integer *page = 56; // The page number of data to retrieve (optional)

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

// Gets paged temperature and humidity data for a period of time
[apiInstance getTempAndHumidityWith:applicationId
    startDate:startDate
    endDate:endDate
    hour:hour
    limit:limit
    page:page
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Reporting.TemperatureAndHumidityReportPager output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ReportsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

var opts = { 
  'startDate': 2013-10-20T19:20:30+01:00, // {Date} The start date/time
  'endDate': 2013-10-20T19:20:30+01:00, // {Date} The end date/time
  'hour': 56, // {Integer} The specific hour of the day for readings sampling
  'limit': 56, // {Integer} The number of readings per page
  'page': 56 // {Integer} The page number of data to retrieve
};

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

namespace Example
{
    public class getTempAndHumidityExample
    {
        public void main()
        {
            
            var apiInstance = new ReportsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var startDate = 2013-10-20T19:20:30+01:00;  // Date | The start date/time (optional) 
            var endDate = 2013-10-20T19:20:30+01:00;  // Date | The end date/time (optional) 
            var hour = 56;  // Integer | The specific hour of the day for readings sampling (optional) 
            var limit = 56;  // Integer | The number of readings per page (optional) 
            var page = 56;  // Integer | The page number of data to retrieve (optional) 

            try
            {
                // Gets paged temperature and humidity data for a period of time
                Thinaer.Platform.Api.Dtos.Reporting.TemperatureAndHumidityReportPager result = apiInstance.getTempAndHumidity(applicationId, startDate, endDate, hour, limit, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.getTempAndHumidity: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$startDate = 2013-10-20T19:20:30+01:00; // Date | The start date/time
$endDate = 2013-10-20T19:20:30+01:00; // Date | The end date/time
$hour = 56; // Integer | The specific hour of the day for readings sampling
$limit = 56; // Integer | The number of readings per page
$page = 56; // Integer | The page number of data to retrieve

try {
    $result = $api_instance->getTempAndHumidity($applicationId, $startDate, $endDate, $hour, $limit, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->getTempAndHumidity: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $startDate = 2013-10-20T19:20:30+01:00; # Date | The start date/time
my $endDate = 2013-10-20T19:20:30+01:00; # Date | The end date/time
my $hour = 56; # Integer | The specific hour of the day for readings sampling
my $limit = 56; # Integer | The number of readings per page
my $page = 56; # Integer | The page number of data to retrieve

eval { 
    my $result = $api_instance->getTempAndHumidity(applicationId => $applicationId, startDate => $startDate, endDate => $endDate, hour => $hour, limit => $limit, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportsApi->getTempAndHumidity: $@\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.ReportsApi()
applicationId = applicationId_example # String | The owning application unique identifier
startDate = 2013-10-20T19:20:30+01:00 # Date | The start date/time (optional)
endDate = 2013-10-20T19:20:30+01:00 # Date | The end date/time (optional)
hour = 56 # Integer | The specific hour of the day for readings sampling (optional)
limit = 56 # Integer | The number of readings per page (optional)
page = 56 # Integer | The page number of data to retrieve (optional)

try: 
    # Gets paged temperature and humidity data for a period of time
    api_response = api_instance.get_temp_and_humidity(applicationId, startDate=startDate, endDate=endDate, hour=hour, limit=limit, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportsApi->getTempAndHumidity: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
Query parameters
Name Description
startDate
Date (date-time)
The start date/time
endDate
Date (date-time)
The end date/time
hour
Integer (int32)
The specific hour of the day for readings sampling
limit
Integer (int32)
The number of readings per page
page
Integer (int32)
The page number of data to retrieve

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error


getTriggerResponses

Get paged trigger alert responses for the given application


/{applicationId}/reports/triggerresponses

Usage and SDK Samples

curl -X GET "https://localhost/{applicationId}/reports/triggerresponses?startDate=&endDate=&limit=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

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

public class ReportsApiExample {

    public static void main(String[] args) {
        
        ReportsApi apiInstance = new ReportsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        Date startDate = 2013-10-20T19:20:30+01:00; // Date | The start date/time
        Date endDate = 2013-10-20T19:20:30+01:00; // Date | The end date/time
        Integer limit = 56; // Integer | The number of items per page
        Integer page = 56; // Integer | The page number of items to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Reporting.ResponseReportPagerDto result = apiInstance.getTriggerResponses(applicationId, startDate, endDate, limit, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getTriggerResponses");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        String applicationId = applicationId_example; // String | The owning application unique identifier
        Date startDate = 2013-10-20T19:20:30+01:00; // Date | The start date/time
        Date endDate = 2013-10-20T19:20:30+01:00; // Date | The end date/time
        Integer limit = 56; // Integer | The number of items per page
        Integer page = 56; // Integer | The page number of items to retrieve
        try {
            Thinaer.Platform.Api.Dtos.Reporting.ResponseReportPagerDto result = apiInstance.getTriggerResponses(applicationId, startDate, endDate, limit, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getTriggerResponses");
            e.printStackTrace();
        }
    }
}
String *applicationId = applicationId_example; // The owning application unique identifier
Date *startDate = 2013-10-20T19:20:30+01:00; // The start date/time (optional)
Date *endDate = 2013-10-20T19:20:30+01:00; // The end date/time (optional)
Integer *limit = 56; // The number of items per page (optional)
Integer *page = 56; // The page number of items to retrieve (optional)

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

// Get paged trigger alert responses for the given application
[apiInstance getTriggerResponsesWith:applicationId
    startDate:startDate
    endDate:endDate
    limit:limit
    page:page
              completionHandler: ^(Thinaer.Platform.Api.Dtos.Reporting.ResponseReportPagerDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ThinaerApi = require('thinaer_api');

var api = new ThinaerApi.ReportsApi()

var applicationId = applicationId_example; // {String} The owning application unique identifier

var opts = { 
  'startDate': 2013-10-20T19:20:30+01:00, // {Date} The start date/time
  'endDate': 2013-10-20T19:20:30+01:00, // {Date} The end date/time
  'limit': 56, // {Integer} The number of items per page
  'page': 56 // {Integer} The page number of items to retrieve
};

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

namespace Example
{
    public class getTriggerResponsesExample
    {
        public void main()
        {
            
            var apiInstance = new ReportsApi();
            var applicationId = applicationId_example;  // String | The owning application unique identifier
            var startDate = 2013-10-20T19:20:30+01:00;  // Date | The start date/time (optional) 
            var endDate = 2013-10-20T19:20:30+01:00;  // Date | The end date/time (optional) 
            var limit = 56;  // Integer | The number of items per page (optional) 
            var page = 56;  // Integer | The page number of items to retrieve (optional) 

            try
            {
                // Get paged trigger alert responses for the given application
                Thinaer.Platform.Api.Dtos.Reporting.ResponseReportPagerDto result = apiInstance.getTriggerResponses(applicationId, startDate, endDate, limit, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.getTriggerResponses: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$applicationId = applicationId_example; // String | The owning application unique identifier
$startDate = 2013-10-20T19:20:30+01:00; // Date | The start date/time
$endDate = 2013-10-20T19:20:30+01:00; // Date | The end date/time
$limit = 56; // Integer | The number of items per page
$page = 56; // Integer | The page number of items to retrieve

try {
    $result = $api_instance->getTriggerResponses($applicationId, $startDate, $endDate, $limit, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->getTriggerResponses: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $applicationId = applicationId_example; # String | The owning application unique identifier
my $startDate = 2013-10-20T19:20:30+01:00; # Date | The start date/time
my $endDate = 2013-10-20T19:20:30+01:00; # Date | The end date/time
my $limit = 56; # Integer | The number of items per page
my $page = 56; # Integer | The page number of items to retrieve

eval { 
    my $result = $api_instance->getTriggerResponses(applicationId => $applicationId, startDate => $startDate, endDate => $endDate, limit => $limit, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportsApi->getTriggerResponses: $@\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.ReportsApi()
applicationId = applicationId_example # String | The owning application unique identifier
startDate = 2013-10-20T19:20:30+01:00 # Date | The start date/time (optional)
endDate = 2013-10-20T19:20:30+01:00 # Date | The end date/time (optional)
limit = 56 # Integer | The number of items per page (optional)
page = 56 # Integer | The page number of items to retrieve (optional)

try: 
    # Get paged trigger alert responses for the given application
    api_response = api_instance.get_trigger_responses(applicationId, startDate=startDate, endDate=endDate, limit=limit, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportsApi->getTriggerResponses: %s\n" % e)

Parameters

Path parameters
Name Description
applicationId*
String
The owning application unique identifier
Required
Query parameters
Name Description
startDate
Date (date-time)
The start date/time
endDate
Date (date-time)
The end date/time
limit
Integer (int32)
The number of items per page
page
Integer (int32)
The page number of items to retrieve

Responses

Status: 200 - Success

Status: 401 - Unauthorized

Status: 500 - Server Error