Teevity

Public

addAnalysisConfiguration


/resourcesusageanalytics/configuration/analysis

Usage and SDK Samples

curl -X put -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/analysis"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        ResourceUsageAnalysisImportExportDTO body = ; // ResourceUsageAnalysisImportExportDTO | 
        try {
            'String' result = apiInstance.addAnalysisConfiguration(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addAnalysisConfiguration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        ResourceUsageAnalysisImportExportDTO body = ; // ResourceUsageAnalysisImportExportDTO | 
        try {
            'String' result = apiInstance.addAnalysisConfiguration(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addAnalysisConfiguration");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

ResourceUsageAnalysisImportExportDTO *body = ; //  (optional)

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

// 
[apiInstance addAnalysisConfigurationWith:body
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'body':  // {ResourceUsageAnalysisImportExportDTO} 
};

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

namespace Example
{
    public class addAnalysisConfigurationExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var body = new ResourceUsageAnalysisImportExportDTO(); // ResourceUsageAnalysisImportExportDTO |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.addAnalysisConfiguration(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.addAnalysisConfiguration: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$body = ; // ResourceUsageAnalysisImportExportDTO | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $body = WWW::SwaggerClient::Object::ResourceUsageAnalysisImportExportDTO->new(); # ResourceUsageAnalysisImportExportDTO | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
body =  # ResourceUsageAnalysisImportExportDTO |  (optional)

try: 
    # 
    api_response = api_instance.addAnalysisConfiguration(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->addAnalysisConfiguration: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


addCustomScoringLogicTemplate


/resourcesusageanalytics/data/addCustomScoringLogicTemplate

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/addCustomScoringLogicTemplate?scoringLogicTemplateUUID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String customScoringLogicTemplates = customScoringLogicTemplates_example; // String | 
        String scoringLogicTemplateUUID = scoringLogicTemplateUUID_example; // String | 
        try {
            'String' result = apiInstance.addCustomScoringLogicTemplate(customScoringLogicTemplates, scoringLogicTemplateUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addCustomScoringLogicTemplate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String customScoringLogicTemplates = customScoringLogicTemplates_example; // String | 
        String scoringLogicTemplateUUID = scoringLogicTemplateUUID_example; // String | 
        try {
            'String' result = apiInstance.addCustomScoringLogicTemplate(customScoringLogicTemplates, scoringLogicTemplateUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addCustomScoringLogicTemplate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *customScoringLogicTemplates = customScoringLogicTemplates_example; //  (optional)
String *scoringLogicTemplateUUID = scoringLogicTemplateUUID_example; //  (optional)

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

// 
[apiInstance addCustomScoringLogicTemplateWith:customScoringLogicTemplates
    scoringLogicTemplateUUID:scoringLogicTemplateUUID
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'customScoringLogicTemplates': customScoringLogicTemplates_example, // {String} 
  'scoringLogicTemplateUUID': scoringLogicTemplateUUID_example // {String} 
};

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

namespace Example
{
    public class addCustomScoringLogicTemplateExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var customScoringLogicTemplates = customScoringLogicTemplates_example;  // String |  (optional) 
            var scoringLogicTemplateUUID = scoringLogicTemplateUUID_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.addCustomScoringLogicTemplate(customScoringLogicTemplates, scoringLogicTemplateUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.addCustomScoringLogicTemplate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$customScoringLogicTemplates = customScoringLogicTemplates_example; // String | 
$scoringLogicTemplateUUID = scoringLogicTemplateUUID_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $customScoringLogicTemplates = customScoringLogicTemplates_example; # String | 
my $scoringLogicTemplateUUID = scoringLogicTemplateUUID_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
customScoringLogicTemplates = customScoringLogicTemplates_example # String |  (optional)
scoringLogicTemplateUUID = scoringLogicTemplateUUID_example # String |  (optional)

try: 
    # 
    api_response = api_instance.addCustomScoringLogicTemplate(customScoringLogicTemplates=customScoringLogicTemplates, scoringLogicTemplateUUID=scoringLogicTemplateUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->addCustomScoringLogicTemplate: %s\n" % e)

Parameters

Form parameters
Name Description
customScoringLogicTemplates
Query parameters
Name Description
scoringLogicTemplateUUID

Responses

Status: 200 - successful operation


addNewCloudService


/cloudplatforms/addNewCloudService

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/addNewCloudService"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        try {
            CloudServiceDiscoveryInfo result = apiInstance.addNewCloudService(csp, encryptedCredentials);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addNewCloudService");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        try {
            CloudServiceDiscoveryInfo result = apiInstance.addNewCloudService(csp, encryptedCredentials);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addNewCloudService");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *csp = csp_example; //  (optional)
String *encryptedCredentials = encryptedCredentials_example; //  (optional)

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

// 
[apiInstance addNewCloudServiceWith:csp
    encryptedCredentials:encryptedCredentials
              completionHandler: ^(CloudServiceDiscoveryInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'csp': csp_example, // {String} 
  'encryptedCredentials': encryptedCredentials_example // {String} 
};

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

namespace Example
{
    public class addNewCloudServiceExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var csp = csp_example;  // String |  (optional) 
            var encryptedCredentials = encryptedCredentials_example;  // String |  (optional) 

            try
            {
                // 
                CloudServiceDiscoveryInfo result = apiInstance.addNewCloudService(csp, encryptedCredentials);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.addNewCloudService: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$csp = csp_example; // String | 
$encryptedCredentials = encryptedCredentials_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $csp = csp_example; # String | 
my $encryptedCredentials = encryptedCredentials_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
csp = csp_example # String |  (optional)
encryptedCredentials = encryptedCredentials_example # String |  (optional)

try: 
    # 
    api_response = api_instance.addNewCloudService(csp=csp, encryptedCredentials=encryptedCredentials)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->addNewCloudService: %s\n" % e)

Parameters

Form parameters
Name Description
csp
encryptedCredentials

Responses

Status: 200 - successful operation


addNewCloudServiceFromUnknownCloudProvider


/cloudplatforms/addNewCloudService/unknown

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/addNewCloudService/unknown"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String name = name_example; // String | 
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        try {
            'String' result = apiInstance.addNewCloudServiceFromUnknownCloudProvider(name, csp, encryptedCredentials);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addNewCloudServiceFromUnknownCloudProvider");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String name = name_example; // String | 
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        try {
            'String' result = apiInstance.addNewCloudServiceFromUnknownCloudProvider(name, csp, encryptedCredentials);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addNewCloudServiceFromUnknownCloudProvider");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *name = name_example; //  (optional)
String *csp = csp_example; //  (optional)
String *encryptedCredentials = encryptedCredentials_example; //  (optional)

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

// 
[apiInstance addNewCloudServiceFromUnknownCloudProviderWith:name
    csp:csp
    encryptedCredentials:encryptedCredentials
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'name': name_example, // {String} 
  'csp': csp_example, // {String} 
  'encryptedCredentials': encryptedCredentials_example // {String} 
};

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

namespace Example
{
    public class addNewCloudServiceFromUnknownCloudProviderExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var name = name_example;  // String |  (optional) 
            var csp = csp_example;  // String |  (optional) 
            var encryptedCredentials = encryptedCredentials_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.addNewCloudServiceFromUnknownCloudProvider(name, csp, encryptedCredentials);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.addNewCloudServiceFromUnknownCloudProvider: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$name = name_example; // String | 
$csp = csp_example; // String | 
$encryptedCredentials = encryptedCredentials_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $name = name_example; # String | 
my $csp = csp_example; # String | 
my $encryptedCredentials = encryptedCredentials_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
name = name_example # String |  (optional)
csp = csp_example # String |  (optional)
encryptedCredentials = encryptedCredentials_example # String |  (optional)

try: 
    # 
    api_response = api_instance.addNewCloudServiceFromUnknownCloudProvider(name=name, csp=csp, encryptedCredentials=encryptedCredentials)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->addNewCloudServiceFromUnknownCloudProvider: %s\n" % e)

Parameters

Form parameters
Name Description
name
csp
encryptedCredentials

Responses

Status: 200 - successful operation


addNewCloudServiceFromUnknownCloudProviderWithTypes


/cloudplatforms/addNewCloudService/unknown/withTypes

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/addNewCloudService/unknown/withTypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String name = name_example; // String | 
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        String types = types_example; // String | 
        try {
            'String' result = apiInstance.addNewCloudServiceFromUnknownCloudProviderWithTypes(name, csp, encryptedCredentials, types);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addNewCloudServiceFromUnknownCloudProviderWithTypes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String name = name_example; // String | 
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        String types = types_example; // String | 
        try {
            'String' result = apiInstance.addNewCloudServiceFromUnknownCloudProviderWithTypes(name, csp, encryptedCredentials, types);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addNewCloudServiceFromUnknownCloudProviderWithTypes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *name = name_example; //  (optional)
String *csp = csp_example; //  (optional)
String *encryptedCredentials = encryptedCredentials_example; //  (optional)
String *types = types_example; //  (optional)

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

// 
[apiInstance addNewCloudServiceFromUnknownCloudProviderWithTypesWith:name
    csp:csp
    encryptedCredentials:encryptedCredentials
    types:types
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'name': name_example, // {String} 
  'csp': csp_example, // {String} 
  'encryptedCredentials': encryptedCredentials_example, // {String} 
  'types': types_example // {String} 
};

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

namespace Example
{
    public class addNewCloudServiceFromUnknownCloudProviderWithTypesExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var name = name_example;  // String |  (optional) 
            var csp = csp_example;  // String |  (optional) 
            var encryptedCredentials = encryptedCredentials_example;  // String |  (optional) 
            var types = types_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.addNewCloudServiceFromUnknownCloudProviderWithTypes(name, csp, encryptedCredentials, types);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.addNewCloudServiceFromUnknownCloudProviderWithTypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$name = name_example; // String | 
$csp = csp_example; // String | 
$encryptedCredentials = encryptedCredentials_example; // String | 
$types = types_example; // String | 

try {
    $result = $api_instance->addNewCloudServiceFromUnknownCloudProviderWithTypes($name, $csp, $encryptedCredentials, $types);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->addNewCloudServiceFromUnknownCloudProviderWithTypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PublicApi;

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $name = name_example; # String | 
my $csp = csp_example; # String | 
my $encryptedCredentials = encryptedCredentials_example; # String | 
my $types = types_example; # String | 

eval { 
    my $result = $api_instance->addNewCloudServiceFromUnknownCloudProviderWithTypes(name => $name, csp => $csp, encryptedCredentials => $encryptedCredentials, types => $types);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->addNewCloudServiceFromUnknownCloudProviderWithTypes: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
name = name_example # String |  (optional)
csp = csp_example # String |  (optional)
encryptedCredentials = encryptedCredentials_example # String |  (optional)
types = types_example # String |  (optional)

try: 
    # 
    api_response = api_instance.addNewCloudServiceFromUnknownCloudProviderWithTypes(name=name, csp=csp, encryptedCredentials=encryptedCredentials, types=types)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->addNewCloudServiceFromUnknownCloudProviderWithTypes: %s\n" % e)

Parameters

Form parameters
Name Description
name
csp
encryptedCredentials
types

Responses

Status: 200 - successful operation


addScoringLogicTemplate


/resourcesusageanalytics/configuration/scoringLogicTemplates

Usage and SDK Samples

curl -X put -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/scoringLogicTemplates"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        ScoringLogicTemplateImportExportDTO body = ; // ScoringLogicTemplateImportExportDTO | 
        try {
            'String' result = apiInstance.addScoringLogicTemplate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addScoringLogicTemplate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        ScoringLogicTemplateImportExportDTO body = ; // ScoringLogicTemplateImportExportDTO | 
        try {
            'String' result = apiInstance.addScoringLogicTemplate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#addScoringLogicTemplate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

ScoringLogicTemplateImportExportDTO *body = ; //  (optional)

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

// 
[apiInstance addScoringLogicTemplateWith:body
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'body':  // {ScoringLogicTemplateImportExportDTO} 
};

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

namespace Example
{
    public class addScoringLogicTemplateExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var body = new ScoringLogicTemplateImportExportDTO(); // ScoringLogicTemplateImportExportDTO |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.addScoringLogicTemplate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.addScoringLogicTemplate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$body = ; // ScoringLogicTemplateImportExportDTO | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $body = WWW::SwaggerClient::Object::ScoringLogicTemplateImportExportDTO->new(); # ScoringLogicTemplateImportExportDTO | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
body =  # ScoringLogicTemplateImportExportDTO |  (optional)

try: 
    # 
    api_response = api_instance.addScoringLogicTemplate(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->addScoringLogicTemplate: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


checkBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration


/businessDrivenCostAnalytics/costByBusinessMetrics/configuration/checkOnly

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/businessDrivenCostAnalytics/costByBusinessMetrics/configuration/checkOnly"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            'String' result = apiInstance.checkBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#checkBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance checkBusinessDrivenCostAnalyticsCostByBusinessMetricsConfigurationWithCompletionHandler: 
              ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class checkBusinessDrivenCostAnalyticsCostByBusinessMetricsConfigurationExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


checkCredentials


/cloudplatforms/checkCredentials/{csp}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/checkCredentials/{csp}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        try {
            apiInstance.checkCredentials(csp, encryptedCredentials);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#checkCredentials");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String csp = csp_example; // String | 
        String encryptedCredentials = encryptedCredentials_example; // String | 
        try {
            apiInstance.checkCredentials(csp, encryptedCredentials);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#checkCredentials");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *csp = csp_example; // 
String *encryptedCredentials = encryptedCredentials_example; //  (optional)

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

// 
[apiInstance checkCredentialsWith:csp
    encryptedCredentials:encryptedCredentials
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var csp = csp_example; // {String} 

var opts = { 
  'encryptedCredentials': encryptedCredentials_example // {String} 
};

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

namespace Example
{
    public class checkCredentialsExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var csp = csp_example;  // String | 
            var encryptedCredentials = encryptedCredentials_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.checkCredentials(csp, encryptedCredentials);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.checkCredentials: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$csp = csp_example; // String | 
$encryptedCredentials = encryptedCredentials_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $csp = csp_example; # String | 
my $encryptedCredentials = encryptedCredentials_example; # String | 

eval { 
    $api_instance->checkCredentials(csp => $csp, encryptedCredentials => $encryptedCredentials);
};
if ($@) {
    warn "Exception when calling PublicApi->checkCredentials: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
csp = csp_example # String | 
encryptedCredentials = encryptedCredentials_example # String |  (optional)

try: 
    # 
    api_instance.checkCredentials(csp, encryptedCredentials=encryptedCredentials)
except ApiException as e:
    print("Exception when calling PublicApi->checkCredentials: %s\n" % e)

Parameters

Path parameters
Name Description
csp*
Form parameters
Name Description
encryptedCredentials

Responses

Status: 0 - successful operation


createCompanyTopLevelAdminAccount


/accountRequestManagement/createCompanyTopLevelAdminAccount

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/accountRequestManagement/createCompanyTopLevelAdminAccount?initializeData="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String emailAccountRequest = emailAccountRequest_example; // String | 
        String company = company_example; // String | 
        String password = password_example; // String | 
        Boolean initializeData = true; // Boolean | 
        try {
            'String' result = apiInstance.createCompanyTopLevelAdminAccount(emailAccountRequest, company, password, initializeData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createCompanyTopLevelAdminAccount");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String emailAccountRequest = emailAccountRequest_example; // String | 
        String company = company_example; // String | 
        String password = password_example; // String | 
        Boolean initializeData = true; // Boolean | 
        try {
            'String' result = apiInstance.createCompanyTopLevelAdminAccount(emailAccountRequest, company, password, initializeData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createCompanyTopLevelAdminAccount");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *emailAccountRequest = emailAccountRequest_example; //  (optional)
String *company = company_example; //  (optional)
String *password = password_example; //  (optional)
Boolean *initializeData = true; //  (optional)

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

// 
[apiInstance createCompanyTopLevelAdminAccountWith:emailAccountRequest
    company:company
    password:password
    initializeData:initializeData
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'emailAccountRequest': emailAccountRequest_example, // {String} 
  'company': company_example, // {String} 
  'password': password_example, // {String} 
  'initializeData': true // {Boolean} 
};

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

namespace Example
{
    public class createCompanyTopLevelAdminAccountExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var emailAccountRequest = emailAccountRequest_example;  // String |  (optional) 
            var company = company_example;  // String |  (optional) 
            var password = password_example;  // String |  (optional) 
            var initializeData = true;  // Boolean |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.createCompanyTopLevelAdminAccount(emailAccountRequest, company, password, initializeData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createCompanyTopLevelAdminAccount: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$emailAccountRequest = emailAccountRequest_example; // String | 
$company = company_example; // String | 
$password = password_example; // String | 
$initializeData = true; // Boolean | 

try {
    $result = $api_instance->createCompanyTopLevelAdminAccount($emailAccountRequest, $company, $password, $initializeData);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->createCompanyTopLevelAdminAccount: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PublicApi;

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $emailAccountRequest = emailAccountRequest_example; # String | 
my $company = company_example; # String | 
my $password = password_example; # String | 
my $initializeData = true; # Boolean | 

eval { 
    my $result = $api_instance->createCompanyTopLevelAdminAccount(emailAccountRequest => $emailAccountRequest, company => $company, password => $password, initializeData => $initializeData);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->createCompanyTopLevelAdminAccount: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
emailAccountRequest = emailAccountRequest_example # String |  (optional)
company = company_example # String |  (optional)
password = password_example # String |  (optional)
initializeData = true # Boolean |  (optional)

try: 
    # 
    api_response = api_instance.createCompanyTopLevelAdminAccount(emailAccountRequest=emailAccountRequest, company=company, password=password, initializeData=initializeData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->createCompanyTopLevelAdminAccount: %s\n" % e)

Parameters

Form parameters
Name Description
emailAccountRequest
company
password
Query parameters
Name Description
initializeData

Responses

Status: 200 - successful operation


createDashboard


/displayContext/name/{displayContextName}

Usage and SDK Samples

curl -X put -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/displayContext/name/{displayContextName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String displayContextName = displayContextName_example; // String | 
        try {
            'String' result = apiInstance.createDashboard(displayContextName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createDashboard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String displayContextName = displayContextName_example; // String | 
        try {
            'String' result = apiInstance.createDashboard(displayContextName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createDashboard");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *displayContextName = displayContextName_example; // 

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

// 
[apiInstance createDashboardWith:displayContextName
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var displayContextName = displayContextName_example; // {String} 


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

namespace Example
{
    public class createDashboardExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var displayContextName = displayContextName_example;  // String | 

            try
            {
                // 
                'String' result = apiInstance.createDashboard(displayContextName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createDashboard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$displayContextName = displayContextName_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $displayContextName = displayContextName_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
displayContextName = displayContextName_example # String | 

try: 
    # 
    api_response = api_instance.createDashboard(displayContextName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->createDashboard: %s\n" % e)

Parameters

Path parameters
Name Description
displayContextName*

Responses

Status: 200 - successful operation


createNewReport


/customReports/reportUUID/{reportUUID}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportUUID/{reportUUID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String reportUUID = reportUUID_example; // String | 
        NewReport body = ; // NewReport | 
        try {
            'String' result = apiInstance.createNewReport(reportUUID, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createNewReport");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String reportUUID = reportUUID_example; // String | 
        NewReport body = ; // NewReport | 
        try {
            'String' result = apiInstance.createNewReport(reportUUID, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createNewReport");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *reportUUID = reportUUID_example; // 
NewReport *body = ; //  (optional)

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

// 
[apiInstance createNewReportWith:reportUUID
    body:body
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var reportUUID = reportUUID_example; // {String} 

var opts = { 
  'body':  // {NewReport} 
};

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

namespace Example
{
    public class createNewReportExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var reportUUID = reportUUID_example;  // String | 
            var body = new NewReport(); // NewReport |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.createNewReport(reportUUID, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createNewReport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$reportUUID = reportUUID_example; // String | 
$body = ; // NewReport | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $reportUUID = reportUUID_example; # String | 
my $body = WWW::SwaggerClient::Object::NewReport->new(); # NewReport | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
reportUUID = reportUUID_example # String | 
body =  # NewReport |  (optional)

try: 
    # 
    api_response = api_instance.createNewReport(reportUUID, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->createNewReport: %s\n" % e)

Parameters

Path parameters
Name Description
reportUUID*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


createReportFromTMRAndAssignItToLoggedInCustomer


/managedreports/assignment/createReportFromTMR

Usage and SDK Samples

curl -X put -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/managedreports/assignment/createReportFromTMR"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        CreateReportAndAssignItToLoggedInCustomerRequestParameters body = ; // CreateReportAndAssignItToLoggedInCustomerRequestParameters | 
        try {
            UserReportBase result = apiInstance.createReportFromTMRAndAssignItToLoggedInCustomer(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createReportFromTMRAndAssignItToLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CreateReportAndAssignItToLoggedInCustomerRequestParameters body = ; // CreateReportAndAssignItToLoggedInCustomerRequestParameters | 
        try {
            UserReportBase result = apiInstance.createReportFromTMRAndAssignItToLoggedInCustomer(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createReportFromTMRAndAssignItToLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

CreateReportAndAssignItToLoggedInCustomerRequestParameters *body = ; //  (optional)

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

// 
[apiInstance createReportFromTMRAndAssignItToLoggedInCustomerWith:body
              completionHandler: ^(UserReportBase output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'body':  // {CreateReportAndAssignItToLoggedInCustomerRequestParameters} 
};

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

namespace Example
{
    public class createReportFromTMRAndAssignItToLoggedInCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var body = new CreateReportAndAssignItToLoggedInCustomerRequestParameters(); // CreateReportAndAssignItToLoggedInCustomerRequestParameters |  (optional) 

            try
            {
                // 
                UserReportBase result = apiInstance.createReportFromTMRAndAssignItToLoggedInCustomer(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createReportFromTMRAndAssignItToLoggedInCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$body = ; // CreateReportAndAssignItToLoggedInCustomerRequestParameters | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $body = WWW::SwaggerClient::Object::CreateReportAndAssignItToLoggedInCustomerRequestParameters->new(); # CreateReportAndAssignItToLoggedInCustomerRequestParameters | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
body =  # CreateReportAndAssignItToLoggedInCustomerRequestParameters |  (optional)

try: 
    # 
    api_response = api_instance.createReportFromTMRAndAssignItToLoggedInCustomer(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->createReportFromTMRAndAssignItToLoggedInCustomer: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


createResourcesUsageAnalysisFromTemplate


/resourcesusageanalytics/data/createResourcesUsageAnalysisFromTemplate

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/createResourcesUsageAnalysisFromTemplate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String analysisName = analysisName_example; // String | 
        String costPartitionIdLink = costPartitionIdLink_example; // String | 
        String selectedAnalysisTemplate = selectedAnalysisTemplate_example; // String | 
        try {
            'String' result = apiInstance.createResourcesUsageAnalysisFromTemplate(analysisName, costPartitionIdLink, selectedAnalysisTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createResourcesUsageAnalysisFromTemplate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String analysisName = analysisName_example; // String | 
        String costPartitionIdLink = costPartitionIdLink_example; // String | 
        String selectedAnalysisTemplate = selectedAnalysisTemplate_example; // String | 
        try {
            'String' result = apiInstance.createResourcesUsageAnalysisFromTemplate(analysisName, costPartitionIdLink, selectedAnalysisTemplate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createResourcesUsageAnalysisFromTemplate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *analysisName = analysisName_example; //  (optional)
String *costPartitionIdLink = costPartitionIdLink_example; //  (optional)
String *selectedAnalysisTemplate = selectedAnalysisTemplate_example; //  (optional)

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

// 
[apiInstance createResourcesUsageAnalysisFromTemplateWith:analysisName
    costPartitionIdLink:costPartitionIdLink
    selectedAnalysisTemplate:selectedAnalysisTemplate
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'analysisName': analysisName_example, // {String} 
  'costPartitionIdLink': costPartitionIdLink_example, // {String} 
  'selectedAnalysisTemplate': selectedAnalysisTemplate_example // {String} 
};

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

namespace Example
{
    public class createResourcesUsageAnalysisFromTemplateExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var analysisName = analysisName_example;  // String |  (optional) 
            var costPartitionIdLink = costPartitionIdLink_example;  // String |  (optional) 
            var selectedAnalysisTemplate = selectedAnalysisTemplate_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.createResourcesUsageAnalysisFromTemplate(analysisName, costPartitionIdLink, selectedAnalysisTemplate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createResourcesUsageAnalysisFromTemplate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$analysisName = analysisName_example; // String | 
$costPartitionIdLink = costPartitionIdLink_example; // String | 
$selectedAnalysisTemplate = selectedAnalysisTemplate_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $analysisName = analysisName_example; # String | 
my $costPartitionIdLink = costPartitionIdLink_example; # String | 
my $selectedAnalysisTemplate = selectedAnalysisTemplate_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
analysisName = analysisName_example # String |  (optional)
costPartitionIdLink = costPartitionIdLink_example # String |  (optional)
selectedAnalysisTemplate = selectedAnalysisTemplate_example # String |  (optional)

try: 
    # 
    api_response = api_instance.createResourcesUsageAnalysisFromTemplate(analysisName=analysisName, costPartitionIdLink=costPartitionIdLink, selectedAnalysisTemplate=selectedAnalysisTemplate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->createResourcesUsageAnalysisFromTemplate: %s\n" % e)

Parameters

Form parameters
Name Description
analysisName
costPartitionIdLink
selectedAnalysisTemplate

Responses

Status: 200 - successful operation


createUser


/accountRequestManagement/createTeevityUser

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/accountRequestManagement/createTeevityUser"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String emailAccountRequest = emailAccountRequest_example; // String | 
        String company = company_example; // String | 
        String password = password_example; // String | 
        Boolean isAdmin = true; // Boolean | 
        try {
            'String' result = apiInstance.createUser(emailAccountRequest, company, password, isAdmin);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String emailAccountRequest = emailAccountRequest_example; // String | 
        String company = company_example; // String | 
        String password = password_example; // String | 
        Boolean isAdmin = true; // Boolean | 
        try {
            'String' result = apiInstance.createUser(emailAccountRequest, company, password, isAdmin);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *emailAccountRequest = emailAccountRequest_example; //  (optional)
String *company = company_example; //  (optional)
String *password = password_example; //  (optional)
Boolean *isAdmin = true; //  (optional)

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

// 
[apiInstance createUserWith:emailAccountRequest
    company:company
    password:password
    isAdmin:isAdmin
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'emailAccountRequest': emailAccountRequest_example, // {String} 
  'company': company_example, // {String} 
  'password': password_example, // {String} 
  'isAdmin': true // {Boolean} 
};

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

namespace Example
{
    public class createUserExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var emailAccountRequest = emailAccountRequest_example;  // String |  (optional) 
            var company = company_example;  // String |  (optional) 
            var password = password_example;  // String |  (optional) 
            var isAdmin = true;  // Boolean |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.createUser(emailAccountRequest, company, password, isAdmin);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$emailAccountRequest = emailAccountRequest_example; // String | 
$company = company_example; // String | 
$password = password_example; // String | 
$isAdmin = true; // Boolean | 

try {
    $result = $api_instance->createUser($emailAccountRequest, $company, $password, $isAdmin);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->createUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PublicApi;

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $emailAccountRequest = emailAccountRequest_example; # String | 
my $company = company_example; # String | 
my $password = password_example; # String | 
my $isAdmin = true; # Boolean | 

eval { 
    my $result = $api_instance->createUser(emailAccountRequest => $emailAccountRequest, company => $company, password => $password, isAdmin => $isAdmin);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->createUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
emailAccountRequest = emailAccountRequest_example # String |  (optional)
company = company_example # String |  (optional)
password = password_example # String |  (optional)
isAdmin = true # Boolean |  (optional)

try: 
    # 
    api_response = api_instance.createUser(emailAccountRequest=emailAccountRequest, company=company, password=password, isAdmin=isAdmin)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->createUser: %s\n" % e)

Parameters

Form parameters
Name Description
emailAccountRequest
company
password
isAdmin

Responses

Status: 200 - successful operation


deleteDashboard


/displayContext/contextUUID/{displayContextUUID}

Usage and SDK Samples

curl -X delete -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/displayContext/contextUUID/{displayContextUUID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            apiInstance.deleteDashboard(displayContextUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteDashboard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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

String *displayContextUUID = displayContextUUID_example; // 

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

// 
[apiInstance deleteDashboardWith:displayContextUUID
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var displayContextUUID = displayContextUUID_example; // {String} 


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

namespace Example
{
    public class deleteDashboardExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var displayContextUUID = displayContextUUID_example;  // String | 

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$displayContextUUID = displayContextUUID_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $displayContextUUID = displayContextUUID_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
displayContextUUID = displayContextUUID_example # String | 

try: 
    # 
    api_instance.deleteDashboard(displayContextUUID)
except ApiException as e:
    print("Exception when calling PublicApi->deleteDashboard: %s\n" % e)

Parameters

Path parameters
Name Description
displayContextUUID*

Responses

Status: 0 - successful operation


deleteSamlConfig


/saml/config

Usage and SDK Samples

curl -X delete -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/saml/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            apiInstance.deleteSamlConfig();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteSamlConfig");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance deleteSamlConfigWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class deleteSamlConfigExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

try: 
    # 
    api_instance.deleteSamlConfig()
except ApiException as e:
    print("Exception when calling PublicApi->deleteSamlConfig: %s\n" % e)

Parameters

Responses

Status: 0 - successful operation


deleteUser


/customers/subAccount/delete

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/subAccount/delete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String subAccountId = subAccountId_example; // String | 
        try {
            apiInstance.deleteUser(subAccountId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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

String *subAccountId = subAccountId_example; //  (optional)

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

// 
[apiInstance deleteUserWith:subAccountId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'subAccountId': subAccountId_example // {String} 
};

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

namespace Example
{
    public class deleteUserExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var subAccountId = subAccountId_example;  // String |  (optional) 

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$subAccountId = subAccountId_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $subAccountId = subAccountId_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
subAccountId = subAccountId_example # String |  (optional)

try: 
    # 
    api_instance.deleteUser(subAccountId=subAccountId)
except ApiException as e:
    print("Exception when calling PublicApi->deleteUser: %s\n" % e)

Parameters

Form parameters
Name Description
subAccountId

Responses

Status: 0 - successful operation


deleteUserDefinedVariable


/userDefinedVariables/companyWide/property/{propertyName}

Usage and SDK Samples

curl -X delete -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/userDefinedVariables/companyWide/property/{propertyName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String propertyName = propertyName_example; // String | 
        try {
            apiInstance.deleteUserDefinedVariable(propertyName);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteUserDefinedVariable");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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

String *propertyName = propertyName_example; //  (optional)

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

// 
[apiInstance deleteUserDefinedVariableWith:propertyName
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'propertyName': propertyName_example // {String} 
};

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

namespace Example
{
    public class deleteUserDefinedVariableExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var propertyName = propertyName_example;  // String |  (optional) 

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$propertyName = propertyName_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $propertyName = propertyName_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
propertyName = propertyName_example # String |  (optional)

try: 
    # 
    api_instance.deleteUserDefinedVariable(propertyName=propertyName)
except ApiException as e:
    print("Exception when calling PublicApi->deleteUserDefinedVariable: %s\n" % e)

Parameters

Form parameters
Name Description
propertyName

Responses

Status: 0 - successful operation


deployDetailedCostAnalyticsAllForLoggedInCustomer


/externalFeatures/detailedCostAnalytics/deployment/deploy/component/all

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/externalFeatures/detailedCostAnalytics/deployment/deploy/component/all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsAllForLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deployDetailedCostAnalyticsAllForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance deployDetailedCostAnalyticsAllForLoggedInCustomerWithCompletionHandler: 
              ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class deployDetailedCostAnalyticsAllForLoggedInCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer


/externalFeatures/detailedCostAnalytics/deployment/deploy/component/backend/current

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/externalFeatures/detailedCostAnalytics/deployment/deploy/component/backend/current?forceBackendToRunAsFirstRun=&shouldRunInDebugMode=&shouldRunInPartialMode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        DetailedCostAnalyticsDeploymentOptionnalParameters body = ; // DetailedCostAnalyticsDeploymentOptionnalParameters | 
        String forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example; // String | 
        String shouldRunInDebugMode = shouldRunInDebugMode_example; // String | 
        String shouldRunInPartialMode = shouldRunInPartialMode_example; // String | 
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body, forceBackendToRunAsFirstRun, shouldRunInDebugMode, shouldRunInPartialMode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DetailedCostAnalyticsDeploymentOptionnalParameters body = ; // DetailedCostAnalyticsDeploymentOptionnalParameters | 
        String forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example; // String | 
        String shouldRunInDebugMode = shouldRunInDebugMode_example; // String | 
        String shouldRunInPartialMode = shouldRunInPartialMode_example; // String | 
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body, forceBackendToRunAsFirstRun, shouldRunInDebugMode, shouldRunInPartialMode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

DetailedCostAnalyticsDeploymentOptionnalParameters *body = ; //  (optional)
String *forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example; //  (optional)
String *shouldRunInDebugMode = shouldRunInDebugMode_example; //  (optional)
String *shouldRunInPartialMode = shouldRunInPartialMode_example; //  (optional)

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

// 
[apiInstance deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomerWith:body
    forceBackendToRunAsFirstRun:forceBackendToRunAsFirstRun
    shouldRunInDebugMode:shouldRunInDebugMode
    shouldRunInPartialMode:shouldRunInPartialMode
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'body': , // {DetailedCostAnalyticsDeploymentOptionnalParameters} 
  'forceBackendToRunAsFirstRun': forceBackendToRunAsFirstRun_example, // {String} 
  'shouldRunInDebugMode': shouldRunInDebugMode_example, // {String} 
  'shouldRunInPartialMode': shouldRunInPartialMode_example // {String} 
};

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

namespace Example
{
    public class deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var body = new DetailedCostAnalyticsDeploymentOptionnalParameters(); // DetailedCostAnalyticsDeploymentOptionnalParameters |  (optional) 
            var forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example;  // String |  (optional) 
            var shouldRunInDebugMode = shouldRunInDebugMode_example;  // String |  (optional) 
            var shouldRunInPartialMode = shouldRunInPartialMode_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body, forceBackendToRunAsFirstRun, shouldRunInDebugMode, shouldRunInPartialMode);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$body = ; // DetailedCostAnalyticsDeploymentOptionnalParameters | 
$forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example; // String | 
$shouldRunInDebugMode = shouldRunInDebugMode_example; // String | 
$shouldRunInPartialMode = shouldRunInPartialMode_example; // String | 

try {
    $result = $api_instance->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer($body, $forceBackendToRunAsFirstRun, $shouldRunInDebugMode, $shouldRunInPartialMode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PublicApi;

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $body = WWW::SwaggerClient::Object::DetailedCostAnalyticsDeploymentOptionnalParameters->new(); # DetailedCostAnalyticsDeploymentOptionnalParameters | 
my $forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example; # String | 
my $shouldRunInDebugMode = shouldRunInDebugMode_example; # String | 
my $shouldRunInPartialMode = shouldRunInPartialMode_example; # String | 

eval { 
    my $result = $api_instance->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body => $body, forceBackendToRunAsFirstRun => $forceBackendToRunAsFirstRun, shouldRunInDebugMode => $shouldRunInDebugMode, shouldRunInPartialMode => $shouldRunInPartialMode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
body =  # DetailedCostAnalyticsDeploymentOptionnalParameters |  (optional)
forceBackendToRunAsFirstRun = forceBackendToRunAsFirstRun_example # String |  (optional)
shouldRunInDebugMode = shouldRunInDebugMode_example # String |  (optional)
shouldRunInPartialMode = shouldRunInPartialMode_example # String |  (optional)

try: 
    # 
    api_response = api_instance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body=body, forceBackendToRunAsFirstRun=forceBackendToRunAsFirstRun, shouldRunInDebugMode=shouldRunInDebugMode, shouldRunInPartialMode=shouldRunInPartialMode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
forceBackendToRunAsFirstRun
shouldRunInDebugMode
shouldRunInPartialMode

Responses

Status: 200 - successful operation


deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer


/externalFeatures/detailedCostAnalytics/deployment/deploy/component/dynamicui/resident

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/externalFeatures/detailedCostAnalytics/deployment/deploy/component/dynamicui/resident?shouldRunInDebugMode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String shouldRunInDebugMode = shouldRunInDebugMode_example; // String | 
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer(shouldRunInDebugMode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String shouldRunInDebugMode = shouldRunInDebugMode_example; // String | 
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer(shouldRunInDebugMode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *shouldRunInDebugMode = shouldRunInDebugMode_example; //  (optional)

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

// 
[apiInstance deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomerWith:shouldRunInDebugMode
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'shouldRunInDebugMode': shouldRunInDebugMode_example // {String} 
};

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

namespace Example
{
    public class deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var shouldRunInDebugMode = shouldRunInDebugMode_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer(shouldRunInDebugMode);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$shouldRunInDebugMode = shouldRunInDebugMode_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $shouldRunInDebugMode = shouldRunInDebugMode_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
shouldRunInDebugMode = shouldRunInDebugMode_example # String |  (optional)

try: 
    # 
    api_response = api_instance.deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer(shouldRunInDebugMode=shouldRunInDebugMode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->deployDetailedCostAnalyticsDynamicUIResidentForLoggedInCustomer: %s\n" % e)

Parameters

Query parameters
Name Description
shouldRunInDebugMode

Responses

Status: 200 - successful operation


getAdditionalDiscoveryInfoAsynchronousResult


/cloudplatforms/additionalDiscoveryInfo/forFetchingUUID/{fetchingUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/additionalDiscoveryInfo/forFetchingUUID/{fetchingUUID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String fetchingUUID = fetchingUUID_example; // String | 
        try {
            map['String', Object] result = apiInstance.getAdditionalDiscoveryInfoAsynchronousResult(fetchingUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAdditionalDiscoveryInfoAsynchronousResult");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String fetchingUUID = fetchingUUID_example; // String | 
        try {
            map['String', Object] result = apiInstance.getAdditionalDiscoveryInfoAsynchronousResult(fetchingUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAdditionalDiscoveryInfoAsynchronousResult");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *fetchingUUID = fetchingUUID_example; // 

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

// 
[apiInstance getAdditionalDiscoveryInfoAsynchronousResultWith:fetchingUUID
              completionHandler: ^(map['String', Object] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var fetchingUUID = fetchingUUID_example; // {String} 


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

namespace Example
{
    public class getAdditionalDiscoveryInfoAsynchronousResultExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var fetchingUUID = fetchingUUID_example;  // String | 

            try
            {
                // 
                map['String', Object] result = apiInstance.getAdditionalDiscoveryInfoAsynchronousResult(fetchingUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getAdditionalDiscoveryInfoAsynchronousResult: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$fetchingUUID = fetchingUUID_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $fetchingUUID = fetchingUUID_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
fetchingUUID = fetchingUUID_example # String | 

try: 
    # 
    api_response = api_instance.getAdditionalDiscoveryInfoAsynchronousResult(fetchingUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getAdditionalDiscoveryInfoAsynchronousResult: %s\n" % e)

Parameters

Path parameters
Name Description
fetchingUUID*

Responses

Status: 200 - successful operation


getAllCustomScoringLogicTemplateForCustomer


/resourcesusageanalytics/data/getAllCustomScoringLogicTemplateForCustomer

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/getAllCustomScoringLogicTemplateForCustomer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            map['String', 'String'] result = apiInstance.getAllCustomScoringLogicTemplateForCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAllCustomScoringLogicTemplateForCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance getAllCustomScoringLogicTemplateForCustomerWithCompletionHandler: 
              ^(map['String', 'String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class getAllCustomScoringLogicTemplateForCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

            try
            {
                // 
                map['String', 'String'] result = apiInstance.getAllCustomScoringLogicTemplateForCustomer();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getAllCustomScoringLogicTemplateForCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


getAllDashboardsPerUser


/displayContext/forCompany/perUser

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/displayContext/forCompany/perUser"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            map['String', array[CustomerDashboardDisplayPreferences]] result = apiInstance.getAllDashboardsPerUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAllDashboardsPerUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance getAllDashboardsPerUserWithCompletionHandler: 
              ^(map['String', array[CustomerDashboardDisplayPreferences]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class getAllDashboardsPerUserExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

            try
            {
                // 
                map['String', array[CustomerDashboardDisplayPreferences]] result = apiInstance.getAllDashboardsPerUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getAllDashboardsPerUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


getAllUsersForCompany


/customers/getAllUsersForCompany

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/getAllUsersForCompany?includeTopLevelAdmin="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String includeTopLevelAdmin = includeTopLevelAdmin_example; // String | 
        try {
            array[Customer] result = apiInstance.getAllUsersForCompany(includeTopLevelAdmin);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAllUsersForCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String includeTopLevelAdmin = includeTopLevelAdmin_example; // String | 
        try {
            array[Customer] result = apiInstance.getAllUsersForCompany(includeTopLevelAdmin);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAllUsersForCompany");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *includeTopLevelAdmin = includeTopLevelAdmin_example; //  (optional)

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

// 
[apiInstance getAllUsersForCompanyWith:includeTopLevelAdmin
              completionHandler: ^(array[Customer] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'includeTopLevelAdmin': includeTopLevelAdmin_example // {String} 
};

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

namespace Example
{
    public class getAllUsersForCompanyExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var includeTopLevelAdmin = includeTopLevelAdmin_example;  // String |  (optional) 

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$includeTopLevelAdmin = includeTopLevelAdmin_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $includeTopLevelAdmin = includeTopLevelAdmin_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
includeTopLevelAdmin = includeTopLevelAdmin_example # String |  (optional)

try: 
    # 
    api_response = api_instance.getAllUsersForCompany(includeTopLevelAdmin=includeTopLevelAdmin)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getAllUsersForCompany: %s\n" % e)

Parameters

Query parameters
Name Description
includeTopLevelAdmin

Responses

Status: 200 - successful operation


getAnalysisConfiguration


/resourcesusageanalytics/configuration/analysis/{analysisUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/analysis/{analysisUUID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String analysisUUID = analysisUUID_example; // String | 
        try {
            ResourceUsageAnalysisImportExportDTO result = apiInstance.getAnalysisConfiguration(analysisUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAnalysisConfiguration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String analysisUUID = analysisUUID_example; // String | 
        try {
            ResourceUsageAnalysisImportExportDTO result = apiInstance.getAnalysisConfiguration(analysisUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAnalysisConfiguration");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *analysisUUID = analysisUUID_example; // 

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

// 
[apiInstance getAnalysisConfigurationWith:analysisUUID
              completionHandler: ^(ResourceUsageAnalysisImportExportDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var analysisUUID = analysisUUID_example; // {String} 


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

namespace Example
{
    public class getAnalysisConfigurationExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var analysisUUID = analysisUUID_example;  // String | 

            try
            {
                // 
                ResourceUsageAnalysisImportExportDTO result = apiInstance.getAnalysisConfiguration(analysisUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getAnalysisConfiguration: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$analysisUUID = analysisUUID_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $analysisUUID = analysisUUID_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
analysisUUID = analysisUUID_example # String | 

try: 
    # 
    api_response = api_instance.getAnalysisConfiguration(analysisUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getAnalysisConfiguration: %s\n" % e)

Parameters

Path parameters
Name Description
analysisUUID*

Responses

Status: 200 - successful operation


getAnalysisConfigurationList


/resourcesusageanalytics/configuration/analysis/list

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/analysis/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            array[ResourceUsageAnalysisListItemImportExportDTO] result = apiInstance.getAnalysisConfigurationList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAnalysisConfigurationList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance getAnalysisConfigurationListWithCompletionHandler: 
              ^(array[ResourceUsageAnalysisListItemImportExportDTO] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class getAnalysisConfigurationListExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


getAvailableBillingTagsForCompany


/costPartitioning/getAvailableBillingTags

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/getAvailableBillingTags?includeVirtualTags="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        Boolean includeVirtualTags = true; // Boolean | 
        try {
            BillingTagsByCloudServiceIdWithPendingTagFetchingRequestsAndRootAccountsNames result = apiInstance.getAvailableBillingTagsForCompany(includeVirtualTags);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAvailableBillingTagsForCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        Boolean includeVirtualTags = true; // Boolean | 
        try {
            BillingTagsByCloudServiceIdWithPendingTagFetchingRequestsAndRootAccountsNames result = apiInstance.getAvailableBillingTagsForCompany(includeVirtualTags);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAvailableBillingTagsForCompany");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

Boolean *includeVirtualTags = true; //  (optional)

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

// 
[apiInstance getAvailableBillingTagsForCompanyWith:includeVirtualTags
              completionHandler: ^(BillingTagsByCloudServiceIdWithPendingTagFetchingRequestsAndRootAccountsNames output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'includeVirtualTags': true // {Boolean} 
};

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

namespace Example
{
    public class getAvailableBillingTagsForCompanyExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var includeVirtualTags = true;  // Boolean |  (optional) 

            try
            {
                // 
                BillingTagsByCloudServiceIdWithPendingTagFetchingRequestsAndRootAccountsNames result = apiInstance.getAvailableBillingTagsForCompany(includeVirtualTags);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getAvailableBillingTagsForCompany: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$includeVirtualTags = true; // Boolean | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $includeVirtualTags = true; # Boolean | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
includeVirtualTags = true # Boolean |  (optional)

try: 
    # 
    api_response = api_instance.getAvailableBillingTagsForCompany(includeVirtualTags=includeVirtualTags)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getAvailableBillingTagsForCompany: %s\n" % e)

Parameters

Query parameters
Name Description
includeVirtualTags

Responses

Status: 200 - successful operation


getBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany


/billingLineValuesTransformationsAndVirtualTagsManagement

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/billingLineValuesTransformationsAndVirtualTagsManagement"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            BillingLinesTransformationsAndVirtualTagConfigurations result = apiInstance.getBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance getBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompanyWithCompletionHandler: 
              ^(BillingLinesTransformationsAndVirtualTagConfigurations output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class getBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompanyExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


getBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration


/businessDrivenCostAnalytics/costByBusinessMetrics/businessMetricsDefinitions

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/businessDrivenCostAnalytics/costByBusinessMetrics/businessMetricsDefinitions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            CostByBusinessMetricsDTO result = apiInstance.getBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

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

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


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

// 
[apiInstance getBusinessDrivenCostAnalyticsCostByBusinessMetricsConfigurationWithCompletionHandler: 
              ^(CostByBusinessMetricsDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

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

namespace Example
{
    public class getBusinessDrivenCostAnalyticsCostByBusinessMetricsConfigurationExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

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

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

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

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

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

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

Parameters

Responses

Status: 200 - successful operation


getChartshotJsonData


/chartshot/data/savedRequestId/{savedRequestId}/dataPart/{dataPart}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/chartshot/data/savedRequestId/{savedRequestId}/dataPart/{dataPart}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String savedRequestId = savedRequestId_example; // String | 
        String dataPart = dataPart_example; // String | 
        try {
            Object result = apiInstance.getChartshotJsonData(savedRequestId, dataPart);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getChartshotJsonData");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String savedRequestId = savedRequestId_example; // String | 
        String dataPart = dataPart_example; // String | 
        try {
            Object result = apiInstance.getChartshotJsonData(savedRequestId, dataPart);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getChartshotJsonData");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *savedRequestId = savedRequestId_example; // 
String *dataPart = dataPart_example; // 

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

// 
[apiInstance getChartshotJsonDataWith:savedRequestId
    dataPart:dataPart
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var savedRequestId = savedRequestId_example; // {String} 

var dataPart = dataPart_example; // {String} 


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

namespace Example
{
    public class getChartshotJsonDataExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var savedRequestId = savedRequestId_example;  // String | 
            var dataPart = dataPart_example;  // String | 

            try
            {
                // 
                Object result = apiInstance.getChartshotJsonData(savedRequestId, dataPart);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getChartshotJsonData: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$savedRequestId = savedRequestId_example; // String | 
$dataPart = dataPart_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $savedRequestId = savedRequestId_example; # String | 
my $dataPart = dataPart_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
savedRequestId = savedRequestId_example # String | 
dataPart = dataPart_example # String | 

try: 
    # 
    api_response = api_instance.getChartshotJsonData(savedRequestId, dataPart)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getChartshotJsonData: %s\n" % e)

Parameters

Path parameters
Name Description
savedRequestId*
dataPart*

Responses

Status: 200 - successful operation


getChartshotJsonDataWithoutDataLevel


/chartshot/data/savedRequestId/{savedRequestId}/dataPart/{dataPart}/data

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/chartshot/data/savedRequestId/{savedRequestId}/dataPart/{dataPart}/data"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String savedRequestId = savedRequestId_example; // String | 
        String dataPart = dataPart_example; // String | 
        try {
            Object result = apiInstance.getChartshotJsonDataWithoutDataLevel(savedRequestId, dataPart);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getChartshotJsonDataWithoutDataLevel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String savedRequestId = savedRequestId_example; // String | 
        String dataPart = dataPart_example; // String | 
        try {
            Object result = apiInstance.getChartshotJsonDataWithoutDataLevel(savedRequestId, dataPart);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getChartshotJsonDataWithoutDataLevel");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *savedRequestId = savedRequestId_example; // 
String *dataPart = dataPart_example; // 

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

// 
[apiInstance getChartshotJsonDataWithoutDataLevelWith:savedRequestId
    dataPart:dataPart
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var savedRequestId = savedRequestId_example; // {String} 

var dataPart = dataPart_example; // {String} 


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

namespace Example
{
    public class getChartshotJsonDataWithoutDataLevelExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var savedRequestId = savedRequestId_example;  // String | 
            var dataPart = dataPart_example;  // String | 

            try
            {
                // 
                Object result = apiInstance.getChartshotJsonDataWithoutDataLevel(savedRequestId, dataPart);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getChartshotJsonDataWithoutDataLevel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$savedRequestId = savedRequestId_example; // String | 
$dataPart = dataPart_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $savedRequestId = savedRequestId_example; # String | 
my $dataPart = dataPart_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
savedRequestId = savedRequestId_example # String | 
dataPart = dataPart_example # String | 

try: 
    # 
    api_response = api_instance.getChartshotJsonDataWithoutDataLevel(savedRequestId, dataPart)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getChartshotJsonDataWithoutDataLevel: %s\n" % e)

Parameters

Path parameters
Name Description
savedRequestId*
dataPart*

Responses

Status: 200 - successful operation


getCloudPlatformListVisible


/cloudplatforms/visible/keys/forContext/{displayContextUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/visible/keys/forContext/{displayContextUUID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            array['String'] result = apiInstance.getCloudPlatformListVisible(displayContextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloudPlatformListVisible");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            array['String'] result = apiInstance.getCloudPlatformListVisible(displayContextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloudPlatformListVisible");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *displayContextUUID = displayContextUUID_example; // 

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

// 
[apiInstance getCloudPlatformListVisibleWith:displayContextUUID
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var displayContextUUID = displayContextUUID_example; // {String} 


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

namespace Example
{
    public class getCloudPlatformListVisibleExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var displayContextUUID = displayContextUUID_example;  // String | 

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

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$displayContextUUID = displayContextUUID_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $displayContextUUID = displayContextUUID_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
displayContextUUID = displayContextUUID_example # String | 

try: 
    # 
    api_response = api_instance.getCloudPlatformListVisible(displayContextUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCloudPlatformListVisible: %s\n" % e)

Parameters

Path parameters
Name Description
displayContextUUID*

Responses

Status: 200 - successful operation


getCostAllocationUnitIdsUserIsStakeholderOf


/costPartitioning/stakeholderness/users/costAllocationUnitIds

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/stakeholderness/users/costAllocationUnitIds?userEmail=&unversionnedCostPartitionId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        String userEmail = userEmail_example; // String | 
        String unversionnedCostPartitionId = unversionnedCostPartitionId_example; // String | 
        try {
            array['String'] result = apiInstance.getCostAllocationUnitIdsUserIsStakeholderOf(userEmail, unversionnedCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostAllocationUnitIdsUserIsStakeholderOf");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String userEmail = userEmail_example; // String | 
        String unversionnedCostPartitionId = unversionnedCostPartitionId_example; // String | 
        try {
            array['String'] result = apiInstance.getCostAllocationUnitIdsUserIsStakeholderOf(userEmail, unversionnedCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostAllocationUnitIdsUserIsStakeholderOf");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

String *userEmail = userEmail_example; //  (optional)
String *unversionnedCostPartitionId = unversionnedCostPartitionId_example; //  (optional)

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

// 
[apiInstance getCostAllocationUnitIdsUserIsStakeholderOfWith:userEmail
    unversionnedCostPartitionId:unversionnedCostPartitionId
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'userEmail': userEmail_example, // {String} 
  'unversionnedCostPartitionId': unversionnedCostPartitionId_example // {String} 
};

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

namespace Example
{
    public class getCostAllocationUnitIdsUserIsStakeholderOfExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var userEmail = userEmail_example;  // String |  (optional) 
            var unversionnedCostPartitionId = unversionnedCostPartitionId_example;  // String |  (optional) 

            try
            {
                // 
                array['String'] result = apiInstance.getCostAllocationUnitIdsUserIsStakeholderOf(userEmail, unversionnedCostPartitionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCostAllocationUnitIdsUserIsStakeholderOf: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$userEmail = userEmail_example; // String | 
$unversionnedCostPartitionId = unversionnedCostPartitionId_example; // String | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $userEmail = userEmail_example; # String | 
my $unversionnedCostPartitionId = unversionnedCostPartitionId_example; # String | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
userEmail = userEmail_example # String |  (optional)
unversionnedCostPartitionId = unversionnedCostPartitionId_example # String |  (optional)

try: 
    # 
    api_response = api_instance.getCostAllocationUnitIdsUserIsStakeholderOf(userEmail=userEmail, unversionnedCostPartitionId=unversionnedCostPartitionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCostAllocationUnitIdsUserIsStakeholderOf: %s\n" % e)

Parameters

Query parameters
Name Description
userEmail
unversionnedCostPartitionId

Responses

Status: 200 - successful operation


getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU


/customers/stakeholderManagement/stakeholdersForCostPartition

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderManagement/stakeholdersForCostPartition"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets body = ; // GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets | 
        try {
            map['String', array[Customer]] result = apiInstance.getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets body = ; // GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets | 
        try {
            map['String', array[Customer]] result = apiInstance.getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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

GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets *body = ; //  (optional)

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

// 
[apiInstance getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAUWith:body
              completionHandler: ^(map['String', array[Customer]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Teevity = require('teevity');
var defaultClient = Teevity.ApiClient.instance;

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

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

var api = new Teevity.PublicApi()

var opts = { 
  'body':  // {GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets} 
};

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

namespace Example
{
    public class getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAUExample
    {
        public void main()
        {
            
            // Configure API key authorization: internalApiKeyHeader
            Configuration.Default.ApiKey.Add("x-teevity-accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-teevity-accessKey", "Bearer");
            // Configure API key authorization: internalApiKeyQuery
            Configuration.Default.ApiKey.Add("accessKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("accessKey", "Bearer");

            var apiInstance = new PublicApi();
            var body = new GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets(); // GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets |  (optional) 

            try
            {
                // 
                map['String', array[Customer]] result = apiInstance.getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: internalApiKeyHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-teevity-accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-teevity-accessKey', 'Bearer');
// Configure API key authorization: internalApiKeyQuery
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('accessKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('accessKey', 'Bearer');

$api_instance = new Swagger\Client\Api\PublicApi();
$body = ; // GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets | 

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

# Configure API key authorization: internalApiKeyHeader
$WWW::SwaggerClient::Configuration::api_key->{'x-teevity-accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-teevity-accessKey'} = "Bearer";
# Configure API key authorization: internalApiKeyQuery
$WWW::SwaggerClient::Configuration::api_key->{'accessKey'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'accessKey'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PublicApi->new();
my $body = WWW::SwaggerClient::Object::GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets->new(); # GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets | 

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

# Configure API key authorization: internalApiKeyHeader
swagger_client.configuration.api_key['x-teevity-accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-teevity-accessKey'] = 'Bearer'
# Configure API key authorization: internalApiKeyQuery
swagger_client.configuration.api_key['accessKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['accessKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PublicApi()
body =  # GetCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAURequets |  (optional)

try: 
    # 
    api_response = api_instance.getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCostAllocationUnitsStakeholdersForCostPartitionAsUsersByCAU: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getCostPartitionUsedAsSourceOfMetadataInRIOptimization


/reservedInstancesOptimization/costPartitionUsedAsSourceOfMetadataInRIOptimization

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/reservedInstancesOptimization/costPartitionUsedAsSourceOfMetadataInRIOptimization"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PublicApi;

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

public class PublicApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: internalApiKeyHeader
        ApiKeyAuth internalApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("internalApiKeyHeader");
        internalApiKeyHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //internalApiKeyHeader.setApiKeyPrefix("Token");

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

        PublicApi apiInstance = new PublicApi();
        try {
            CostPartitionDefinitionsItem result = apiInstance.getCostPartitionUsedAsSourceOfMetadataInRIOptimization();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostPartitionUsedAsSourceOfMetadataInRIOptimization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

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

// Configure API key authorizati