Teevity

Default

getAllCorrelationEventFilterPreferences


/events/allCorrelationEventFilterPreferences

Usage and SDK Samples

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

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

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: 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");

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            map['String', GetFilteredCorrelationEventRequest] result = apiInstance.getAllCorrelationEventFilterPreferences();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getAllCorrelationEventFilterPreferences");
            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"];


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

[apiInstance getAllCorrelationEventFilterPreferencesWithCompletionHandler: 
              ^(map['String', GetFilteredCorrelationEventRequest] 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.DefaultApi()

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

namespace Example
{
    public class getAllCorrelationEventFilterPreferencesExample
    {
        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 DefaultApi();

            try
            {
                map['String', GetFilteredCorrelationEventRequest] result = apiInstance.getAllCorrelationEventFilterPreferences();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getAllCorrelationEventFilterPreferences: " + 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\DefaultApi();

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

# 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::DefaultApi->new();

eval { 
    my $result = $api_instance->getAllCorrelationEventFilterPreferences();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getAllCorrelationEventFilterPreferences: $@\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.DefaultApi()

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

Parameters

Responses

Status: 200 - successful operation


getCompanyCostPerimeterApplyUpdateForUsersTaskJob


/costPerimeter/companyCostPerimeterApplyUpdateForUsers/do

Usage and SDK Samples

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

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

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: 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");

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.getCompanyCostPerimeterApplyUpdateForUsersTaskJob();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCompanyCostPerimeterApplyUpdateForUsersTaskJob");
            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"];


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

[apiInstance getCompanyCostPerimeterApplyUpdateForUsersTaskJobWithCompletionHandler: 
              ^(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.DefaultApi()

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

namespace Example
{
    public class getCompanyCostPerimeterApplyUpdateForUsersTaskJobExample
    {
        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 DefaultApi();

            try
            {
                apiInstance.getCompanyCostPerimeterApplyUpdateForUsersTaskJob();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getCompanyCostPerimeterApplyUpdateForUsersTaskJob: " + 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\DefaultApi();

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

# 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::DefaultApi->new();

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

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

Parameters

Responses

Status: 0 - successful operation


getCostAllocationUnitsStakeholdedPerCostPartition


/costPartitioning/getCostAllocationUnitsStakeholdedPerCostPartition

Usage and SDK Samples

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

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

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: 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");

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String email = email_example; // String | 
        try {
            map['String', array[map['String', 'String']]] result = apiInstance.getCostAllocationUnitsStakeholdedPerCostPartition(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCostAllocationUnitsStakeholdedPerCostPartition");
            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 *email = email_example; //  (optional)

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

[apiInstance getCostAllocationUnitsStakeholdedPerCostPartitionWith:email
              completionHandler: ^(map['String', array[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.DefaultApi()

var opts = { 
  'email': email_example // {String} 
};

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

namespace Example
{
    public class getCostAllocationUnitsStakeholdedPerCostPartitionExample
    {
        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 DefaultApi();
            var email = email_example;  // String |  (optional) 

            try
            {
                map['String', array[map['String', 'String']]] result = apiInstance.getCostAllocationUnitsStakeholdedPerCostPartition(email);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getCostAllocationUnitsStakeholdedPerCostPartition: " + 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\DefaultApi();
$email = email_example; // String | 

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

# 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::DefaultApi->new();
my $email = email_example; # String | 

eval { 
    my $result = $api_instance->getCostAllocationUnitsStakeholdedPerCostPartition(email => $email);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getCostAllocationUnitsStakeholdedPerCostPartition: $@\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.DefaultApi()
email = email_example # String |  (optional)

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

Parameters

Query parameters
Name Description
email

Responses

Status: 200 - successful operation


getFilteredCorrelationEvent


/events/filteredCorrelationEvent

Usage and SDK Samples

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

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

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: 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");

        DefaultApi apiInstance = new DefaultApi();
        GetFilteredCorrelationEventRequest body = ; // GetFilteredCorrelationEventRequest | 
        try {
            array[CorrelationEvent] result = apiInstance.getFilteredCorrelationEvent(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getFilteredCorrelationEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        GetFilteredCorrelationEventRequest body = ; // GetFilteredCorrelationEventRequest | 
        try {
            array[CorrelationEvent] result = apiInstance.getFilteredCorrelationEvent(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getFilteredCorrelationEvent");
            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"];

GetFilteredCorrelationEventRequest *body = ; //  (optional)

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

[apiInstance getFilteredCorrelationEventWith:body
              completionHandler: ^(array[CorrelationEvent] 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.DefaultApi()

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

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

namespace Example
{
    public class getFilteredCorrelationEventExample
    {
        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 DefaultApi();
            var body = new GetFilteredCorrelationEventRequest(); // GetFilteredCorrelationEventRequest |  (optional) 

            try
            {
                array[CorrelationEvent] result = apiInstance.getFilteredCorrelationEvent(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getFilteredCorrelationEvent: " + 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\DefaultApi();
$body = ; // GetFilteredCorrelationEventRequest | 

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

# 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::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::GetFilteredCorrelationEventRequest->new(); # GetFilteredCorrelationEventRequest | 

eval { 
    my $result = $api_instance->getFilteredCorrelationEvent(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getFilteredCorrelationEvent: $@\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.DefaultApi()
body =  # GetFilteredCorrelationEventRequest |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getStakeholdernessUpdateForCostPerimeterTaskJob


/customers/stakeholderManagement/computeCostPerimeterToUpdateStakeholderness/do

Usage and SDK Samples

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

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

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: 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");

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.getStakeholdernessUpdateForCostPerimeterTaskJob();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getStakeholdernessUpdateForCostPerimeterTaskJob");
            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"];


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

[apiInstance getStakeholdernessUpdateForCostPerimeterTaskJobWithCompletionHandler: 
              ^(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.DefaultApi()

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

namespace Example
{
    public class getStakeholdernessUpdateForCostPerimeterTaskJobExample
    {
        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 DefaultApi();

            try
            {
                apiInstance.getStakeholdernessUpdateForCostPerimeterTaskJob();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getStakeholdernessUpdateForCostPerimeterTaskJob: " + 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\DefaultApi();

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

# 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::DefaultApi->new();

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

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

Parameters

Responses

Status: 0 - successful operation


updateCorrelationEventFilterPreferences


/events/correlationEventFilterPreferences

Usage and SDK Samples

curl -X put -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/events/correlationEventFilterPreferences?displayContextUUID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: 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");

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String displayContextUUID = displayContextUUID_example; // String | 
        GetFilteredCorrelationEventRequest body = ; // GetFilteredCorrelationEventRequest | 
        try {
            apiInstance.updateCorrelationEventFilterPreferences(displayContextUUID, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCorrelationEventFilterPreferences");
            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; //  (optional)
GetFilteredCorrelationEventRequest *body = ; //  (optional)

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

[apiInstance updateCorrelationEventFilterPreferencesWith:displayContextUUID
    body:body
              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.DefaultApi()

var opts = { 
  'displayContextUUID': displayContextUUID_example, // {String} 
  'body':  // {GetFilteredCorrelationEventRequest} 
};

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

namespace Example
{
    public class updateCorrelationEventFilterPreferencesExample
    {
        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 DefaultApi();
            var displayContextUUID = displayContextUUID_example;  // String |  (optional) 
            var body = new GetFilteredCorrelationEventRequest(); // GetFilteredCorrelationEventRequest |  (optional) 

            try
            {
                apiInstance.updateCorrelationEventFilterPreferences(displayContextUUID, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateCorrelationEventFilterPreferences: " + 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\DefaultApi();
$displayContextUUID = displayContextUUID_example; // String | 
$body = ; // GetFilteredCorrelationEventRequest | 

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

# 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::DefaultApi->new();
my $displayContextUUID = displayContextUUID_example; # String | 
my $body = WWW::SwaggerClient::Object::GetFilteredCorrelationEventRequest->new(); # GetFilteredCorrelationEventRequest | 

eval { 
    $api_instance->updateCorrelationEventFilterPreferences(displayContextUUID => $displayContextUUID, body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateCorrelationEventFilterPreferences: $@\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.DefaultApi()
displayContextUUID = displayContextUUID_example # String |  (optional)
body =  # GetFilteredCorrelationEventRequest |  (optional)

try: 
    api_instance.updateCorrelationEventFilterPreferences(displayContextUUID=displayContextUUID, body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->updateCorrelationEventFilterPreferences: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
displayContextUUID

Responses

Status: 0 - successful operation


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


checkCostPerimeterFunctionResult


/costPerimeter/checkCostPerimeterFunctionResult

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/checkCostPerimeterFunctionResult"
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 body = body_example; // String | 
        try {
            apiInstance.checkCostPerimeterFunctionResult(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#checkCostPerimeterFunctionResult");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String body = body_example; // String | 
        try {
            apiInstance.checkCostPerimeterFunctionResult(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#checkCostPerimeterFunctionResult");
            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 *body = body_example; //  (optional)

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

// 
[apiInstance checkCostPerimeterFunctionResultWith:body
              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 = { 
  'body': body_example // {String} 
};

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

namespace Example
{
    public class checkCostPerimeterFunctionResultExample
    {
        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 = body_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.checkCostPerimeterFunctionResult(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.checkCostPerimeterFunctionResult: " + 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 = body_example; // String | 

try {
    $api_instance->checkCostPerimeterFunctionResult($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->checkCostPerimeterFunctionResult: ', $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::String->new(); # String | 

eval { 
    $api_instance->checkCostPerimeterFunctionResult(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->checkCostPerimeterFunctionResult: $@\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 = body_example # String |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - 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


createRecurringDashboardsCloningFromTemplateUserAndStartCloning


/dashboardsCloning/clone

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/clone"
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();
        DashboardsCloningInfoDTO body = ; // DashboardsCloningInfoDTO | 
        try {
            'String' result = apiInstance.createRecurringDashboardsCloningFromTemplateUserAndStartCloning(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createRecurringDashboardsCloningFromTemplateUserAndStartCloning");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DashboardsCloningInfoDTO body = ; // DashboardsCloningInfoDTO | 
        try {
            'String' result = apiInstance.createRecurringDashboardsCloningFromTemplateUserAndStartCloning(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createRecurringDashboardsCloningFromTemplateUserAndStartCloning");
            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"];

DashboardsCloningInfoDTO *body = ; //  (optional)

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

// 
[apiInstance createRecurringDashboardsCloningFromTemplateUserAndStartCloningWith: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':  // {DashboardsCloningInfoDTO} 
};

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

namespace Example
{
    public class createRecurringDashboardsCloningFromTemplateUserAndStartCloningExample
    {
        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 DashboardsCloningInfoDTO(); // DashboardsCloningInfoDTO |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.createRecurringDashboardsCloningFromTemplateUserAndStartCloning(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createRecurringDashboardsCloningFromTemplateUserAndStartCloning: " + 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 = ; // DashboardsCloningInfoDTO | 

try {
    $result = $api_instance->createRecurringDashboardsCloningFromTemplateUserAndStartCloning($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->createRecurringDashboardsCloningFromTemplateUserAndStartCloning: ', $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::DashboardsCloningInfoDTO->new(); # DashboardsCloningInfoDTO | 

eval { 
    my $result = $api_instance->createRecurringDashboardsCloningFromTemplateUserAndStartCloning(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->createRecurringDashboardsCloningFromTemplateUserAndStartCloning: $@\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 =  # DashboardsCloningInfoDTO |  (optional)

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

Parameters

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?createdReportUuidNeededForUpdate="
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 | 
        String createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example; // String | 
        try {
            UserReportBase result = apiInstance.createReportFromTMRAndAssignItToLoggedInCustomer(body, createdReportUuidNeededForUpdate);
            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 | 
        String createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example; // String | 
        try {
            UserReportBase result = apiInstance.createReportFromTMRAndAssignItToLoggedInCustomer(body, createdReportUuidNeededForUpdate);
            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)
String *createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example; //  (optional)

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

// 
[apiInstance createReportFromTMRAndAssignItToLoggedInCustomerWith:body
    createdReportUuidNeededForUpdate:createdReportUuidNeededForUpdate
              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} 
  'createdReportUuidNeededForUpdate': createdReportUuidNeededForUpdate_example // {String} 
};

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) 
            var createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example;  // String |  (optional) 

            try
            {
                // 
                UserReportBase result = apiInstance.createReportFromTMRAndAssignItToLoggedInCustomer(body, createdReportUuidNeededForUpdate);
                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 | 
$createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example; // String | 

try {
    $result = $api_instance->createReportFromTMRAndAssignItToLoggedInCustomer($body, $createdReportUuidNeededForUpdate);
    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 | 
my $createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example; # String | 

eval { 
    my $result = $api_instance->createReportFromTMRAndAssignItToLoggedInCustomer(body => $body, createdReportUuidNeededForUpdate => $createdReportUuidNeededForUpdate);
    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)
createdReportUuidNeededForUpdate = createdReportUuidNeededForUpdate_example # String |  (optional)

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

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
createdReportUuidNeededForUpdate

Responses

Status: 200 - successful operation


createResourcesUsageAnalysisFromScoringLogicTemplate


/resourcesusageanalytics/data/createResourcesUsageAnalysisFromScoringLogicTemplate

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/createResourcesUsageAnalysisFromScoringLogicTemplate"
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 defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example; // String | 
        try {
            'String' result = apiInstance.createResourcesUsageAnalysisFromScoringLogicTemplate(analysisName, costPartitionIdLink, defaultScoringLogicTemplateUUIDForAnalysis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createResourcesUsageAnalysisFromScoringLogicTemplate");
            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 defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example; // String | 
        try {
            'String' result = apiInstance.createResourcesUsageAnalysisFromScoringLogicTemplate(analysisName, costPartitionIdLink, defaultScoringLogicTemplateUUIDForAnalysis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#createResourcesUsageAnalysisFromScoringLogicTemplate");
            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 *defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example; //  (optional)

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

// 
[apiInstance createResourcesUsageAnalysisFromScoringLogicTemplateWith:analysisName
    costPartitionIdLink:costPartitionIdLink
    defaultScoringLogicTemplateUUIDForAnalysis:defaultScoringLogicTemplateUUIDForAnalysis
              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} 
  'defaultScoringLogicTemplateUUIDForAnalysis': defaultScoringLogicTemplateUUIDForAnalysis_example // {String} 
};

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

namespace Example
{
    public class createResourcesUsageAnalysisFromScoringLogicTemplateExample
    {
        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 defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.createResourcesUsageAnalysisFromScoringLogicTemplate(analysisName, costPartitionIdLink, defaultScoringLogicTemplateUUIDForAnalysis);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.createResourcesUsageAnalysisFromScoringLogicTemplate: " + 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 | 
$defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example; // String | 

try {
    $result = $api_instance->createResourcesUsageAnalysisFromScoringLogicTemplate($analysisName, $costPartitionIdLink, $defaultScoringLogicTemplateUUIDForAnalysis);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->createResourcesUsageAnalysisFromScoringLogicTemplate: ', $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 $defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example; # String | 

eval { 
    my $result = $api_instance->createResourcesUsageAnalysisFromScoringLogicTemplate(analysisName => $analysisName, costPartitionIdLink => $costPartitionIdLink, defaultScoringLogicTemplateUUIDForAnalysis => $defaultScoringLogicTemplateUUIDForAnalysis);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->createResourcesUsageAnalysisFromScoringLogicTemplate: $@\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)
defaultScoringLogicTemplateUUIDForAnalysis = defaultScoringLogicTemplateUUIDForAnalysis_example # String |  (optional)

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

Parameters

Form parameters
Name Description
analysisName
costPartitionIdLink
defaultScoringLogicTemplateUUIDForAnalysis

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


cudOptimReportCreateOrUpdate


/cudOptimization/saveCUDOptimizationReport

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cudOptimization/saveCUDOptimizationReport?doNotRecomputeTheDataForTheNewReport="
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();
        RIOptimizationReportContentDTO body = ; // RIOptimizationReportContentDTO | 
        Boolean doNotRecomputeTheDataForTheNewReport = true; // Boolean | 
        try {
            'String' result = apiInstance.cudOptimReportCreateOrUpdate(body, doNotRecomputeTheDataForTheNewReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#cudOptimReportCreateOrUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        RIOptimizationReportContentDTO body = ; // RIOptimizationReportContentDTO | 
        Boolean doNotRecomputeTheDataForTheNewReport = true; // Boolean | 
        try {
            'String' result = apiInstance.cudOptimReportCreateOrUpdate(body, doNotRecomputeTheDataForTheNewReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#cudOptimReportCreateOrUpdate");
            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"];

RIOptimizationReportContentDTO *body = ; //  (optional)
Boolean *doNotRecomputeTheDataForTheNewReport = true; //  (optional)

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

// 
[apiInstance cudOptimReportCreateOrUpdateWith:body
    doNotRecomputeTheDataForTheNewReport:doNotRecomputeTheDataForTheNewReport
              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': , // {RIOptimizationReportContentDTO} 
  'doNotRecomputeTheDataForTheNewReport': true // {Boolean} 
};

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

namespace Example
{
    public class cudOptimReportCreateOrUpdateExample
    {
        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 RIOptimizationReportContentDTO(); // RIOptimizationReportContentDTO |  (optional) 
            var doNotRecomputeTheDataForTheNewReport = true;  // Boolean |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.cudOptimReportCreateOrUpdate(body, doNotRecomputeTheDataForTheNewReport);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.cudOptimReportCreateOrUpdate: " + 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 = ; // RIOptimizationReportContentDTO | 
$doNotRecomputeTheDataForTheNewReport = true; // Boolean | 

try {
    $result = $api_instance->cudOptimReportCreateOrUpdate($body, $doNotRecomputeTheDataForTheNewReport);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->cudOptimReportCreateOrUpdate: ', $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::RIOptimizationReportContentDTO->new(); # RIOptimizationReportContentDTO | 
my $doNotRecomputeTheDataForTheNewReport = true; # Boolean | 

eval { 
    my $result = $api_instance->cudOptimReportCreateOrUpdate(body => $body, doNotRecomputeTheDataForTheNewReport => $doNotRecomputeTheDataForTheNewReport);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->cudOptimReportCreateOrUpdate: $@\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 =  # RIOptimizationReportContentDTO |  (optional)
doNotRecomputeTheDataForTheNewReport = true # Boolean |  (optional)

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

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
doNotRecomputeTheDataForTheNewReport

Responses

Status: 200 - successful operation


declareAccountAWSAdd

declareAccountAWS


/cloudplatforms/declaration/aws

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/declaration/aws?forceOverrideExisting="
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();
        DeclareAccountAWSRequest body = ; // DeclareAccountAWSRequest | 
        Boolean forceOverrideExisting = true; // Boolean | 
        try {
            'String' result = apiInstance.declareAccountAWSAdd(body, forceOverrideExisting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountAWSAdd");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DeclareAccountAWSRequest body = ; // DeclareAccountAWSRequest | 
        Boolean forceOverrideExisting = true; // Boolean | 
        try {
            'String' result = apiInstance.declareAccountAWSAdd(body, forceOverrideExisting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountAWSAdd");
            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"];

DeclareAccountAWSRequest *body = ; //  (optional)
Boolean *forceOverrideExisting = true; //  (optional)

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

// declareAccountAWS
[apiInstance declareAccountAWSAddWith:body
    forceOverrideExisting:forceOverrideExisting
              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': , // {DeclareAccountAWSRequest} 
  'forceOverrideExisting': true // {Boolean} 
};

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

namespace Example
{
    public class declareAccountAWSAddExample
    {
        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 DeclareAccountAWSRequest(); // DeclareAccountAWSRequest |  (optional) 
            var forceOverrideExisting = true;  // Boolean |  (optional) 

            try
            {
                // declareAccountAWS
                'String' result = apiInstance.declareAccountAWSAdd(body, forceOverrideExisting);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.declareAccountAWSAdd: " + 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 = ; // DeclareAccountAWSRequest | 
$forceOverrideExisting = true; // Boolean | 

try {
    $result = $api_instance->declareAccountAWSAdd($body, $forceOverrideExisting);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->declareAccountAWSAdd: ', $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::DeclareAccountAWSRequest->new(); # DeclareAccountAWSRequest | 
my $forceOverrideExisting = true; # Boolean | 

eval { 
    my $result = $api_instance->declareAccountAWSAdd(body => $body, forceOverrideExisting => $forceOverrideExisting);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->declareAccountAWSAdd: $@\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 =  # DeclareAccountAWSRequest |  (optional)
forceOverrideExisting = true # Boolean |  (optional)

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

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
forceOverrideExisting

Responses

Status: 200 - successful operation


declareAccountAzureEAAdd

declareAccountAzureEA


/cloudplatforms/declaration/azureEA

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/declaration/azureEA?forceOverrideExisting="
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();
        DeclareAccountAzureEARequest body = ; // DeclareAccountAzureEARequest | 
        Boolean forceOverrideExisting = true; // Boolean | 
        try {
            'String' result = apiInstance.declareAccountAzureEAAdd(body, forceOverrideExisting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountAzureEAAdd");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DeclareAccountAzureEARequest body = ; // DeclareAccountAzureEARequest | 
        Boolean forceOverrideExisting = true; // Boolean | 
        try {
            'String' result = apiInstance.declareAccountAzureEAAdd(body, forceOverrideExisting);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountAzureEAAdd");
            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"];

DeclareAccountAzureEARequest *body = ; //  (optional)
Boolean *forceOverrideExisting = true; //  (optional)

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

// declareAccountAzureEA
[apiInstance declareAccountAzureEAAddWith:body
    forceOverrideExisting:forceOverrideExisting
              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': , // {DeclareAccountAzureEARequest} 
  'forceOverrideExisting': true // {Boolean} 
};

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

namespace Example
{
    public class declareAccountAzureEAAddExample
    {
        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 DeclareAccountAzureEARequest(); // DeclareAccountAzureEARequest |  (optional) 
            var forceOverrideExisting = true;  // Boolean |  (optional) 

            try
            {
                // declareAccountAzureEA
                'String' result = apiInstance.declareAccountAzureEAAdd(body, forceOverrideExisting);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.declareAccountAzureEAAdd: " + 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 = ; // DeclareAccountAzureEARequest | 
$forceOverrideExisting = true; // Boolean | 

try {
    $result = $api_instance->declareAccountAzureEAAdd($body, $forceOverrideExisting);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->declareAccountAzureEAAdd: ', $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::DeclareAccountAzureEARequest->new(); # DeclareAccountAzureEARequest | 
my $forceOverrideExisting = true; # Boolean | 

eval { 
    my $result = $api_instance->declareAccountAzureEAAdd(body => $body, forceOverrideExisting => $forceOverrideExisting);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->declareAccountAzureEAAdd: $@\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 =  # DeclareAccountAzureEARequest |  (optional)
forceOverrideExisting = true # Boolean |  (optional)

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

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
forceOverrideExisting

Responses

Status: 200 - successful operation


declareAccountCheckStatus

declareAccountCheckStatus


/cloudplatforms/declaration/checkStatus

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/declaration/checkStatus?taskUUID="
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 taskUUID = taskUUID_example; // String | 
        try {
            'String' result = apiInstance.declareAccountCheckStatus(taskUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountCheckStatus");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String taskUUID = taskUUID_example; // String | 
        try {
            'String' result = apiInstance.declareAccountCheckStatus(taskUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountCheckStatus");
            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 *taskUUID = taskUUID_example; //  (optional)

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

// declareAccountCheckStatus
[apiInstance declareAccountCheckStatusWith:taskUUID
              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 = { 
  'taskUUID': taskUUID_example // {String} 
};

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

namespace Example
{
    public class declareAccountCheckStatusExample
    {
        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 taskUUID = taskUUID_example;  // String |  (optional) 

            try
            {
                // declareAccountCheckStatus
                'String' result = apiInstance.declareAccountCheckStatus(taskUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.declareAccountCheckStatus: " + 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();
$taskUUID = taskUUID_example; // String | 

try {
    $result = $api_instance->declareAccountCheckStatus($taskUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->declareAccountCheckStatus: ', $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 $taskUUID = taskUUID_example; # String | 

eval { 
    my $result = $api_instance->declareAccountCheckStatus(taskUUID => $taskUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->declareAccountCheckStatus: $@\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()
taskUUID = taskUUID_example # String |  (optional)

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

Parameters

Query parameters
Name Description
taskUUID

Responses

Status: 200 - successful operation


declareAccountGCPAdd

declareAccountGCP


/cloudplatforms/declaration/gcp

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/declaration/gcp"
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();
        DeclareAccountGCPRequest body = ; // DeclareAccountGCPRequest | 
        try {
            'String' result = apiInstance.declareAccountGCPAdd(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountGCPAdd");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DeclareAccountGCPRequest body = ; // DeclareAccountGCPRequest | 
        try {
            'String' result = apiInstance.declareAccountGCPAdd(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#declareAccountGCPAdd");
            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"];

DeclareAccountGCPRequest *body = ; //  (optional)

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

// declareAccountGCP
[apiInstance declareAccountGCPAddWith: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':  // {DeclareAccountGCPRequest} 
};

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

namespace Example
{
    public class declareAccountGCPAddExample
    {
        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 DeclareAccountGCPRequest(); // DeclareAccountGCPRequest |  (optional) 

            try
            {
                // declareAccountGCP
                'String' result = apiInstance.declareAccountGCPAdd(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.declareAccountGCPAdd: " + 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 = ; // DeclareAccountGCPRequest | 

try {
    $result = $api_instance->declareAccountGCPAdd($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->declareAccountGCPAdd: ', $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::DeclareAccountGCPRequest->new(); # DeclareAccountGCPRequest | 

eval { 
    my $result = $api_instance->declareAccountGCPAdd(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->declareAccountGCPAdd: $@\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 =  # DeclareAccountGCPRequest |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


deleteCloningInfosForMultiProjectsCloning


/dashboardsCloning/infos/{uuid}

Usage and SDK Samples

curl -X delete -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/infos/{uuid}?shouldErase="
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 uuid = uuid_example; // String | 
        Boolean shouldErase = true; // Boolean | 
        try {
            'String' result = apiInstance.deleteCloningInfosForMultiProjectsCloning(uuid, shouldErase);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteCloningInfosForMultiProjectsCloning");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String uuid = uuid_example; // String | 
        Boolean shouldErase = true; // Boolean | 
        try {
            'String' result = apiInstance.deleteCloningInfosForMultiProjectsCloning(uuid, shouldErase);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteCloningInfosForMultiProjectsCloning");
            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 *uuid = uuid_example; // 
Boolean *shouldErase = true; //  (optional)

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

// 
[apiInstance deleteCloningInfosForMultiProjectsCloningWith:uuid
    shouldErase:shouldErase
              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 uuid = uuid_example; // {String} 

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

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

namespace Example
{
    public class deleteCloningInfosForMultiProjectsCloningExample
    {
        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 uuid = uuid_example;  // String | 
            var shouldErase = true;  // Boolean |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.deleteCloningInfosForMultiProjectsCloning(uuid, shouldErase);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.deleteCloningInfosForMultiProjectsCloning: " + 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();
$uuid = uuid_example; // String | 
$shouldErase = true; // Boolean | 

try {
    $result = $api_instance->deleteCloningInfosForMultiProjectsCloning($uuid, $shouldErase);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->deleteCloningInfosForMultiProjectsCloning: ', $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 $uuid = uuid_example; # String | 
my $shouldErase = true; # Boolean | 

eval { 
    my $result = $api_instance->deleteCloningInfosForMultiProjectsCloning(uuid => $uuid, shouldErase => $shouldErase);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->deleteCloningInfosForMultiProjectsCloning: $@\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()
uuid = uuid_example # String | 
shouldErase = true # Boolean |  (optional)

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

Parameters

Path parameters
Name Description
uuid*
Query parameters
Name Description
shouldErase

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


deleteReport


/customReports/report/delete

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/report/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 reportUUID = reportUUID_example; // String | 
        try {
            apiInstance.deleteReport(reportUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteReport");
            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 | 
        try {
            apiInstance.deleteReport(reportUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#deleteReport");
            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; //  (optional)

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

// 
[apiInstance deleteReportWith:reportUUID
              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 = { 
  'reportUUID': reportUUID_example // {String} 
};

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

namespace Example
{
    public class deleteReportExample
    {
        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 |  (optional) 

            try
            {
                // 
                apiInstance.deleteReport(reportUUID);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.deleteReport: " + 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 | 

try {
    $api_instance->deleteReport($reportUUID);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->deleteReport: ', $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 | 

eval { 
    $api_instance->deleteReport(reportUUID => $reportUUID);
};
if ($@) {
    warn "Exception when calling PublicApi->deleteReport: $@\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 |  (optional)

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

Parameters

Form parameters
Name Description
reportUUID

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; // 

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 propertyName = propertyName_example; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUserDefinedVariable(propertyName, 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 | 

            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 | 

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

Parameters

Path 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=&shouldSynchronouslyDeployBackend="
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 | 
        String shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example; // String | 
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body, forceBackendToRunAsFirstRun, shouldRunInDebugMode, shouldRunInPartialMode, shouldSynchronouslyDeployBackend);
            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 | 
        String shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example; // String | 
        try {
            'String' result = apiInstance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body, forceBackendToRunAsFirstRun, shouldRunInDebugMode, shouldRunInPartialMode, shouldSynchronouslyDeployBackend);
            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)
String *shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example; //  (optional)

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

// 
[apiInstance deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomerWith:body
    forceBackendToRunAsFirstRun:forceBackendToRunAsFirstRun
    shouldRunInDebugMode:shouldRunInDebugMode
    shouldRunInPartialMode:shouldRunInPartialMode
    shouldSynchronouslyDeployBackend:shouldSynchronouslyDeployBackend
              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} 
  'shouldSynchronouslyDeployBackend': shouldSynchronouslyDeployBackend_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) 
            var shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body, forceBackendToRunAsFirstRun, shouldRunInDebugMode, shouldRunInPartialMode, shouldSynchronouslyDeployBackend);
                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 | 
$shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example; // String | 

try {
    $result = $api_instance->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer($body, $forceBackendToRunAsFirstRun, $shouldRunInDebugMode, $shouldRunInPartialMode, $shouldSynchronouslyDeployBackend);
    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 | 
my $shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example; # String | 

eval { 
    my $result = $api_instance->deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body => $body, forceBackendToRunAsFirstRun => $forceBackendToRunAsFirstRun, shouldRunInDebugMode => $shouldRunInDebugMode, shouldRunInPartialMode => $shouldRunInPartialMode, shouldSynchronouslyDeployBackend => $shouldSynchronouslyDeployBackend);
    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)
shouldSynchronouslyDeployBackend = shouldSynchronouslyDeployBackend_example # String |  (optional)

try: 
    # 
    api_response = api_instance.deployDetailedCostAnalyticsBackendCurrentForLoggedInCustomer(body=body, forceBackendToRunAsFirstRun=forceBackendToRunAsFirstRun, shouldRunInDebugMode=shouldRunInDebugMode, shouldRunInPartialMode=shouldRunInPartialMode, shouldSynchronouslyDeployBackend=shouldSynchronouslyDeployBackend)
    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
shouldSynchronouslyDeployBackend

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


getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString


/cloudplatforms/getAccountPlatform/forCAUKey/{CAUKeyAsString}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/getAccountPlatform/forCAUKey/{CAUKeyAsString}"
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 cAUKeyAsString = cAUKeyAsString_example; // String | 
        try {
            'String' result = apiInstance.getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString(cAUKeyAsString);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String cAUKeyAsString = cAUKeyAsString_example; // String | 
        try {
            'String' result = apiInstance.getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString(cAUKeyAsString);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString");
            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 *cAUKeyAsString = cAUKeyAsString_example; // 

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

// 
[apiInstance getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsStringWith:cAUKeyAsString
              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 cAUKeyAsString = cAUKeyAsString_example; // {String} 


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

namespace Example
{
    public class getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsStringExample
    {
        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 cAUKeyAsString = cAUKeyAsString_example;  // String | 

            try
            {
                // 
                'String' result = apiInstance.getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString(cAUKeyAsString);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString: " + 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();
$cAUKeyAsString = cAUKeyAsString_example; // String | 

try {
    $result = $api_instance->getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString($cAUKeyAsString);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString: ', $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 $cAUKeyAsString = cAUKeyAsString_example; # String | 

eval { 
    my $result = $api_instance->getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString(cAUKeyAsString => $cAUKeyAsString);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getAccountPlatformKeyAsStringForCauAccountPlatformKeyAsString: $@\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()
cAUKeyAsString = cAUKeyAsString_example # String | 

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

Parameters

Path parameters
Name Description
CAUKeyAsString*

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


getBillingLineValuesTransformationsForLoggedInCompany


/billingLineValuesTransformationsAndVirtualTagsManagement/billingLineValuesTransformationAndParameters

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/billingLineValuesTransformationsAndVirtualTagsManagement/billingLineValuesTransformationAndParameters"
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 {
            BillingLineValuesTransformations_BusinessConfiguration result = apiInstance.getBillingLineValuesTransformationsForLoggedInCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getBillingLineValuesTransformationsForLoggedInCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            BillingLineValuesTransformations_BusinessConfiguration result = apiInstance.getBillingLineValuesTransformationsForLoggedInCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getBillingLineValuesTransformationsForLoggedInCompany");
            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 getBillingLineValuesTransformationsForLoggedInCompanyWithCompletionHandler: 
              ^(BillingLineValuesTransformations_BusinessConfiguration 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.getBillingLineValuesTransformationsForLoggedInCompany(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getBillingLineValuesTransformationsForLoggedInCompanyExample
    {
        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
            {
                // 
                BillingLineValuesTransformations_BusinessConfiguration result = apiInstance.getBillingLineValuesTransformationsForLoggedInCompany();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getBillingLineValuesTransformationsForLoggedInCompany: " + 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->getBillingLineValuesTransformationsForLoggedInCompany();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getBillingLineValuesTransformationsForLoggedInCompany: ', $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->getBillingLineValuesTransformationsForLoggedInCompany();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getBillingLineValuesTransformationsForLoggedInCompany: $@\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.getBillingLineValuesTransformationsForLoggedInCompany()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getBillingLineValuesTransformationsForLoggedInCompany: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getBillingLineValuesTransformationsForLoggedInUser


/detailedCostAnalytics/transformations

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/detailedCostAnalytics/transformations"
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', DetailedCostAnalyticsTransformation] result = apiInstance.getBillingLineValuesTransformationsForLoggedInUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getBillingLineValuesTransformationsForLoggedInUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            map['String', DetailedCostAnalyticsTransformation] result = apiInstance.getBillingLineValuesTransformationsForLoggedInUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getBillingLineValuesTransformationsForLoggedInUser");
            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 getBillingLineValuesTransformationsForLoggedInUserWithCompletionHandler: 
              ^(map['String', DetailedCostAnalyticsTransformation] 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.getBillingLineValuesTransformationsForLoggedInUser(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getBillingLineValuesTransformationsForLoggedInUserExample
    {
        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', DetailedCostAnalyticsTransformation] result = apiInstance.getBillingLineValuesTransformationsForLoggedInUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getBillingLineValuesTransformationsForLoggedInUser: " + 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->getBillingLineValuesTransformationsForLoggedInUser();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getBillingLineValuesTransformationsForLoggedInUser: ', $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->getBillingLineValuesTransformationsForLoggedInUser();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getBillingLineValuesTransformationsForLoggedInUser: $@\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.getBillingLineValuesTransformationsForLoggedInUser()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getBillingLineValuesTransformationsForLoggedInUser: %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


getCloningInfosForMultiProjectsCloning


/dashboardsCloning/infos/{uuid}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/infos/{uuid}"
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 uuid = uuid_example; // String | 
        try {
            DashboardsCloningInfoDTO result = apiInstance.getCloningInfosForMultiProjectsCloning(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloningInfosForMultiProjectsCloning");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String uuid = uuid_example; // String | 
        try {
            DashboardsCloningInfoDTO result = apiInstance.getCloningInfosForMultiProjectsCloning(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloningInfosForMultiProjectsCloning");
            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 *uuid = uuid_example; // 

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

// 
[apiInstance getCloningInfosForMultiProjectsCloningWith:uuid
              completionHandler: ^(DashboardsCloningInfoDTO 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 uuid = uuid_example; // {String} 


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

namespace Example
{
    public class getCloningInfosForMultiProjectsCloningExample
    {
        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 uuid = uuid_example;  // String | 

            try
            {
                // 
                DashboardsCloningInfoDTO result = apiInstance.getCloningInfosForMultiProjectsCloning(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCloningInfosForMultiProjectsCloning: " + 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();
$uuid = uuid_example; // String | 

try {
    $result = $api_instance->getCloningInfosForMultiProjectsCloning($uuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCloningInfosForMultiProjectsCloning: ', $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 $uuid = uuid_example; # String | 

eval { 
    my $result = $api_instance->getCloningInfosForMultiProjectsCloning(uuid => $uuid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCloningInfosForMultiProjectsCloning: $@\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()
uuid = uuid_example # String | 

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

Parameters

Path parameters
Name Description
uuid*

Responses

Status: 200 - successful operation


getCloningInfosForMultiProjectsCloningList


/dashboardsCloning/infos

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/infos"
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[DashboardsCloningInfoDTO] result = apiInstance.getCloningInfosForMultiProjectsCloningList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloningInfosForMultiProjectsCloningList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            array[DashboardsCloningInfoDTO] result = apiInstance.getCloningInfosForMultiProjectsCloningList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloningInfosForMultiProjectsCloningList");
            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 getCloningInfosForMultiProjectsCloningListWithCompletionHandler: 
              ^(array[DashboardsCloningInfoDTO] 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.getCloningInfosForMultiProjectsCloningList(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCloningInfosForMultiProjectsCloningListExample
    {
        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[DashboardsCloningInfoDTO] result = apiInstance.getCloningInfosForMultiProjectsCloningList();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCloningInfosForMultiProjectsCloningList: " + 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->getCloningInfosForMultiProjectsCloningList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCloningInfosForMultiProjectsCloningList: ', $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->getCloningInfosForMultiProjectsCloningList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCloningInfosForMultiProjectsCloningList: $@\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.getCloningInfosForMultiProjectsCloningList()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCloningInfosForMultiProjectsCloningList: %s\n" % e)

Parameters

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


getCloudServicesNameByCloudServicesIdByCSP


/cloudplatforms/cloudServicesNamesByCloudServicesIdsByCSP

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/cloudServicesNamesByCloudServicesIdsByCSP"
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', map['String', 'String']] result = apiInstance.getCloudServicesNameByCloudServicesIdByCSP();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloudServicesNameByCloudServicesIdByCSP");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            map['String', map['String', 'String']] result = apiInstance.getCloudServicesNameByCloudServicesIdByCSP();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCloudServicesNameByCloudServicesIdByCSP");
            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 getCloudServicesNameByCloudServicesIdByCSPWithCompletionHandler: 
              ^(map['String', 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.getCloudServicesNameByCloudServicesIdByCSP(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCloudServicesNameByCloudServicesIdByCSPExample
    {
        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', map['String', 'String']] result = apiInstance.getCloudServicesNameByCloudServicesIdByCSP();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCloudServicesNameByCloudServicesIdByCSP: " + 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->getCloudServicesNameByCloudServicesIdByCSP();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCloudServicesNameByCloudServicesIdByCSP: ', $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->getCloudServicesNameByCloudServicesIdByCSP();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCloudServicesNameByCloudServicesIdByCSP: $@\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.getCloudServicesNameByCloudServicesIdByCSP()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCloudServicesNameByCloudServicesIdByCSP: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getCompanyCostPerimeter


/costPerimeter/getCompanyCostPerimeter

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/getCompanyCostPerimeter"
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 {
            DynamicCompanyCostPerimeterDTO result = apiInstance.getCompanyCostPerimeter();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCompanyCostPerimeter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            DynamicCompanyCostPerimeterDTO result = apiInstance.getCompanyCostPerimeter();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCompanyCostPerimeter");
            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 getCompanyCostPerimeterWithCompletionHandler: 
              ^(DynamicCompanyCostPerimeterDTO 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.getCompanyCostPerimeter(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCompanyCostPerimeterExample
    {
        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
            {
                // 
                DynamicCompanyCostPerimeterDTO result = apiInstance.getCompanyCostPerimeter();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCompanyCostPerimeter: " + 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->getCompanyCostPerimeter();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCompanyCostPerimeter: ', $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->getCompanyCostPerimeter();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCompanyCostPerimeter: $@\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.getCompanyCostPerimeter()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCompanyCostPerimeter: %s\n" % e)

Parameters

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


getCostPartitionUsedAsSourceOfMetadataInCUDOptimization


/cudOptimization/costPartitionUsedAsSourceOfMetadataInCUDOptimization

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cudOptimization/costPartitionUsedAsSourceOfMetadataInCUDOptimization"
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.getCostPartitionUsedAsSourceOfMetadataInCUDOptimization();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostPartitionUsedAsSourceOfMetadataInCUDOptimization");
            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.getCostPartitionUsedAsSourceOfMetadataInCUDOptimization();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostPartitionUsedAsSourceOfMetadataInCUDOptimization");
            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 getCostPartitionUsedAsSourceOfMetadataInCUDOptimizationWithCompletionHandler: 
              ^(CostPartitionDefinitionsItem 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.getCostPartitionUsedAsSourceOfMetadataInCUDOptimization(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCostPartitionUsedAsSourceOfMetadataInCUDOptimizationExample
    {
        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
            {
                // 
                CostPartitionDefinitionsItem result = apiInstance.getCostPartitionUsedAsSourceOfMetadataInCUDOptimization();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCostPartitionUsedAsSourceOfMetadataInCUDOptimization: " + 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->getCostPartitionUsedAsSourceOfMetadataInCUDOptimization();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCostPartitionUsedAsSourceOfMetadataInCUDOptimization: ', $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->getCostPartitionUsedAsSourceOfMetadataInCUDOptimization();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCostPartitionUsedAsSourceOfMetadataInCUDOptimization: $@\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.getCostPartitionUsedAsSourceOfMetadataInCUDOptimization()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCostPartitionUsedAsSourceOfMetadataInCUDOptimization: %s\n" % e)

Parameters

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 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 getCostPartitionUsedAsSourceOfMetadataInRIOptimizationWithCompletionHandler: 
              ^(CostPartitionDefinitionsItem 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.getCostPartitionUsedAsSourceOfMetadataInRIOptimization(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCostPartitionUsedAsSourceOfMetadataInRIOptimizationExample
    {
        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
            {
                // 
                CostPartitionDefinitionsItem result = apiInstance.getCostPartitionUsedAsSourceOfMetadataInRIOptimization();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCostPartitionUsedAsSourceOfMetadataInRIOptimization: " + 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->getCostPartitionUsedAsSourceOfMetadataInRIOptimization();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCostPartitionUsedAsSourceOfMetadataInRIOptimization: ', $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->getCostPartitionUsedAsSourceOfMetadataInRIOptimization();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCostPartitionUsedAsSourceOfMetadataInRIOptimization: $@\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.getCostPartitionUsedAsSourceOfMetadataInRIOptimization()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCostPartitionUsedAsSourceOfMetadataInRIOptimization: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getCostSourceInfoForCloudPlatform


/cloudplatforms/platform/{platformId}/costPartition

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/platform/{platformId}/costPartition"
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 platformId = platformId_example; // String | 
        try {
            CostSourceInfoDTO result = apiInstance.getCostSourceInfoForCloudPlatform(platformId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostSourceInfoForCloudPlatform");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String platformId = platformId_example; // String | 
        try {
            CostSourceInfoDTO result = apiInstance.getCostSourceInfoForCloudPlatform(platformId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostSourceInfoForCloudPlatform");
            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 *platformId = platformId_example; // 

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

// 
[apiInstance getCostSourceInfoForCloudPlatformWith:platformId
              completionHandler: ^(CostSourceInfoDTO 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 platformId = platformId_example; // {String} 


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

namespace Example
{
    public class getCostSourceInfoForCloudPlatformExample
    {
        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 platformId = platformId_example;  // String | 

            try
            {
                // 
                CostSourceInfoDTO result = apiInstance.getCostSourceInfoForCloudPlatform(platformId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCostSourceInfoForCloudPlatform: " + 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();
$platformId = platformId_example; // String | 

try {
    $result = $api_instance->getCostSourceInfoForCloudPlatform($platformId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCostSourceInfoForCloudPlatform: ', $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 $platformId = platformId_example; # String | 

eval { 
    my $result = $api_instance->getCostSourceInfoForCloudPlatform(platformId => $platformId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCostSourceInfoForCloudPlatform: $@\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()
platformId = platformId_example # String | 

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

Parameters

Path parameters
Name Description
platformId*

Responses

Status: 200 - successful operation


getCostSourcesForDashboardDisplay


/cloudplatforms/getCostSourcesDisplay/{displayContextUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/getCostSourcesDisplay/{displayContextUUID}?onlyVisiblePlatforms="
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 | 
        Boolean onlyVisiblePlatforms = true; // Boolean | 
        try {
            map['String', array[CostSourcesDisplayDTO]] result = apiInstance.getCostSourcesForDashboardDisplay(displayContextUUID, onlyVisiblePlatforms);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostSourcesForDashboardDisplay");
            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 | 
        Boolean onlyVisiblePlatforms = true; // Boolean | 
        try {
            map['String', array[CostSourcesDisplayDTO]] result = apiInstance.getCostSourcesForDashboardDisplay(displayContextUUID, onlyVisiblePlatforms);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCostSourcesForDashboardDisplay");
            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; // 
Boolean *onlyVisiblePlatforms = true; //  (optional)

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

// 
[apiInstance getCostSourcesForDashboardDisplayWith:displayContextUUID
    onlyVisiblePlatforms:onlyVisiblePlatforms
              completionHandler: ^(map['String', array[CostSourcesDisplayDTO]] 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 opts = { 
  'onlyVisiblePlatforms': true // {Boolean} 
};

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

namespace Example
{
    public class getCostSourcesForDashboardDisplayExample
    {
        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 | 
            var onlyVisiblePlatforms = true;  // Boolean |  (optional) 

            try
            {
                // 
                map['String', array[CostSourcesDisplayDTO]] result = apiInstance.getCostSourcesForDashboardDisplay(displayContextUUID, onlyVisiblePlatforms);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCostSourcesForDashboardDisplay: " + 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 | 
$onlyVisiblePlatforms = true; // Boolean | 

try {
    $result = $api_instance->getCostSourcesForDashboardDisplay($displayContextUUID, $onlyVisiblePlatforms);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCostSourcesForDashboardDisplay: ', $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 | 
my $onlyVisiblePlatforms = true; # Boolean | 

eval { 
    my $result = $api_instance->getCostSourcesForDashboardDisplay(displayContextUUID => $displayContextUUID, onlyVisiblePlatforms => $onlyVisiblePlatforms);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCostSourcesForDashboardDisplay: $@\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 | 
onlyVisiblePlatforms = true # Boolean |  (optional)

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

Parameters

Path parameters
Name Description
displayContextUUID*
Query parameters
Name Description
onlyVisiblePlatforms

Responses

Status: 200 - successful operation


getCredentialsForAllTheCompanyUsers


/credentialsManagementService/getAPIAccessKey/forAllTheCompanyUsers

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/credentialsManagementService/getAPIAccessKey/forAllTheCompanyUsers"
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', APICredentials] result = apiInstance.getCredentialsForAllTheCompanyUsers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCredentialsForAllTheCompanyUsers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            map['String', APICredentials] result = apiInstance.getCredentialsForAllTheCompanyUsers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCredentialsForAllTheCompanyUsers");
            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 getCredentialsForAllTheCompanyUsersWithCompletionHandler: 
              ^(map['String', APICredentials] 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.getCredentialsForAllTheCompanyUsers(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCredentialsForAllTheCompanyUsersExample
    {
        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', APICredentials] result = apiInstance.getCredentialsForAllTheCompanyUsers();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCredentialsForAllTheCompanyUsers: " + 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->getCredentialsForAllTheCompanyUsers();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCredentialsForAllTheCompanyUsers: ', $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->getCredentialsForAllTheCompanyUsers();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCredentialsForAllTheCompanyUsers: $@\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.getCredentialsForAllTheCompanyUsers()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getCredentialsForAllTheCompanyUsers: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getCurrentDashboardPrecomputedDataForLoggedInCustomer


/dashboard/dataPrecomputation/current

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboard/dataPrecomputation/current?contextUUID="
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 contextUUID = contextUUID_example; // String | 
        try {
            CloudServiceBillingChargesDTO result = apiInstance.getCurrentDashboardPrecomputedDataForLoggedInCustomer(contextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCurrentDashboardPrecomputedDataForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String contextUUID = contextUUID_example; // String | 
        try {
            CloudServiceBillingChargesDTO result = apiInstance.getCurrentDashboardPrecomputedDataForLoggedInCustomer(contextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCurrentDashboardPrecomputedDataForLoggedInCustomer");
            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 *contextUUID = contextUUID_example; //  (optional)

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

// 
[apiInstance getCurrentDashboardPrecomputedDataForLoggedInCustomerWith:contextUUID
              completionHandler: ^(CloudServiceBillingChargesDTO 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 = { 
  'contextUUID': contextUUID_example // {String} 
};

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

namespace Example
{
    public class getCurrentDashboardPrecomputedDataForLoggedInCustomerExample
    {
        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 contextUUID = contextUUID_example;  // String |  (optional) 

            try
            {
                // 
                CloudServiceBillingChargesDTO result = apiInstance.getCurrentDashboardPrecomputedDataForLoggedInCustomer(contextUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCurrentDashboardPrecomputedDataForLoggedInCustomer: " + 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();
$contextUUID = contextUUID_example; // String | 

try {
    $result = $api_instance->getCurrentDashboardPrecomputedDataForLoggedInCustomer($contextUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCurrentDashboardPrecomputedDataForLoggedInCustomer: ', $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 $contextUUID = contextUUID_example; # String | 

eval { 
    my $result = $api_instance->getCurrentDashboardPrecomputedDataForLoggedInCustomer(contextUUID => $contextUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCurrentDashboardPrecomputedDataForLoggedInCustomer: $@\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()
contextUUID = contextUUID_example # String |  (optional)

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

Parameters

Query parameters
Name Description
contextUUID

Responses

Status: 200 - successful operation


getCustomerAttributes


/customerAttributes/getAttributes

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customerAttributes/getAttributes?email="
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 email = email_example; // String | 
        try {
            CustomerAttributesDTO result = apiInstance.getCustomerAttributes(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCustomerAttributes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String email = email_example; // String | 
        try {
            CustomerAttributesDTO result = apiInstance.getCustomerAttributes(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCustomerAttributes");
            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 *email = email_example; //  (optional)

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

// 
[apiInstance getCustomerAttributesWith:email
              completionHandler: ^(CustomerAttributesDTO 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 = { 
  'email': email_example // {String} 
};

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

namespace Example
{
    public class getCustomerAttributesExample
    {
        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 email = email_example;  // String |  (optional) 

            try
            {
                // 
                CustomerAttributesDTO result = apiInstance.getCustomerAttributes(email);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCustomerAttributes: " + 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();
$email = email_example; // String | 

try {
    $result = $api_instance->getCustomerAttributes($email);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCustomerAttributes: ', $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 $email = email_example; # String | 

eval { 
    my $result = $api_instance->getCustomerAttributes(email => $email);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCustomerAttributes: $@\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()
email = email_example # String |  (optional)

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

Parameters

Query parameters
Name Description
email

Responses

Status: 200 - successful operation


getCustomerCompanyNameForCustomerEmail


/customers/getCustomerCompanyName/forCustomerEmail/{customerEmail}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/getCustomerCompanyName/forCustomerEmail/{customerEmail}"
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 customerEmail = customerEmail_example; // String | 
        try {
            'String' result = apiInstance.getCustomerCompanyNameForCustomerEmail(customerEmail);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCustomerCompanyNameForCustomerEmail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String customerEmail = customerEmail_example; // String | 
        try {
            'String' result = apiInstance.getCustomerCompanyNameForCustomerEmail(customerEmail);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCustomerCompanyNameForCustomerEmail");
            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 *customerEmail = customerEmail_example; // 

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

// 
[apiInstance getCustomerCompanyNameForCustomerEmailWith:customerEmail
              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 customerEmail = customerEmail_example; // {String} 


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

namespace Example
{
    public class getCustomerCompanyNameForCustomerEmailExample
    {
        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 customerEmail = customerEmail_example;  // String | 

            try
            {
                // 
                'String' result = apiInstance.getCustomerCompanyNameForCustomerEmail(customerEmail);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCustomerCompanyNameForCustomerEmail: " + 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();
$customerEmail = customerEmail_example; // String | 

try {
    $result = $api_instance->getCustomerCompanyNameForCustomerEmail($customerEmail);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCustomerCompanyNameForCustomerEmail: ', $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 $customerEmail = customerEmail_example; # String | 

eval { 
    my $result = $api_instance->getCustomerCompanyNameForCustomerEmail(customerEmail => $customerEmail);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCustomerCompanyNameForCustomerEmail: $@\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()
customerEmail = customerEmail_example # String | 

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

Parameters

Path parameters
Name Description
customerEmail*

Responses

Status: 200 - successful operation


getCustomerCostPerimeter


/costPerimeter/getCustomerCostPerimeter

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/getCustomerCostPerimeter?email="
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 email = email_example; // String | 
        try {
            CustomerCostPerimeterDTO result = apiInstance.getCustomerCostPerimeter(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCustomerCostPerimeter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String email = email_example; // String | 
        try {
            CustomerCostPerimeterDTO result = apiInstance.getCustomerCostPerimeter(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getCustomerCostPerimeter");
            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 *email = email_example; //  (optional)

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

// 
[apiInstance getCustomerCostPerimeterWith:email
              completionHandler: ^(CustomerCostPerimeterDTO 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 = { 
  'email': email_example // {String} 
};

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

namespace Example
{
    public class getCustomerCostPerimeterExample
    {
        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 email = email_example;  // String |  (optional) 

            try
            {
                // 
                CustomerCostPerimeterDTO result = apiInstance.getCustomerCostPerimeter(email);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getCustomerCostPerimeter: " + 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();
$email = email_example; // String | 

try {
    $result = $api_instance->getCustomerCostPerimeter($email);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getCustomerCostPerimeter: ', $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 $email = email_example; # String | 

eval { 
    my $result = $api_instance->getCustomerCostPerimeter(email => $email);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getCustomerCostPerimeter: $@\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()
email = email_example # String |  (optional)

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

Parameters

Query parameters
Name Description
email

Responses

Status: 200 - successful operation


getDailyAndMonthlyCostDataItemWithChunks


/cloudServiceBillingCharges/{beginDate}/{endDate}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudServiceBillingCharges/{beginDate}/{endDate}"
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();
        Long beginDate = 789; // Long | 
        Long endDate = 789; // Long | 
        String platformKeys = platformKeys_example; // String | 
        Boolean removeDetailsFromResults = true; // Boolean | 
        String dailyDataFilteringFrequency = dailyDataFilteringFrequency_example; // String | 
        Integer chunkId = 56; // Integer | 
        try {
            CloudServiceBillingChargesDTO result = apiInstance.getDailyAndMonthlyCostDataItemWithChunks(beginDate, endDate, platformKeys, removeDetailsFromResults, dailyDataFilteringFrequency, chunkId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDailyAndMonthlyCostDataItemWithChunks");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        Long beginDate = 789; // Long | 
        Long endDate = 789; // Long | 
        String platformKeys = platformKeys_example; // String | 
        Boolean removeDetailsFromResults = true; // Boolean | 
        String dailyDataFilteringFrequency = dailyDataFilteringFrequency_example; // String | 
        Integer chunkId = 56; // Integer | 
        try {
            CloudServiceBillingChargesDTO result = apiInstance.getDailyAndMonthlyCostDataItemWithChunks(beginDate, endDate, platformKeys, removeDetailsFromResults, dailyDataFilteringFrequency, chunkId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDailyAndMonthlyCostDataItemWithChunks");
            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"];

Long *beginDate = 789; // 
Long *endDate = 789; // 
String *platformKeys = platformKeys_example; //  (optional)
Boolean *removeDetailsFromResults = true; //  (optional)
String *dailyDataFilteringFrequency = dailyDataFilteringFrequency_example; //  (optional)
Integer *chunkId = 56; //  (optional)

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

// 
[apiInstance getDailyAndMonthlyCostDataItemWithChunksWith:beginDate
    endDate:endDate
    platformKeys:platformKeys
    removeDetailsFromResults:removeDetailsFromResults
    dailyDataFilteringFrequency:dailyDataFilteringFrequency
    chunkId:chunkId
              completionHandler: ^(CloudServiceBillingChargesDTO 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 beginDate = 789; // {Long} 

var endDate = 789; // {Long} 

var opts = { 
  'platformKeys': platformKeys_example, // {String} 
  'removeDetailsFromResults': true, // {Boolean} 
  'dailyDataFilteringFrequency': dailyDataFilteringFrequency_example, // {String} 
  'chunkId': 56 // {Integer} 
};

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

namespace Example
{
    public class getDailyAndMonthlyCostDataItemWithChunksExample
    {
        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 beginDate = 789;  // Long | 
            var endDate = 789;  // Long | 
            var platformKeys = platformKeys_example;  // String |  (optional) 
            var removeDetailsFromResults = true;  // Boolean |  (optional) 
            var dailyDataFilteringFrequency = dailyDataFilteringFrequency_example;  // String |  (optional) 
            var chunkId = 56;  // Integer |  (optional) 

            try
            {
                // 
                CloudServiceBillingChargesDTO result = apiInstance.getDailyAndMonthlyCostDataItemWithChunks(beginDate, endDate, platformKeys, removeDetailsFromResults, dailyDataFilteringFrequency, chunkId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getDailyAndMonthlyCostDataItemWithChunks: " + 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();
$beginDate = 789; // Long | 
$endDate = 789; // Long | 
$platformKeys = platformKeys_example; // String | 
$removeDetailsFromResults = true; // Boolean | 
$dailyDataFilteringFrequency = dailyDataFilteringFrequency_example; // String | 
$chunkId = 56; // Integer | 

try {
    $result = $api_instance->getDailyAndMonthlyCostDataItemWithChunks($beginDate, $endDate, $platformKeys, $removeDetailsFromResults, $dailyDataFilteringFrequency, $chunkId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getDailyAndMonthlyCostDataItemWithChunks: ', $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 $beginDate = 789; # Long | 
my $endDate = 789; # Long | 
my $platformKeys = platformKeys_example; # String | 
my $removeDetailsFromResults = true; # Boolean | 
my $dailyDataFilteringFrequency = dailyDataFilteringFrequency_example; # String | 
my $chunkId = 56; # Integer | 

eval { 
    my $result = $api_instance->getDailyAndMonthlyCostDataItemWithChunks(beginDate => $beginDate, endDate => $endDate, platformKeys => $platformKeys, removeDetailsFromResults => $removeDetailsFromResults, dailyDataFilteringFrequency => $dailyDataFilteringFrequency, chunkId => $chunkId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getDailyAndMonthlyCostDataItemWithChunks: $@\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()
beginDate = 789 # Long | 
endDate = 789 # Long | 
platformKeys = platformKeys_example # String |  (optional)
removeDetailsFromResults = true # Boolean |  (optional)
dailyDataFilteringFrequency = dailyDataFilteringFrequency_example # String |  (optional)
chunkId = 56 # Integer |  (optional)

try: 
    # 
    api_response = api_instance.getDailyAndMonthlyCostDataItemWithChunks(beginDate, endDate, platformKeys=platformKeys, removeDetailsFromResults=removeDetailsFromResults, dailyDataFilteringFrequency=dailyDataFilteringFrequency, chunkId=chunkId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getDailyAndMonthlyCostDataItemWithChunks: %s\n" % e)

Parameters

Path parameters
Name Description
beginDate*
endDate*
Form parameters
Name Description
platformKeys
removeDetailsFromResults
dailyDataFilteringFrequency
chunk_id

Responses

Status: 200 - successful operation


getDeclaredBillingTags


/costPartitioning/getDeclaredBillingTags

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/getDeclaredBillingTags"
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[TeevityTagDefinition] result = apiInstance.getDeclaredBillingTags();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDeclaredBillingTags");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            array[TeevityTagDefinition] result = apiInstance.getDeclaredBillingTags();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDeclaredBillingTags");
            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 getDeclaredBillingTagsWithCompletionHandler: 
              ^(array[TeevityTagDefinition] 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.getDeclaredBillingTags(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDeclaredBillingTagsExample
    {
        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[TeevityTagDefinition] result = apiInstance.getDeclaredBillingTags();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getDeclaredBillingTags: " + 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->getDeclaredBillingTags();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getDeclaredBillingTags: ', $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->getDeclaredBillingTags();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getDeclaredBillingTags: $@\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.getDeclaredBillingTags()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getDeclaredBillingTags: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getDeclaredCostPartitions


/costPartitioning/costPartitions

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/costPartitions?shouldReturnTechnicalCostPartitions="
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 shouldReturnTechnicalCostPartitions = true; // Boolean | 
        try {
            array[CostPartition] result = apiInstance.getDeclaredCostPartitions(shouldReturnTechnicalCostPartitions);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDeclaredCostPartitions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        Boolean shouldReturnTechnicalCostPartitions = true; // Boolean | 
        try {
            array[CostPartition] result = apiInstance.getDeclaredCostPartitions(shouldReturnTechnicalCostPartitions);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDeclaredCostPartitions");
            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 *shouldReturnTechnicalCostPartitions = true; //  (optional)

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

// 
[apiInstance getDeclaredCostPartitionsWith:shouldReturnTechnicalCostPartitions
              completionHandler: ^(array[CostPartition] 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 = { 
  'shouldReturnTechnicalCostPartitions': true // {Boolean} 
};

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

namespace Example
{
    public class getDeclaredCostPartitionsExample
    {
        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 shouldReturnTechnicalCostPartitions = true;  // Boolean |  (optional) 

            try
            {
                // 
                array[CostPartition] result = apiInstance.getDeclaredCostPartitions(shouldReturnTechnicalCostPartitions);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getDeclaredCostPartitions: " + 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();
$shouldReturnTechnicalCostPartitions = true; // Boolean | 

try {
    $result = $api_instance->getDeclaredCostPartitions($shouldReturnTechnicalCostPartitions);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getDeclaredCostPartitions: ', $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 $shouldReturnTechnicalCostPartitions = true; # Boolean | 

eval { 
    my $result = $api_instance->getDeclaredCostPartitions(shouldReturnTechnicalCostPartitions => $shouldReturnTechnicalCostPartitions);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getDeclaredCostPartitions: $@\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()
shouldReturnTechnicalCostPartitions = true # Boolean |  (optional)

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

Parameters

Query parameters
Name Description
shouldReturnTechnicalCostPartitions

Responses

Status: 200 - successful operation


getDeclaredCostPartitionsInLightFormatForUpdate


/costPartitioning/costPartitions/lightFormatForUpdate

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/costPartitions/lightFormatForUpdate"
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[CostPartitionLightDefinitionForUpdate] result = apiInstance.getDeclaredCostPartitionsInLightFormatForUpdate();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDeclaredCostPartitionsInLightFormatForUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            array[CostPartitionLightDefinitionForUpdate] result = apiInstance.getDeclaredCostPartitionsInLightFormatForUpdate();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDeclaredCostPartitionsInLightFormatForUpdate");
            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 getDeclaredCostPartitionsInLightFormatForUpdateWithCompletionHandler: 
              ^(array[CostPartitionLightDefinitionForUpdate] 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.getDeclaredCostPartitionsInLightFormatForUpdate(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDeclaredCostPartitionsInLightFormatForUpdateExample
    {
        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[CostPartitionLightDefinitionForUpdate] result = apiInstance.getDeclaredCostPartitionsInLightFormatForUpdate();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getDeclaredCostPartitionsInLightFormatForUpdate: " + 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->getDeclaredCostPartitionsInLightFormatForUpdate();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getDeclaredCostPartitionsInLightFormatForUpdate: ', $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->getDeclaredCostPartitionsInLightFormatForUpdate();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getDeclaredCostPartitionsInLightFormatForUpdate: $@\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.getDeclaredCostPartitionsInLightFormatForUpdate()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getDeclaredCostPartitionsInLightFormatForUpdate: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getDisplayContexts


/displayContext

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/displayContext"
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.getDisplayContexts();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDisplayContexts");
            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.getDisplayContexts();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getDisplayContexts");
            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 getDisplayContextsWithCompletionHandler: 
              ^(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.getDisplayContexts(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDisplayContextsExample
    {
        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.getDisplayContexts();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getDisplayContexts: " + 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->getDisplayContexts();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getDisplayContexts: ', $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->getDisplayContexts();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getDisplayContexts: $@\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.getDisplayContexts()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getDisplayContexts: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getJobResultDescription


/icejobsrunner/jobResult/description/{jobRequestUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/icejobsrunner/jobResult/description/{jobRequestUUID}"
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 jobRequestUUID = jobRequestUUID_example; // String | 
        try {
            IceJobResultDescription result = apiInstance.getJobResultDescription(jobRequestUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getJobResultDescription");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String jobRequestUUID = jobRequestUUID_example; // String | 
        try {
            IceJobResultDescription result = apiInstance.getJobResultDescription(jobRequestUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getJobResultDescription");
            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 *jobRequestUUID = jobRequestUUID_example; // 

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

// 
[apiInstance getJobResultDescriptionWith:jobRequestUUID
              completionHandler: ^(IceJobResultDescription 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 jobRequestUUID = jobRequestUUID_example; // {String} 


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

namespace Example
{
    public class getJobResultDescriptionExample
    {
        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 jobRequestUUID = jobRequestUUID_example;  // String | 

            try
            {
                // 
                IceJobResultDescription result = apiInstance.getJobResultDescription(jobRequestUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getJobResultDescription: " + 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();
$jobRequestUUID = jobRequestUUID_example; // String | 

try {
    $result = $api_instance->getJobResultDescription($jobRequestUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getJobResultDescription: ', $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 $jobRequestUUID = jobRequestUUID_example; # String | 

eval { 
    my $result = $api_instance->getJobResultDescription(jobRequestUUID => $jobRequestUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getJobResultDescription: $@\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()
jobRequestUUID = jobRequestUUID_example # String | 

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

Parameters

Path parameters
Name Description
jobRequestUUID*

Responses

Status: 200 - successful operation


getJobStatus


/icejobsrunner/jobStatus/{jobRequestUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/icejobsrunner/jobStatus/{jobRequestUUID}"
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 jobRequestUUID = jobRequestUUID_example; // String | 
        try {
            IceJobStatus result = apiInstance.getJobStatus(jobRequestUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getJobStatus");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String jobRequestUUID = jobRequestUUID_example; // String | 
        try {
            IceJobStatus result = apiInstance.getJobStatus(jobRequestUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getJobStatus");
            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 *jobRequestUUID = jobRequestUUID_example; // 

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

// 
[apiInstance getJobStatusWith:jobRequestUUID
              completionHandler: ^(IceJobStatus 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 jobRequestUUID = jobRequestUUID_example; // {String} 


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

namespace Example
{
    public class getJobStatusExample
    {
        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 jobRequestUUID = jobRequestUUID_example;  // String | 

            try
            {
                // 
                IceJobStatus result = apiInstance.getJobStatus(jobRequestUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getJobStatus: " + 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();
$jobRequestUUID = jobRequestUUID_example; // String | 

try {
    $result = $api_instance->getJobStatus($jobRequestUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getJobStatus: ', $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 $jobRequestUUID = jobRequestUUID_example; # String | 

eval { 
    my $result = $api_instance->getJobStatus(jobRequestUUID => $jobRequestUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getJobStatus: $@\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()
jobRequestUUID = jobRequestUUID_example # String | 

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

Parameters

Path parameters
Name Description
jobRequestUUID*

Responses

Status: 200 - successful operation


getLoggedInCustomer


/customers/getLoggedInCustomer

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/getLoggedInCustomer"
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 {
            Customer result = apiInstance.getLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            Customer result = apiInstance.getLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getLoggedInCustomer");
            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 getLoggedInCustomerWithCompletionHandler: 
              ^(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 callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getLoggedInCustomer(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getLoggedInCustomerExample
    {
        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
            {
                // 
                Customer result = apiInstance.getLoggedInCustomer();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getLoggedInCustomer: " + 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->getLoggedInCustomer();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getLoggedInCustomer: ', $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->getLoggedInCustomer();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getLoggedInCustomer: $@\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.getLoggedInCustomer()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getLoggedInCustomer: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getMainCostPartitionForDashboard


/displayContext/{displayContextUUID}/mainCostPartition

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/displayContext/{displayContextUUID}/mainCostPartition"
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 {
            'String' result = apiInstance.getMainCostPartitionForDashboard(displayContextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getMainCostPartitionForDashboard");
            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 {
            'String' result = apiInstance.getMainCostPartitionForDashboard(displayContextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getMainCostPartitionForDashboard");
            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 getMainCostPartitionForDashboardWith:displayContextUUID
              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 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.getMainCostPartitionForDashboard(displayContextUUID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getMainCostPartitionForDashboardExample
    {
        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
            {
                // 
                'String' result = apiInstance.getMainCostPartitionForDashboard(displayContextUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getMainCostPartitionForDashboard: " + 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->getMainCostPartitionForDashboard($displayContextUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getMainCostPartitionForDashboard: ', $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->getMainCostPartitionForDashboard(displayContextUUID => $displayContextUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getMainCostPartitionForDashboard: $@\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.getMainCostPartitionForDashboard(displayContextUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getMainCostPartitionForDashboard: %s\n" % e)

Parameters

Path parameters
Name Description
displayContextUUID*

Responses

Status: 200 - successful operation


getOrderedFavoriteReportList


/customReports/reportList/favorited/inContext/{displayContextUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportList/favorited/inContext/{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[CustomerReportDefinitionDTO] result = apiInstance.getOrderedFavoriteReportList(displayContextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getOrderedFavoriteReportList");
            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[CustomerReportDefinitionDTO] result = apiInstance.getOrderedFavoriteReportList(displayContextUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getOrderedFavoriteReportList");
            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 getOrderedFavoriteReportListWith:displayContextUUID
              completionHandler: ^(array[CustomerReportDefinitionDTO] 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.getOrderedFavoriteReportList(displayContextUUID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOrderedFavoriteReportListExample
    {
        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[CustomerReportDefinitionDTO] result = apiInstance.getOrderedFavoriteReportList(displayContextUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getOrderedFavoriteReportList: " + 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->getOrderedFavoriteReportList($displayContextUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getOrderedFavoriteReportList: ', $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->getOrderedFavoriteReportList(displayContextUUID => $displayContextUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getOrderedFavoriteReportList: $@\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.getOrderedFavoriteReportList(displayContextUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getOrderedFavoriteReportList: %s\n" % e)

Parameters

Path parameters
Name Description
displayContextUUID*

Responses

Status: 200 - successful operation


getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented


/cloudplatforms/getPlatformList/uiOriented/for/costSourceType/{costSourceType}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/getPlatformList/uiOriented/for/costSourceType/{costSourceType}"
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 costSourceType = costSourceType_example; // String | 
        try {
            array[ClientSideCloudPlatformInfo] result = apiInstance.getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented(costSourceType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String costSourceType = costSourceType_example; // String | 
        try {
            array[ClientSideCloudPlatformInfo] result = apiInstance.getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented(costSourceType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented");
            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 *costSourceType = costSourceType_example; // 

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

// 
[apiInstance getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOrientedWith:costSourceType
              completionHandler: ^(array[ClientSideCloudPlatformInfo] 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 costSourceType = costSourceType_example; // {String} 


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

namespace Example
{
    public class getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOrientedExample
    {
        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 costSourceType = costSourceType_example;  // String | 

            try
            {
                // 
                array[ClientSideCloudPlatformInfo] result = apiInstance.getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented(costSourceType);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented: " + 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();
$costSourceType = costSourceType_example; // String | 

try {
    $result = $api_instance->getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented($costSourceType);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented: ', $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 $costSourceType = costSourceType_example; # String | 

eval { 
    my $result = $api_instance->getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented(costSourceType => $costSourceType);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getPlatformWithSpecificCostSourceTypeForLoggedInCustomerUiOriented: $@\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()
costSourceType = costSourceType_example # String | 

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

Parameters

Path parameters
Name Description
costSourceType*

Responses

Status: 200 - successful operation


getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap


/costPartitioning/platformKeysAssociatedWith/costPartitionId/filter/TagValuesByTagNames

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/platformKeysAssociatedWith/costPartitionId/filter/TagValuesByTagNames"
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();
        CostPartitionIdAndFilterDTO body = ; // CostPartitionIdAndFilterDTO | 
        try {
            array['String'] result = apiInstance.getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CostPartitionIdAndFilterDTO body = ; // CostPartitionIdAndFilterDTO | 
        try {
            array['String'] result = apiInstance.getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap");
            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"];

CostPartitionIdAndFilterDTO *body = ; //  (optional)

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

// 
[apiInstance getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMapWith:body
              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 = { 
  'body':  // {CostPartitionIdAndFilterDTO} 
};

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

namespace Example
{
    public class getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMapExample
    {
        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 CostPartitionIdAndFilterDTO(); // CostPartitionIdAndFilterDTO |  (optional) 

            try
            {
                // 
                array['String'] result = apiInstance.getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap: " + 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 = ; // CostPartitionIdAndFilterDTO | 

try {
    $result = $api_instance->getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap: ', $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::CostPartitionIdAndFilterDTO->new(); # CostPartitionIdAndFilterDTO | 

eval { 
    my $result = $api_instance->getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getPlatformsAssociatedWithCostPartitionFilteredByCostPerimeterDefinitionAsTagValueByTagMap: $@\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 =  # CostPartitionIdAndFilterDTO |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented


/cloudplatforms/getPlatformList/uiOriented/for/probeType/{probeType}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/getPlatformList/uiOriented/for/probeType/{probeType}?shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms="
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 probeType = probeType_example; // String | 
        Boolean shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true; // Boolean | 
        try {
            array[ClientSideCloudPlatformInfo] result = apiInstance.getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented(probeType, shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String probeType = probeType_example; // String | 
        Boolean shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true; // Boolean | 
        try {
            array[ClientSideCloudPlatformInfo] result = apiInstance.getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented(probeType, shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented");
            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 *probeType = probeType_example; // 
Boolean *shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true; //  (optional)

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

// 
[apiInstance getPlatformsWithSpecificTypeForLoggedInCustomerUiOrientedWith:probeType
    shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms:shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms
              completionHandler: ^(array[ClientSideCloudPlatformInfo] 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 probeType = probeType_example; // {String} 

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

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

namespace Example
{
    public class getPlatformsWithSpecificTypeForLoggedInCustomerUiOrientedExample
    {
        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 probeType = probeType_example;  // String | 
            var shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true;  // Boolean |  (optional) 

            try
            {
                // 
                array[ClientSideCloudPlatformInfo] result = apiInstance.getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented(probeType, shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented: " + 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();
$probeType = probeType_example; // String | 
$shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true; // Boolean | 

try {
    $result = $api_instance->getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented($probeType, $shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented: ', $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 $probeType = probeType_example; # String | 
my $shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true; # Boolean | 

eval { 
    my $result = $api_instance->getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented(probeType => $probeType, shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms => $shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getPlatformsWithSpecificTypeForLoggedInCustomerUiOriented: $@\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()
probeType = probeType_example # String | 
shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms = true # Boolean |  (optional)

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

Parameters

Path parameters
Name Description
probeType*
Query parameters
Name Description
shouldEnrichCostAllocationUnitUsageAndRIOptimPlatforms

Responses

Status: 200 - successful operation


getPrecomputedCostAllocationUnits


/costPartitioning/precomputed/costallocationunits

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/precomputed/costallocationunits"
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[CostAllocationUnitDTO]] result = apiInstance.getPrecomputedCostAllocationUnits();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPrecomputedCostAllocationUnits");
            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[CostAllocationUnitDTO]] result = apiInstance.getPrecomputedCostAllocationUnits();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getPrecomputedCostAllocationUnits");
            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 getPrecomputedCostAllocationUnitsWithCompletionHandler: 
              ^(map['String', array[CostAllocationUnitDTO]] 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.getPrecomputedCostAllocationUnits(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getPrecomputedCostAllocationUnitsExample
    {
        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[CostAllocationUnitDTO]] result = apiInstance.getPrecomputedCostAllocationUnits();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getPrecomputedCostAllocationUnits: " + 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->getPrecomputedCostAllocationUnits();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getPrecomputedCostAllocationUnits: ', $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->getPrecomputedCostAllocationUnits();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getPrecomputedCostAllocationUnits: $@\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.getPrecomputedCostAllocationUnits()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getPrecomputedCostAllocationUnits: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable


/cudOptimization/data/reportUUID/{reportUUID}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cudOptimization/data/reportUUID/{reportUUID}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}?overrideRiTerm=&overrideRiOfferingClass=&overrideRiPaymentOption=&overrideSpendingLimitForPurchase=&overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=&overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=&overrideFilterTags=&overrideCostPartitionId=&recomputeJobUUID="
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 | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        String overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; // String | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable");
            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 | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        String overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; // String | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable");
            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; // 
Boolean *forceExecutionEvenIfDeepRecomputeNeeded = true; // 
Integer *overrideRiTerm = 56; //  (optional)
String *overrideRiOfferingClass = overrideRiOfferingClass_example; //  (optional)
String *overrideRiPaymentOption = overrideRiPaymentOption_example; //  (optional)
Integer *overrideSpendingLimitForPurchase = 56; //  (optional)
String *overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; //  (optional)
Boolean *overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; //  (optional)
String *overrideFilterTags = overrideFilterTags_example; //  (optional)
String *overrideCostPartitionId = overrideCostPartitionId_example; //  (optional)
String *recomputeJobUUID = recomputeJobUUID_example; //  (optional)

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

// 
[apiInstance getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailableWith:reportUUID
    forceExecutionEvenIfDeepRecomputeNeeded:forceExecutionEvenIfDeepRecomputeNeeded
    overrideRiTerm:overrideRiTerm
    overrideRiOfferingClass:overrideRiOfferingClass
    overrideRiPaymentOption:overrideRiPaymentOption
    overrideSpendingLimitForPurchase:overrideSpendingLimitForPurchase
    overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount:overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
    overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments:overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments
    overrideFilterTags:overrideFilterTags
    overrideCostPartitionId:overrideCostPartitionId
    recomputeJobUUID:recomputeJobUUID
              completionHandler: ^(RIOptimReport 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 forceExecutionEvenIfDeepRecomputeNeeded = true; // {Boolean} 

var opts = { 
  'overrideRiTerm': 56, // {Integer} 
  'overrideRiOfferingClass': overrideRiOfferingClass_example, // {String} 
  'overrideRiPaymentOption': overrideRiPaymentOption_example, // {String} 
  'overrideSpendingLimitForPurchase': 56, // {Integer} 
  'overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount': overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example, // {String} 
  'overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments': true, // {Boolean} 
  'overrideFilterTags': overrideFilterTags_example, // {String} 
  'overrideCostPartitionId': overrideCostPartitionId_example, // {String} 
  'recomputeJobUUID': recomputeJobUUID_example // {String} 
};

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

namespace Example
{
    public class getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailableExample
    {
        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 forceExecutionEvenIfDeepRecomputeNeeded = true;  // Boolean | 
            var overrideRiTerm = 56;  // Integer |  (optional) 
            var overrideRiOfferingClass = overrideRiOfferingClass_example;  // String |  (optional) 
            var overrideRiPaymentOption = overrideRiPaymentOption_example;  // String |  (optional) 
            var overrideSpendingLimitForPurchase = 56;  // Integer |  (optional) 
            var overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example;  // String |  (optional) 
            var overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true;  // Boolean |  (optional) 
            var overrideFilterTags = overrideFilterTags_example;  // String |  (optional) 
            var overrideCostPartitionId = overrideCostPartitionId_example;  // String |  (optional) 
            var recomputeJobUUID = recomputeJobUUID_example;  // String |  (optional) 

            try
            {
                // 
                RIOptimReport result = apiInstance.getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId, recomputeJobUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable: " + 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 | 
$forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
$overrideRiTerm = 56; // Integer | 
$overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
$overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
$overrideSpendingLimitForPurchase = 56; // Integer | 
$overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; // String | 
$overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
$overrideFilterTags = overrideFilterTags_example; // String | 
$overrideCostPartitionId = overrideCostPartitionId_example; // String | 
$recomputeJobUUID = recomputeJobUUID_example; // String | 

try {
    $result = $api_instance->getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable($reportUUID, $forceExecutionEvenIfDeepRecomputeNeeded, $overrideRiTerm, $overrideRiOfferingClass, $overrideRiPaymentOption, $overrideSpendingLimitForPurchase, $overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, $overrideFilterTags, $overrideCostPartitionId, $recomputeJobUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable: ', $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 $forceExecutionEvenIfDeepRecomputeNeeded = true; # Boolean | 
my $overrideRiTerm = 56; # Integer | 
my $overrideRiOfferingClass = overrideRiOfferingClass_example; # String | 
my $overrideRiPaymentOption = overrideRiPaymentOption_example; # String | 
my $overrideSpendingLimitForPurchase = 56; # Integer | 
my $overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; # String | 
my $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; # Boolean | 
my $overrideFilterTags = overrideFilterTags_example; # String | 
my $overrideCostPartitionId = overrideCostPartitionId_example; # String | 
my $recomputeJobUUID = recomputeJobUUID_example; # String | 

eval { 
    my $result = $api_instance->getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID => $reportUUID, forceExecutionEvenIfDeepRecomputeNeeded => $forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm => $overrideRiTerm, overrideRiOfferingClass => $overrideRiOfferingClass, overrideRiPaymentOption => $overrideRiPaymentOption, overrideSpendingLimitForPurchase => $overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount => $overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments => $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags => $overrideFilterTags, overrideCostPartitionId => $overrideCostPartitionId, recomputeJobUUID => $recomputeJobUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable: $@\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 | 
forceExecutionEvenIfDeepRecomputeNeeded = true # Boolean | 
overrideRiTerm = 56 # Integer |  (optional)
overrideRiOfferingClass = overrideRiOfferingClass_example # String |  (optional)
overrideRiPaymentOption = overrideRiPaymentOption_example # String |  (optional)
overrideSpendingLimitForPurchase = 56 # Integer |  (optional)
overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example # String |  (optional)
overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true # Boolean |  (optional)
overrideFilterTags = overrideFilterTags_example # String |  (optional)
overrideCostPartitionId = overrideCostPartitionId_example # String |  (optional)
recomputeJobUUID = recomputeJobUUID_example # String |  (optional)

try: 
    # 
    api_response = api_instance.getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm=overrideRiTerm, overrideRiOfferingClass=overrideRiOfferingClass, overrideRiPaymentOption=overrideRiPaymentOption, overrideSpendingLimitForPurchase=overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags=overrideFilterTags, overrideCostPartitionId=overrideCostPartitionId, recomputeJobUUID=recomputeJobUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getReportCUDOptimizationDataAndLaunchProcessIfDataUnavailable: %s\n" % e)

Parameters

Path parameters
Name Description
reportUUID*
forceExecutionEvenIfDeepRecomputeNeeded*
Query parameters
Name Description
override_riTerm
override_riOfferingClass
override_riPaymentOption
override_spendingLimitForPurchase
override_showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
override_filterToKeepOnlyCAUEligibleForLongTermCommitments
override_filterTags
override_costPartitionId
recomputeJobUUID

Responses

Status: 200 - successful operation


getReportDataS3SignedURL


/chartshot/data/reportUUID/{reportUUID}/s3SignedURL

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/chartshot/data/reportUUID/{reportUUID}/s3SignedURL"
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 | 
        try {
            'String' result = apiInstance.getReportDataS3SignedURL(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportDataS3SignedURL");
            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 | 
        try {
            'String' result = apiInstance.getReportDataS3SignedURL(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportDataS3SignedURL");
            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; // 

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

// 
[apiInstance getReportDataS3SignedURLWith:reportUUID
              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 callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReportDataS3SignedURL(reportUUID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReportDataS3SignedURLExample
    {
        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 | 

            try
            {
                // 
                'String' result = apiInstance.getReportDataS3SignedURL(reportUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportDataS3SignedURL: " + 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 | 

try {
    $result = $api_instance->getReportDataS3SignedURL($reportUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportDataS3SignedURL: ', $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 | 

eval { 
    my $result = $api_instance->getReportDataS3SignedURL(reportUUID => $reportUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportDataS3SignedURL: $@\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 | 

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

Parameters

Path parameters
Name Description
reportUUID*

Responses

Status: 200 - successful operation


getReportDefinitionSearchAcrossAllCompanyReports


/customReports/reportUUID/{reportUUID}/asjson/acrossAllCompanyReports

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportUUID/{reportUUID}/asjson/acrossAllCompanyReports"
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 | 
        try {
            CustomerReportDefinitionDTO result = apiInstance.getReportDefinitionSearchAcrossAllCompanyReports(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportDefinitionSearchAcrossAllCompanyReports");
            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 | 
        try {
            CustomerReportDefinitionDTO result = apiInstance.getReportDefinitionSearchAcrossAllCompanyReports(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportDefinitionSearchAcrossAllCompanyReports");
            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; // 

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

// 
[apiInstance getReportDefinitionSearchAcrossAllCompanyReportsWith:reportUUID
              completionHandler: ^(CustomerReportDefinitionDTO 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 callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReportDefinitionSearchAcrossAllCompanyReports(reportUUID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReportDefinitionSearchAcrossAllCompanyReportsExample
    {
        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 | 

            try
            {
                // 
                CustomerReportDefinitionDTO result = apiInstance.getReportDefinitionSearchAcrossAllCompanyReports(reportUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportDefinitionSearchAcrossAllCompanyReports: " + 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 | 

try {
    $result = $api_instance->getReportDefinitionSearchAcrossAllCompanyReports($reportUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportDefinitionSearchAcrossAllCompanyReports: ', $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 | 

eval { 
    my $result = $api_instance->getReportDefinitionSearchAcrossAllCompanyReports(reportUUID => $reportUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportDefinitionSearchAcrossAllCompanyReports: $@\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 | 

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

Parameters

Path parameters
Name Description
reportUUID*

Responses

Status: 200 - successful operation


getReportDefinitionSearchAcrossLoggedInUserOwnReports


/customReports/reportUUID/{reportUUID}/asjson/acrossLoggedInUserOwnReports

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportUUID/{reportUUID}/asjson/acrossLoggedInUserOwnReports"
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 | 
        try {
            CustomerReportDefinitionDTO result = apiInstance.getReportDefinitionSearchAcrossLoggedInUserOwnReports(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportDefinitionSearchAcrossLoggedInUserOwnReports");
            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 | 
        try {
            CustomerReportDefinitionDTO result = apiInstance.getReportDefinitionSearchAcrossLoggedInUserOwnReports(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportDefinitionSearchAcrossLoggedInUserOwnReports");
            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; // 

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

// 
[apiInstance getReportDefinitionSearchAcrossLoggedInUserOwnReportsWith:reportUUID
              completionHandler: ^(CustomerReportDefinitionDTO 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 callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReportDefinitionSearchAcrossLoggedInUserOwnReports(reportUUID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReportDefinitionSearchAcrossLoggedInUserOwnReportsExample
    {
        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 | 

            try
            {
                // 
                CustomerReportDefinitionDTO result = apiInstance.getReportDefinitionSearchAcrossLoggedInUserOwnReports(reportUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportDefinitionSearchAcrossLoggedInUserOwnReports: " + 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 | 

try {
    $result = $api_instance->getReportDefinitionSearchAcrossLoggedInUserOwnReports($reportUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportDefinitionSearchAcrossLoggedInUserOwnReports: ', $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 | 

eval { 
    my $result = $api_instance->getReportDefinitionSearchAcrossLoggedInUserOwnReports(reportUUID => $reportUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportDefinitionSearchAcrossLoggedInUserOwnReports: $@\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 | 

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

Parameters

Path parameters
Name Description
reportUUID*

Responses

Status: 200 - successful operation


getReportForCustomer


/customReports/reportUUID/{reportUUID}

Usage and SDK Samples

curl -X get -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 | 
        try {
            'String' result = apiInstance.getReportForCustomer(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportForCustomer");
            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 | 
        try {
            'String' result = apiInstance.getReportForCustomer(reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportForCustomer");
            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; // 

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

// 
[apiInstance getReportForCustomerWith:reportUUID
              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 callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReportForCustomer(reportUUID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReportForCustomerExample
    {
        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 | 

            try
            {
                // 
                'String' result = apiInstance.getReportForCustomer(reportUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportForCustomer: " + 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 | 

try {
    $result = $api_instance->getReportForCustomer($reportUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportForCustomer: ', $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 | 

eval { 
    my $result = $api_instance->getReportForCustomer(reportUUID => $reportUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportForCustomer: $@\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 | 

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

Parameters

Path parameters
Name Description
reportUUID*

Responses

Status: 200 - successful operation


getReportListForCompany


/customReports/reportList/company

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportList/company"
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[CustomerReportDefinitionDTO] result = apiInstance.getReportListForCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportListForCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            array[CustomerReportDefinitionDTO] result = apiInstance.getReportListForCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportListForCompany");
            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 getReportListForCompanyWithCompletionHandler: 
              ^(array[CustomerReportDefinitionDTO] 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.getReportListForCompany(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReportListForCompanyExample
    {
        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[CustomerReportDefinitionDTO] result = apiInstance.getReportListForCompany();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportListForCompany: " + 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->getReportListForCompany();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportListForCompany: ', $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->getReportListForCompany();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportListForCompany: $@\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.getReportListForCompany()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getReportListForCompany: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getReportListForCompanyPerUserKey


/customReports/reportList/company/perUser

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportList/company/perUser?includeAliases=&includeReportDisplayPreferencesByDashboards=&shouldOnlyReturnsReportsForUsers="
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 includeAliases = true; // Boolean | 
        Boolean includeReportDisplayPreferencesByDashboards = true; // Boolean | 
        Boolean shouldOnlyReturnsReportsForUsers = true; // Boolean | 
        try {
            map['String', array[CustomerReportDefinitionDTO]] result = apiInstance.getReportListForCompanyPerUserKey(includeAliases, includeReportDisplayPreferencesByDashboards, shouldOnlyReturnsReportsForUsers);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportListForCompanyPerUserKey");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        Boolean includeAliases = true; // Boolean | 
        Boolean includeReportDisplayPreferencesByDashboards = true; // Boolean | 
        Boolean shouldOnlyReturnsReportsForUsers = true; // Boolean | 
        try {
            map['String', array[CustomerReportDefinitionDTO]] result = apiInstance.getReportListForCompanyPerUserKey(includeAliases, includeReportDisplayPreferencesByDashboards, shouldOnlyReturnsReportsForUsers);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportListForCompanyPerUserKey");
            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 *includeAliases = true; //  (optional)
Boolean *includeReportDisplayPreferencesByDashboards = true; //  (optional)
Boolean *shouldOnlyReturnsReportsForUsers = true; //  (optional)

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

// 
[apiInstance getReportListForCompanyPerUserKeyWith:includeAliases
    includeReportDisplayPreferencesByDashboards:includeReportDisplayPreferencesByDashboards
    shouldOnlyReturnsReportsForUsers:shouldOnlyReturnsReportsForUsers
              completionHandler: ^(map['String', array[CustomerReportDefinitionDTO]] 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 = { 
  'includeAliases': true, // {Boolean} 
  'includeReportDisplayPreferencesByDashboards': true, // {Boolean} 
  'shouldOnlyReturnsReportsForUsers': true // {Boolean} 
};

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

namespace Example
{
    public class getReportListForCompanyPerUserKeyExample
    {
        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 includeAliases = true;  // Boolean |  (optional) 
            var includeReportDisplayPreferencesByDashboards = true;  // Boolean |  (optional) 
            var shouldOnlyReturnsReportsForUsers = true;  // Boolean |  (optional) 

            try
            {
                // 
                map['String', array[CustomerReportDefinitionDTO]] result = apiInstance.getReportListForCompanyPerUserKey(includeAliases, includeReportDisplayPreferencesByDashboards, shouldOnlyReturnsReportsForUsers);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportListForCompanyPerUserKey: " + 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();
$includeAliases = true; // Boolean | 
$includeReportDisplayPreferencesByDashboards = true; // Boolean | 
$shouldOnlyReturnsReportsForUsers = true; // Boolean | 

try {
    $result = $api_instance->getReportListForCompanyPerUserKey($includeAliases, $includeReportDisplayPreferencesByDashboards, $shouldOnlyReturnsReportsForUsers);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportListForCompanyPerUserKey: ', $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 $includeAliases = true; # Boolean | 
my $includeReportDisplayPreferencesByDashboards = true; # Boolean | 
my $shouldOnlyReturnsReportsForUsers = true; # Boolean | 

eval { 
    my $result = $api_instance->getReportListForCompanyPerUserKey(includeAliases => $includeAliases, includeReportDisplayPreferencesByDashboards => $includeReportDisplayPreferencesByDashboards, shouldOnlyReturnsReportsForUsers => $shouldOnlyReturnsReportsForUsers);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportListForCompanyPerUserKey: $@\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()
includeAliases = true # Boolean |  (optional)
includeReportDisplayPreferencesByDashboards = true # Boolean |  (optional)
shouldOnlyReturnsReportsForUsers = true # Boolean |  (optional)

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

Parameters

Query parameters
Name Description
includeAliases
includeReportDisplayPreferencesByDashboards
shouldOnlyReturnsReportsForUsers

Responses

Status: 200 - successful operation


getReportListForLoggedInCustomer


/customReports/reportList

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportList?loadUserListWhichHasReportAlias="
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 loadUserListWhichHasReportAlias = true; // Boolean | 
        try {
            array[UserReportBase] result = apiInstance.getReportListForLoggedInCustomer(loadUserListWhichHasReportAlias);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportListForLoggedInCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        Boolean loadUserListWhichHasReportAlias = true; // Boolean | 
        try {
            array[UserReportBase] result = apiInstance.getReportListForLoggedInCustomer(loadUserListWhichHasReportAlias);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportListForLoggedInCustomer");
            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 *loadUserListWhichHasReportAlias = true; //  (optional)

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

// 
[apiInstance getReportListForLoggedInCustomerWith:loadUserListWhichHasReportAlias
              completionHandler: ^(array[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 = { 
  'loadUserListWhichHasReportAlias': true // {Boolean} 
};

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

namespace Example
{
    public class getReportListForLoggedInCustomerExample
    {
        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 loadUserListWhichHasReportAlias = true;  // Boolean |  (optional) 

            try
            {
                // 
                array[UserReportBase] result = apiInstance.getReportListForLoggedInCustomer(loadUserListWhichHasReportAlias);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportListForLoggedInCustomer: " + 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();
$loadUserListWhichHasReportAlias = true; // Boolean | 

try {
    $result = $api_instance->getReportListForLoggedInCustomer($loadUserListWhichHasReportAlias);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportListForLoggedInCustomer: ', $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 $loadUserListWhichHasReportAlias = true; # Boolean | 

eval { 
    my $result = $api_instance->getReportListForLoggedInCustomer(loadUserListWhichHasReportAlias => $loadUserListWhichHasReportAlias);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportListForLoggedInCustomer: $@\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()
loadUserListWhichHasReportAlias = true # Boolean |  (optional)

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

Parameters

Query parameters
Name Description
loadUserListWhichHasReportAlias

Responses

Status: 200 - successful operation


getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable


/reservedInstancesOptimization/data/reportUUID/{reportUUID}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/reservedInstancesOptimization/data/reportUUID/{reportUUID}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}?overrideRiTerm=&overrideRiOfferingClass=&overrideRiPaymentOption=&overrideSpendingLimitForPurchase=&overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=&overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=&overrideFilterTags=&overrideCostPartitionId=&recomputeJobUUID="
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 | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        String overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; // String | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable");
            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 | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        String overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; // String | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable");
            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; // 
Boolean *forceExecutionEvenIfDeepRecomputeNeeded = true; // 
Integer *overrideRiTerm = 56; //  (optional)
String *overrideRiOfferingClass = overrideRiOfferingClass_example; //  (optional)
String *overrideRiPaymentOption = overrideRiPaymentOption_example; //  (optional)
Integer *overrideSpendingLimitForPurchase = 56; //  (optional)
String *overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; //  (optional)
Boolean *overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; //  (optional)
String *overrideFilterTags = overrideFilterTags_example; //  (optional)
String *overrideCostPartitionId = overrideCostPartitionId_example; //  (optional)
String *recomputeJobUUID = recomputeJobUUID_example; //  (optional)

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

// 
[apiInstance getReportRIOptimizationDataAndLaunchProcessIfDataUnavailableWith:reportUUID
    forceExecutionEvenIfDeepRecomputeNeeded:forceExecutionEvenIfDeepRecomputeNeeded
    overrideRiTerm:overrideRiTerm
    overrideRiOfferingClass:overrideRiOfferingClass
    overrideRiPaymentOption:overrideRiPaymentOption
    overrideSpendingLimitForPurchase:overrideSpendingLimitForPurchase
    overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount:overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
    overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments:overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments
    overrideFilterTags:overrideFilterTags
    overrideCostPartitionId:overrideCostPartitionId
    recomputeJobUUID:recomputeJobUUID
              completionHandler: ^(RIOptimReport 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 forceExecutionEvenIfDeepRecomputeNeeded = true; // {Boolean} 

var opts = { 
  'overrideRiTerm': 56, // {Integer} 
  'overrideRiOfferingClass': overrideRiOfferingClass_example, // {String} 
  'overrideRiPaymentOption': overrideRiPaymentOption_example, // {String} 
  'overrideSpendingLimitForPurchase': 56, // {Integer} 
  'overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount': overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example, // {String} 
  'overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments': true, // {Boolean} 
  'overrideFilterTags': overrideFilterTags_example, // {String} 
  'overrideCostPartitionId': overrideCostPartitionId_example, // {String} 
  'recomputeJobUUID': recomputeJobUUID_example // {String} 
};

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

namespace Example
{
    public class getReportRIOptimizationDataAndLaunchProcessIfDataUnavailableExample
    {
        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 forceExecutionEvenIfDeepRecomputeNeeded = true;  // Boolean | 
            var overrideRiTerm = 56;  // Integer |  (optional) 
            var overrideRiOfferingClass = overrideRiOfferingClass_example;  // String |  (optional) 
            var overrideRiPaymentOption = overrideRiPaymentOption_example;  // String |  (optional) 
            var overrideSpendingLimitForPurchase = 56;  // Integer |  (optional) 
            var overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example;  // String |  (optional) 
            var overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true;  // Boolean |  (optional) 
            var overrideFilterTags = overrideFilterTags_example;  // String |  (optional) 
            var overrideCostPartitionId = overrideCostPartitionId_example;  // String |  (optional) 
            var recomputeJobUUID = recomputeJobUUID_example;  // String |  (optional) 

            try
            {
                // 
                RIOptimReport result = apiInstance.getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId, recomputeJobUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable: " + 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 | 
$forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
$overrideRiTerm = 56; // Integer | 
$overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
$overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
$overrideSpendingLimitForPurchase = 56; // Integer | 
$overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; // String | 
$overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
$overrideFilterTags = overrideFilterTags_example; // String | 
$overrideCostPartitionId = overrideCostPartitionId_example; // String | 
$recomputeJobUUID = recomputeJobUUID_example; // String | 

try {
    $result = $api_instance->getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable($reportUUID, $forceExecutionEvenIfDeepRecomputeNeeded, $overrideRiTerm, $overrideRiOfferingClass, $overrideRiPaymentOption, $overrideSpendingLimitForPurchase, $overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, $overrideFilterTags, $overrideCostPartitionId, $recomputeJobUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable: ', $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 $forceExecutionEvenIfDeepRecomputeNeeded = true; # Boolean | 
my $overrideRiTerm = 56; # Integer | 
my $overrideRiOfferingClass = overrideRiOfferingClass_example; # String | 
my $overrideRiPaymentOption = overrideRiPaymentOption_example; # String | 
my $overrideSpendingLimitForPurchase = 56; # Integer | 
my $overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example; # String | 
my $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; # Boolean | 
my $overrideFilterTags = overrideFilterTags_example; # String | 
my $overrideCostPartitionId = overrideCostPartitionId_example; # String | 
my $recomputeJobUUID = recomputeJobUUID_example; # String | 

eval { 
    my $result = $api_instance->getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID => $reportUUID, forceExecutionEvenIfDeepRecomputeNeeded => $forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm => $overrideRiTerm, overrideRiOfferingClass => $overrideRiOfferingClass, overrideRiPaymentOption => $overrideRiPaymentOption, overrideSpendingLimitForPurchase => $overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount => $overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments => $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags => $overrideFilterTags, overrideCostPartitionId => $overrideCostPartitionId, recomputeJobUUID => $recomputeJobUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable: $@\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 | 
forceExecutionEvenIfDeepRecomputeNeeded = true # Boolean | 
overrideRiTerm = 56 # Integer |  (optional)
overrideRiOfferingClass = overrideRiOfferingClass_example # String |  (optional)
overrideRiPaymentOption = overrideRiPaymentOption_example # String |  (optional)
overrideSpendingLimitForPurchase = 56 # Integer |  (optional)
overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount_example # String |  (optional)
overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true # Boolean |  (optional)
overrideFilterTags = overrideFilterTags_example # String |  (optional)
overrideCostPartitionId = overrideCostPartitionId_example # String |  (optional)
recomputeJobUUID = recomputeJobUUID_example # String |  (optional)

try: 
    # 
    api_response = api_instance.getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable(reportUUID, forceExecutionEvenIfDeepRecomputeNeeded, overrideRiTerm=overrideRiTerm, overrideRiOfferingClass=overrideRiOfferingClass, overrideRiPaymentOption=overrideRiPaymentOption, overrideSpendingLimitForPurchase=overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags=overrideFilterTags, overrideCostPartitionId=overrideCostPartitionId, recomputeJobUUID=recomputeJobUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getReportRIOptimizationDataAndLaunchProcessIfDataUnavailable: %s\n" % e)

Parameters

Path parameters
Name Description
reportUUID*
forceExecutionEvenIfDeepRecomputeNeeded*
Query parameters
Name Description
override_riTerm
override_riOfferingClass
override_riPaymentOption
override_spendingLimitForPurchase
override_showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
override_filterToKeepOnlyCAUEligibleForLongTermCommitments
override_filterTags
override_costPartitionId
recomputeJobUUID

Responses

Status: 200 - successful operation


getReportSpecificDataPartS3SignedURL


/chartshot/data/reportUUID/{reportUUID}/dataPartId/{dataPartId}/s3SignedURL

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/chartshot/data/reportUUID/{reportUUID}/dataPartId/{dataPartId}/s3SignedURL"
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 | 
        String dataPartId = dataPartId_example; // String | 
        try {
            'String' result = apiInstance.getReportSpecificDataPartS3SignedURL(reportUUID, dataPartId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportSpecificDataPartS3SignedURL");
            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 | 
        String dataPartId = dataPartId_example; // String | 
        try {
            'String' result = apiInstance.getReportSpecificDataPartS3SignedURL(reportUUID, dataPartId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getReportSpecificDataPartS3SignedURL");
            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; // 
String *dataPartId = dataPartId_example; // 

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

// 
[apiInstance getReportSpecificDataPartS3SignedURLWith:reportUUID
    dataPartId:dataPartId
              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 dataPartId = dataPartId_example; // {String} 


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

namespace Example
{
    public class getReportSpecificDataPartS3SignedURLExample
    {
        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 dataPartId = dataPartId_example;  // String | 

            try
            {
                // 
                'String' result = apiInstance.getReportSpecificDataPartS3SignedURL(reportUUID, dataPartId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getReportSpecificDataPartS3SignedURL: " + 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 | 
$dataPartId = dataPartId_example; // String | 

try {
    $result = $api_instance->getReportSpecificDataPartS3SignedURL($reportUUID, $dataPartId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getReportSpecificDataPartS3SignedURL: ', $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 $dataPartId = dataPartId_example; # String | 

eval { 
    my $result = $api_instance->getReportSpecificDataPartS3SignedURL(reportUUID => $reportUUID, dataPartId => $dataPartId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getReportSpecificDataPartS3SignedURL: $@\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 | 
dataPartId = dataPartId_example # String | 

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

Parameters

Path parameters
Name Description
reportUUID*
dataPartId*

Responses

Status: 200 - successful operation


getResourcesUsageAnalysis


/resourcesusageanalytics/data/getResourcesUsageAnalysis

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/getResourcesUsageAnalysis"
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[ResourcesUsageAnalysisDTO] result = apiInstance.getResourcesUsageAnalysis();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getResourcesUsageAnalysis");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            array[ResourcesUsageAnalysisDTO] result = apiInstance.getResourcesUsageAnalysis();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getResourcesUsageAnalysis");
            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 getResourcesUsageAnalysisWithCompletionHandler: 
              ^(array[ResourcesUsageAnalysisDTO] 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.getResourcesUsageAnalysis(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getResourcesUsageAnalysisExample
    {
        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[ResourcesUsageAnalysisDTO] result = apiInstance.getResourcesUsageAnalysis();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getResourcesUsageAnalysis: " + 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->getResourcesUsageAnalysis();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getResourcesUsageAnalysis: ', $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->getResourcesUsageAnalysis();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getResourcesUsageAnalysis: $@\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.getResourcesUsageAnalysis()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getResourcesUsageAnalysis: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getResourcesUsageAnalysisForKey


/resourcesusageanalytics/data/getResourcesUsageAnalysis/forKey

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/getResourcesUsageAnalysis/forKey?resourceUsageAnalysisDatastoreKey="
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 resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example; // String | 
        try {
            ResourcesUsageAnalysisDTO result = apiInstance.getResourcesUsageAnalysisForKey(resourceUsageAnalysisDatastoreKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getResourcesUsageAnalysisForKey");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example; // String | 
        try {
            ResourcesUsageAnalysisDTO result = apiInstance.getResourcesUsageAnalysisForKey(resourceUsageAnalysisDatastoreKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getResourcesUsageAnalysisForKey");
            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 *resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example; //  (optional)

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

// 
[apiInstance getResourcesUsageAnalysisForKeyWith:resourceUsageAnalysisDatastoreKey
              completionHandler: ^(ResourcesUsageAnalysisDTO 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 = { 
  'resourceUsageAnalysisDatastoreKey': resourceUsageAnalysisDatastoreKey_example // {String} 
};

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

namespace Example
{
    public class getResourcesUsageAnalysisForKeyExample
    {
        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 resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example;  // String |  (optional) 

            try
            {
                // 
                ResourcesUsageAnalysisDTO result = apiInstance.getResourcesUsageAnalysisForKey(resourceUsageAnalysisDatastoreKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getResourcesUsageAnalysisForKey: " + 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();
$resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example; // String | 

try {
    $result = $api_instance->getResourcesUsageAnalysisForKey($resourceUsageAnalysisDatastoreKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getResourcesUsageAnalysisForKey: ', $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 $resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example; # String | 

eval { 
    my $result = $api_instance->getResourcesUsageAnalysisForKey(resourceUsageAnalysisDatastoreKey => $resourceUsageAnalysisDatastoreKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getResourcesUsageAnalysisForKey: $@\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()
resourceUsageAnalysisDatastoreKey = resourceUsageAnalysisDatastoreKey_example # String |  (optional)

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

Parameters

Query parameters
Name Description
resourceUsageAnalysisDatastoreKey

Responses

Status: 200 - successful operation


getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking


/resourcesusageanalytics/data/perCostAllocationUnitAnalysisCirclePackingForLoggedInCustomer

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/perCostAllocationUnitAnalysisCirclePackingForLoggedInCustomer?costPartitionId=&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 costPartitionId = costPartitionId_example; // String | 
        String reportUUID = reportUUID_example; // String | 
        try {
            S3ResourcesUsageAnalyticsDTO result = apiInstance.getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(costPartitionId, reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String costPartitionId = costPartitionId_example; // String | 
        String reportUUID = reportUUID_example; // String | 
        try {
            S3ResourcesUsageAnalyticsDTO result = apiInstance.getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(costPartitionId, reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking");
            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 *costPartitionId = costPartitionId_example; //  (optional)
String *reportUUID = reportUUID_example; //  (optional)

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

// 
[apiInstance getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePackingWith:costPartitionId
    reportUUID:reportUUID
              completionHandler: ^(S3ResourcesUsageAnalyticsDTO 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 = { 
  'costPartitionId': costPartitionId_example, // {String} 
  'reportUUID': reportUUID_example // {String} 
};

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

namespace Example
{
    public class getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePackingExample
    {
        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 costPartitionId = costPartitionId_example;  // String |  (optional) 
            var reportUUID = reportUUID_example;  // String |  (optional) 

            try
            {
                // 
                S3ResourcesUsageAnalyticsDTO result = apiInstance.getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(costPartitionId, reportUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking: " + 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();
$costPartitionId = costPartitionId_example; // String | 
$reportUUID = reportUUID_example; // String | 

try {
    $result = $api_instance->getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking($costPartitionId, $reportUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking: ', $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 $costPartitionId = costPartitionId_example; # String | 
my $reportUUID = reportUUID_example; # String | 

eval { 
    my $result = $api_instance->getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(costPartitionId => $costPartitionId, reportUUID => $reportUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking: $@\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()
costPartitionId = costPartitionId_example # String |  (optional)
reportUUID = reportUUID_example # String |  (optional)

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

Parameters

Query parameters
Name Description
costPartitionId
reportUUID

Responses

Status: 200 - successful operation


getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking


/resourcesusageanalytics/data/perCostAllocationUnitAnalysisS3SignedURLCirclePacking/customerId/{customerId}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/perCostAllocationUnitAnalysisS3SignedURLCirclePacking/customerId/{customerId}?costPartitionId=&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 customerId = customerId_example; // String | 
        String costPartitionId = costPartitionId_example; // String | 
        String reportUUID = reportUUID_example; // String | 
        try {
            'String' result = apiInstance.getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(customerId, costPartitionId, reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String customerId = customerId_example; // String | 
        String costPartitionId = costPartitionId_example; // String | 
        String reportUUID = reportUUID_example; // String | 
        try {
            'String' result = apiInstance.getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(customerId, costPartitionId, reportUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking");
            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 *customerId = customerId_example; // 
String *costPartitionId = costPartitionId_example; //  (optional)
String *reportUUID = reportUUID_example; //  (optional)

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

// 
[apiInstance getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePackingWith:customerId
    costPartitionId:costPartitionId
    reportUUID:reportUUID
              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 customerId = customerId_example; // {String} 

var opts = { 
  'costPartitionId': costPartitionId_example, // {String} 
  'reportUUID': reportUUID_example // {String} 
};

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

namespace Example
{
    public class getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePackingExample
    {
        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 customerId = customerId_example;  // String | 
            var costPartitionId = costPartitionId_example;  // String |  (optional) 
            var reportUUID = reportUUID_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(customerId, costPartitionId, reportUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking: " + 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();
$customerId = customerId_example; // String | 
$costPartitionId = costPartitionId_example; // String | 
$reportUUID = reportUUID_example; // String | 

try {
    $result = $api_instance->getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking($customerId, $costPartitionId, $reportUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking: ', $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 $customerId = customerId_example; # String | 
my $costPartitionId = costPartitionId_example; # String | 
my $reportUUID = reportUUID_example; # String | 

eval { 
    my $result = $api_instance->getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking(customerId => $customerId, costPartitionId => $costPartitionId, reportUUID => $reportUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getS3SignedURLResourcesUsageAnalyticsAnalysisPerCostAllocationUnitCirclePacking: $@\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()
customerId = customerId_example # String | 
costPartitionId = costPartitionId_example # String |  (optional)
reportUUID = reportUUID_example # String |  (optional)

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

Parameters

Path parameters
Name Description
customerId*
Query parameters
Name Description
costPartitionId
reportUUID

Responses

Status: 200 - successful operation


getSamlConfig


/saml/config

Usage and SDK Samples

curl -X get -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.getSamlConfig();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getSamlConfig");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            apiInstance.getSamlConfig();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getSamlConfig");
            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 getSamlConfigWithCompletionHandler: 
              ^(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.getSamlConfig(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSamlConfigExample
    {
        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.getSamlConfig();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getSamlConfig: " + 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->getSamlConfig();
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getSamlConfig: ', $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->getSamlConfig();
};
if ($@) {
    warn "Exception when calling PublicApi->getSamlConfig: $@\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.getSamlConfig()
except ApiException as e:
    print("Exception when calling PublicApi->getSamlConfig: %s\n" % e)

Parameters

Responses

Status: 0 - successful operation


getSamlInfo


/saml/info

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/saml/info"
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.getSamlInfo();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getSamlInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            apiInstance.getSamlInfo();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getSamlInfo");
            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 getSamlInfoWithCompletionHandler: 
              ^(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.getSamlInfo(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSamlInfoExample
    {
        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.getSamlInfo();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getSamlInfo: " + 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->getSamlInfo();
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getSamlInfo: ', $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->getSamlInfo();
};
if ($@) {
    warn "Exception when calling PublicApi->getSamlInfo: $@\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.getSamlInfo()
except ApiException as e:
    print("Exception when calling PublicApi->getSamlInfo: %s\n" % e)

Parameters

Responses

Status: 0 - successful operation


getScoringLogicTemplate


/resourcesusageanalytics/configuration/scoringLogicTemplates/{templateUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/scoringLogicTemplates/{templateUUID}"
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 templateUUID = templateUUID_example; // String | 
        try {
            ScoringLogicTemplateImportExportDTO result = apiInstance.getScoringLogicTemplate(templateUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getScoringLogicTemplate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String templateUUID = templateUUID_example; // String | 
        try {
            ScoringLogicTemplateImportExportDTO result = apiInstance.getScoringLogicTemplate(templateUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getScoringLogicTemplate");
            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 *templateUUID = templateUUID_example; // 

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

// 
[apiInstance getScoringLogicTemplateWith:templateUUID
              completionHandler: ^(ScoringLogicTemplateImportExportDTO 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 templateUUID = templateUUID_example; // {String} 


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

namespace Example
{
    public class getScoringLogicTemplateExample
    {
        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 templateUUID = templateUUID_example;  // String | 

            try
            {
                // 
                ScoringLogicTemplateImportExportDTO result = apiInstance.getScoringLogicTemplate(templateUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getScoringLogicTemplate: " + 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();
$templateUUID = templateUUID_example; // String | 

try {
    $result = $api_instance->getScoringLogicTemplate($templateUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getScoringLogicTemplate: ', $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 $templateUUID = templateUUID_example; # String | 

eval { 
    my $result = $api_instance->getScoringLogicTemplate(templateUUID => $templateUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getScoringLogicTemplate: $@\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()
templateUUID = templateUUID_example # String | 

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

Parameters

Path parameters
Name Description
templateUUID*

Responses

Status: 200 - successful operation


getScoringLogicTemplateList


/resourcesusageanalytics/configuration/scoringLogicTemplates/list

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/scoringLogicTemplates/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[ScoringLogicTemplateListItemImportExportDTO] result = apiInstance.getScoringLogicTemplateList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getScoringLogicTemplateList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            array[ScoringLogicTemplateListItemImportExportDTO] result = apiInstance.getScoringLogicTemplateList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getScoringLogicTemplateList");
            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 getScoringLogicTemplateListWithCompletionHandler: 
              ^(array[ScoringLogicTemplateListItemImportExportDTO] 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.getScoringLogicTemplateList(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getScoringLogicTemplateListExample
    {
        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[ScoringLogicTemplateListItemImportExportDTO] result = apiInstance.getScoringLogicTemplateList();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getScoringLogicTemplateList: " + 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->getScoringLogicTemplateList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getScoringLogicTemplateList: ', $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->getScoringLogicTemplateList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getScoringLogicTemplateList: $@\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.getScoringLogicTemplateList()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getScoringLogicTemplateList: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getSpecificUser


/customers/getSpecificUser

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/getSpecificUser?email="
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 email = email_example; // String | 
        try {
            Customer result = apiInstance.getSpecificUser(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getSpecificUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String email = email_example; // String | 
        try {
            Customer result = apiInstance.getSpecificUser(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getSpecificUser");
            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 *email = email_example; //  (optional)

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

// 
[apiInstance getSpecificUserWith:email
              completionHandler: ^(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 = { 
  'email': email_example // {String} 
};

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

namespace Example
{
    public class getSpecificUserExample
    {
        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 email = email_example;  // String |  (optional) 

            try
            {
                // 
                Customer result = apiInstance.getSpecificUser(email);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getSpecificUser: " + 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();
$email = email_example; // String | 

try {
    $result = $api_instance->getSpecificUser($email);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getSpecificUser: ', $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 $email = email_example; # String | 

eval { 
    my $result = $api_instance->getSpecificUser(email => $email);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getSpecificUser: $@\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()
email = email_example # String |  (optional)

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

Parameters

Query parameters
Name Description
email

Responses

Status: 200 - successful operation


getStakeholderListDetailedForCostAllocationUnitsJson


/customers/stakeholderManagement/stakeholderListDetailed/forCAUs

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderManagement/stakeholderListDetailed/forCAUs"
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();
        CostAllocationUnitIdsList body = ; // CostAllocationUnitIdsList | 
        try {
            map['String', StakeholdersGroupItemString] result = apiInstance.getStakeholderListDetailedForCostAllocationUnitsJson(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStakeholderListDetailedForCostAllocationUnitsJson");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CostAllocationUnitIdsList body = ; // CostAllocationUnitIdsList | 
        try {
            map['String', StakeholdersGroupItemString] result = apiInstance.getStakeholderListDetailedForCostAllocationUnitsJson(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStakeholderListDetailedForCostAllocationUnitsJson");
            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"];

CostAllocationUnitIdsList *body = ; //  (optional)

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

// 
[apiInstance getStakeholderListDetailedForCostAllocationUnitsJsonWith:body
              completionHandler: ^(map['String', StakeholdersGroupItemString] 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':  // {CostAllocationUnitIdsList} 
};

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

namespace Example
{
    public class getStakeholderListDetailedForCostAllocationUnitsJsonExample
    {
        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 CostAllocationUnitIdsList(); // CostAllocationUnitIdsList |  (optional) 

            try
            {
                // 
                map['String', StakeholdersGroupItemString] result = apiInstance.getStakeholderListDetailedForCostAllocationUnitsJson(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getStakeholderListDetailedForCostAllocationUnitsJson: " + 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 = ; // CostAllocationUnitIdsList | 

try {
    $result = $api_instance->getStakeholderListDetailedForCostAllocationUnitsJson($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getStakeholderListDetailedForCostAllocationUnitsJson: ', $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::CostAllocationUnitIdsList->new(); # CostAllocationUnitIdsList | 

eval { 
    my $result = $api_instance->getStakeholderListDetailedForCostAllocationUnitsJson(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getStakeholderListDetailedForCostAllocationUnitsJson: $@\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 =  # CostAllocationUnitIdsList |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getStakeholderListForCostAllocationUnitsJson


/customers/stakeholderManagement/stakeholderList/forCAUs

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderManagement/stakeholderList/forCAUs"
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();
        CostAllocationUnitIdsList body = ; // CostAllocationUnitIdsList | 
        try {
            map['String', array['String']] result = apiInstance.getStakeholderListForCostAllocationUnitsJson(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStakeholderListForCostAllocationUnitsJson");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CostAllocationUnitIdsList body = ; // CostAllocationUnitIdsList | 
        try {
            map['String', array['String']] result = apiInstance.getStakeholderListForCostAllocationUnitsJson(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStakeholderListForCostAllocationUnitsJson");
            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"];

CostAllocationUnitIdsList *body = ; //  (optional)

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

// 
[apiInstance getStakeholderListForCostAllocationUnitsJsonWith:body
              completionHandler: ^(map['String', 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 = { 
  'body':  // {CostAllocationUnitIdsList} 
};

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

namespace Example
{
    public class getStakeholderListForCostAllocationUnitsJsonExample
    {
        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 CostAllocationUnitIdsList(); // CostAllocationUnitIdsList |  (optional) 

            try
            {
                // 
                map['String', array['String']] result = apiInstance.getStakeholderListForCostAllocationUnitsJson(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getStakeholderListForCostAllocationUnitsJson: " + 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 = ; // CostAllocationUnitIdsList | 

try {
    $result = $api_instance->getStakeholderListForCostAllocationUnitsJson($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getStakeholderListForCostAllocationUnitsJson: ', $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::CostAllocationUnitIdsList->new(); # CostAllocationUnitIdsList | 

eval { 
    my $result = $api_instance->getStakeholderListForCostAllocationUnitsJson(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getStakeholderListForCostAllocationUnitsJson: $@\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 =  # CostAllocationUnitIdsList |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getStakeholdernessDetailedForUser


/customers/stakeholderManagement/stakeholdernessList/forUser

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderManagement/stakeholdernessList/forUser?email="
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 email = email_example; // String | 
        try {
            StakeholdernessDetailed result = apiInstance.getStakeholdernessDetailedForUser(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStakeholdernessDetailedForUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String email = email_example; // String | 
        try {
            StakeholdernessDetailed result = apiInstance.getStakeholdernessDetailedForUser(email);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStakeholdernessDetailedForUser");
            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 *email = email_example; //  (optional)

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

// 
[apiInstance getStakeholdernessDetailedForUserWith:email
              completionHandler: ^(StakeholdernessDetailed 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 = { 
  'email': email_example // {String} 
};

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

namespace Example
{
    public class getStakeholdernessDetailedForUserExample
    {
        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 email = email_example;  // String |  (optional) 

            try
            {
                // 
                StakeholdernessDetailed result = apiInstance.getStakeholdernessDetailedForUser(email);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getStakeholdernessDetailedForUser: " + 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();
$email = email_example; // String | 

try {
    $result = $api_instance->getStakeholdernessDetailedForUser($email);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getStakeholdernessDetailedForUser: ', $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 $email = email_example; # String | 

eval { 
    my $result = $api_instance->getStakeholdernessDetailedForUser(email => $email);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getStakeholdernessDetailedForUser: $@\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()
email = email_example # String |  (optional)

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

Parameters

Query parameters
Name Description
email

Responses

Status: 200 - successful operation


getStatusForAllPlatformsForCustomer


/cloudplatforms/statusForAllPlatformsForCustomer

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/statusForAllPlatformsForCustomer"
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', CloudServiceDetailedStatus] result = apiInstance.getStatusForAllPlatformsForCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStatusForAllPlatformsForCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            map['String', CloudServiceDetailedStatus] result = apiInstance.getStatusForAllPlatformsForCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStatusForAllPlatformsForCustomer");
            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 getStatusForAllPlatformsForCustomerWithCompletionHandler: 
              ^(map['String', CloudServiceDetailedStatus] 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.getStatusForAllPlatformsForCustomer(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getStatusForAllPlatformsForCustomerExample
    {
        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', CloudServiceDetailedStatus] result = apiInstance.getStatusForAllPlatformsForCustomer();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getStatusForAllPlatformsForCustomer: " + 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->getStatusForAllPlatformsForCustomer();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getStatusForAllPlatformsForCustomer: ', $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->getStatusForAllPlatformsForCustomer();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getStatusForAllPlatformsForCustomer: $@\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.getStatusForAllPlatformsForCustomer()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getStatusForAllPlatformsForCustomer: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getStatusForRecurringDashboardsCloningFromTemplateUser


/dashboardsCloning/status

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/status"
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 body = body_example; // String | 
        try {
            DashboardsCloningTaskStatusDTO result = apiInstance.getStatusForRecurringDashboardsCloningFromTemplateUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStatusForRecurringDashboardsCloningFromTemplateUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String body = body_example; // String | 
        try {
            DashboardsCloningTaskStatusDTO result = apiInstance.getStatusForRecurringDashboardsCloningFromTemplateUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getStatusForRecurringDashboardsCloningFromTemplateUser");
            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 *body = body_example; //  (optional)

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

// 
[apiInstance getStatusForRecurringDashboardsCloningFromTemplateUserWith:body
              completionHandler: ^(DashboardsCloningTaskStatusDTO 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': body_example // {String} 
};

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

namespace Example
{
    public class getStatusForRecurringDashboardsCloningFromTemplateUserExample
    {
        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 = body_example;  // String |  (optional) 

            try
            {
                // 
                DashboardsCloningTaskStatusDTO result = apiInstance.getStatusForRecurringDashboardsCloningFromTemplateUser(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getStatusForRecurringDashboardsCloningFromTemplateUser: " + 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 = body_example; // String | 

try {
    $result = $api_instance->getStatusForRecurringDashboardsCloningFromTemplateUser($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getStatusForRecurringDashboardsCloningFromTemplateUser: ', $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::String->new(); # String | 

eval { 
    my $result = $api_instance->getStatusForRecurringDashboardsCloningFromTemplateUser(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getStatusForRecurringDashboardsCloningFromTemplateUser: $@\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 = body_example # String |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getTopPrecomputedCostAllocationUnits


/costPartitioning/precomputed/topcostallocationunits

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/precomputed/topcostallocationunits"
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[CostAllocationDTO]] result = apiInstance.getTopPrecomputedCostAllocationUnits();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getTopPrecomputedCostAllocationUnits");
            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[CostAllocationDTO]] result = apiInstance.getTopPrecomputedCostAllocationUnits();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getTopPrecomputedCostAllocationUnits");
            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 getTopPrecomputedCostAllocationUnitsWithCompletionHandler: 
              ^(map['String', array[CostAllocationDTO]] 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.getTopPrecomputedCostAllocationUnits(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTopPrecomputedCostAllocationUnitsExample
    {
        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[CostAllocationDTO]] result = apiInstance.getTopPrecomputedCostAllocationUnits();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getTopPrecomputedCostAllocationUnits: " + 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->getTopPrecomputedCostAllocationUnits();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getTopPrecomputedCostAllocationUnits: ', $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->getTopPrecomputedCostAllocationUnits();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getTopPrecomputedCostAllocationUnits: $@\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.getTopPrecomputedCostAllocationUnits()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getTopPrecomputedCostAllocationUnits: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


getUserDefinedVariable


/userDefinedVariables/companyWide/property/{propertyName}

Usage and SDK Samples

curl -X get -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 {
            'String' result = apiInstance.getUserDefinedVariable(propertyName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getUserDefinedVariable");
            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 {
            'String' result = apiInstance.getUserDefinedVariable(propertyName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getUserDefinedVariable");
            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; // 

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

// 
[apiInstance getUserDefinedVariableWith:propertyName
              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 propertyName = propertyName_example; // {String} 


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

namespace Example
{
    public class getUserDefinedVariableExample
    {
        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 | 

            try
            {
                // 
                'String' result = apiInstance.getUserDefinedVariable(propertyName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getUserDefinedVariable: " + 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 {
    $result = $api_instance->getUserDefinedVariable($propertyName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getUserDefinedVariable: ', $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 { 
    my $result = $api_instance->getUserDefinedVariable(propertyName => $propertyName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getUserDefinedVariable: $@\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 | 

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

Parameters

Path parameters
Name Description
propertyName*

Responses

Status: 200 - successful operation


getUserDefinedVariableList


/userDefinedVariables/companyWide/list

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/userDefinedVariables/companyWide/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 {
            map['String', 'String'] result = apiInstance.getUserDefinedVariableList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getUserDefinedVariableList");
            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.getUserDefinedVariableList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#getUserDefinedVariableList");
            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 getUserDefinedVariableListWithCompletionHandler: 
              ^(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.getUserDefinedVariableList(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUserDefinedVariableListExample
    {
        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.getUserDefinedVariableList();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.getUserDefinedVariableList: " + 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->getUserDefinedVariableList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->getUserDefinedVariableList: ', $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->getUserDefinedVariableList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->getUserDefinedVariableList: $@\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.getUserDefinedVariableList()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->getUserDefinedVariableList: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


importCostPartitionForCompanyAsync


/cloudplatforms/importCostPartition/forCompany/async

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/importCostPartition/forCompany/async"
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 versionnedCostPartitionId = versionnedCostPartitionId_example; // String | 
        try {
            'String' result = apiInstance.importCostPartitionForCompanyAsync(versionnedCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#importCostPartitionForCompanyAsync");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String versionnedCostPartitionId = versionnedCostPartitionId_example; // String | 
        try {
            'String' result = apiInstance.importCostPartitionForCompanyAsync(versionnedCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#importCostPartitionForCompanyAsync");
            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 *versionnedCostPartitionId = versionnedCostPartitionId_example; //  (optional)

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

// 
[apiInstance importCostPartitionForCompanyAsyncWith:versionnedCostPartitionId
              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 = { 
  'versionnedCostPartitionId': versionnedCostPartitionId_example // {String} 
};

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

namespace Example
{
    public class importCostPartitionForCompanyAsyncExample
    {
        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 versionnedCostPartitionId = versionnedCostPartitionId_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.importCostPartitionForCompanyAsync(versionnedCostPartitionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.importCostPartitionForCompanyAsync: " + 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();
$versionnedCostPartitionId = versionnedCostPartitionId_example; // String | 

try {
    $result = $api_instance->importCostPartitionForCompanyAsync($versionnedCostPartitionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->importCostPartitionForCompanyAsync: ', $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 $versionnedCostPartitionId = versionnedCostPartitionId_example; # String | 

eval { 
    my $result = $api_instance->importCostPartitionForCompanyAsync(versionnedCostPartitionId => $versionnedCostPartitionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->importCostPartitionForCompanyAsync: $@\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()
versionnedCostPartitionId = versionnedCostPartitionId_example # String |  (optional)

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

Parameters

Form parameters
Name Description
versionnedCostPartitionId

Responses

Status: 200 - successful operation


isDeepRecomputeNeeded


/reservedInstancesOptimization/isDeepRecomputeNeeded/reportUUID/{reportUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/reservedInstancesOptimization/isDeepRecomputeNeeded/reportUUID/{reportUUID}?platformId=&overrideRiTerm=&overrideRiOfferingClass=&overrideRiPaymentOption=&overrideSpendingLimitForPurchase=&overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=&overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=&overrideFilterTags=&overrideCostPartitionId="
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 | 
        String platformId = platformId_example; // String | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        Boolean overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        try {
            'Boolean' result = apiInstance.isDeepRecomputeNeeded(reportUUID, platformId, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isDeepRecomputeNeeded");
            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 | 
        String platformId = platformId_example; // String | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        Boolean overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        try {
            'Boolean' result = apiInstance.isDeepRecomputeNeeded(reportUUID, platformId, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isDeepRecomputeNeeded");
            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; // 
String *platformId = platformId_example; //  (optional)
Integer *overrideRiTerm = 56; //  (optional)
String *overrideRiOfferingClass = overrideRiOfferingClass_example; //  (optional)
String *overrideRiPaymentOption = overrideRiPaymentOption_example; //  (optional)
Integer *overrideSpendingLimitForPurchase = 56; //  (optional)
Boolean *overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; //  (optional)
Boolean *overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; //  (optional)
String *overrideFilterTags = overrideFilterTags_example; //  (optional)
String *overrideCostPartitionId = overrideCostPartitionId_example; //  (optional)

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

// 
[apiInstance isDeepRecomputeNeededWith:reportUUID
    platformId:platformId
    overrideRiTerm:overrideRiTerm
    overrideRiOfferingClass:overrideRiOfferingClass
    overrideRiPaymentOption:overrideRiPaymentOption
    overrideSpendingLimitForPurchase:overrideSpendingLimitForPurchase
    overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount:overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
    overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments:overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments
    overrideFilterTags:overrideFilterTags
    overrideCostPartitionId:overrideCostPartitionId
              completionHandler: ^('Boolean' 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 = { 
  'platformId': platformId_example, // {String} 
  'overrideRiTerm': 56, // {Integer} 
  'overrideRiOfferingClass': overrideRiOfferingClass_example, // {String} 
  'overrideRiPaymentOption': overrideRiPaymentOption_example, // {String} 
  'overrideSpendingLimitForPurchase': 56, // {Integer} 
  'overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount': true, // {Boolean} 
  'overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments': true, // {Boolean} 
  'overrideFilterTags': overrideFilterTags_example, // {String} 
  'overrideCostPartitionId': overrideCostPartitionId_example // {String} 
};

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

namespace Example
{
    public class isDeepRecomputeNeededExample
    {
        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 platformId = platformId_example;  // String |  (optional) 
            var overrideRiTerm = 56;  // Integer |  (optional) 
            var overrideRiOfferingClass = overrideRiOfferingClass_example;  // String |  (optional) 
            var overrideRiPaymentOption = overrideRiPaymentOption_example;  // String |  (optional) 
            var overrideSpendingLimitForPurchase = 56;  // Integer |  (optional) 
            var overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true;  // Boolean |  (optional) 
            var overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true;  // Boolean |  (optional) 
            var overrideFilterTags = overrideFilterTags_example;  // String |  (optional) 
            var overrideCostPartitionId = overrideCostPartitionId_example;  // String |  (optional) 

            try
            {
                // 
                'Boolean' result = apiInstance.isDeepRecomputeNeeded(reportUUID, platformId, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.isDeepRecomputeNeeded: " + 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 | 
$platformId = platformId_example; // String | 
$overrideRiTerm = 56; // Integer | 
$overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
$overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
$overrideSpendingLimitForPurchase = 56; // Integer | 
$overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
$overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
$overrideFilterTags = overrideFilterTags_example; // String | 
$overrideCostPartitionId = overrideCostPartitionId_example; // String | 

try {
    $result = $api_instance->isDeepRecomputeNeeded($reportUUID, $platformId, $overrideRiTerm, $overrideRiOfferingClass, $overrideRiPaymentOption, $overrideSpendingLimitForPurchase, $overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, $overrideFilterTags, $overrideCostPartitionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->isDeepRecomputeNeeded: ', $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 $platformId = platformId_example; # String | 
my $overrideRiTerm = 56; # Integer | 
my $overrideRiOfferingClass = overrideRiOfferingClass_example; # String | 
my $overrideRiPaymentOption = overrideRiPaymentOption_example; # String | 
my $overrideSpendingLimitForPurchase = 56; # Integer | 
my $overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; # Boolean | 
my $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; # Boolean | 
my $overrideFilterTags = overrideFilterTags_example; # String | 
my $overrideCostPartitionId = overrideCostPartitionId_example; # String | 

eval { 
    my $result = $api_instance->isDeepRecomputeNeeded(reportUUID => $reportUUID, platformId => $platformId, overrideRiTerm => $overrideRiTerm, overrideRiOfferingClass => $overrideRiOfferingClass, overrideRiPaymentOption => $overrideRiPaymentOption, overrideSpendingLimitForPurchase => $overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount => $overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments => $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags => $overrideFilterTags, overrideCostPartitionId => $overrideCostPartitionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->isDeepRecomputeNeeded: $@\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 | 
platformId = platformId_example # String |  (optional)
overrideRiTerm = 56 # Integer |  (optional)
overrideRiOfferingClass = overrideRiOfferingClass_example # String |  (optional)
overrideRiPaymentOption = overrideRiPaymentOption_example # String |  (optional)
overrideSpendingLimitForPurchase = 56 # Integer |  (optional)
overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true # Boolean |  (optional)
overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true # Boolean |  (optional)
overrideFilterTags = overrideFilterTags_example # String |  (optional)
overrideCostPartitionId = overrideCostPartitionId_example # String |  (optional)

try: 
    # 
    api_response = api_instance.isDeepRecomputeNeeded(reportUUID, platformId=platformId, overrideRiTerm=overrideRiTerm, overrideRiOfferingClass=overrideRiOfferingClass, overrideRiPaymentOption=overrideRiPaymentOption, overrideSpendingLimitForPurchase=overrideSpendingLimitForPurchase, overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=overrideShowOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags=overrideFilterTags, overrideCostPartitionId=overrideCostPartitionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->isDeepRecomputeNeeded: %s\n" % e)

Parameters

Path parameters
Name Description
reportUUID*
Query parameters
Name Description
platformId
override_riTerm
override_riOfferingClass
override_riPaymentOption
override_spendingLimitForPurchase
override_showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
override_filterToKeepOnlyCAUEligibleForLongTermCommitments
override_filterTags
override_costPartitionId

Responses

Status: 200 - successful operation


isDeepRecomputeNeededForCUDOptimReport


/cudOptimization/isDeepRecomputeNeeded/reportUUID/{reportUUID}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cudOptimization/isDeepRecomputeNeeded/reportUUID/{reportUUID}?platformId=&overrideRiTerm=&overrideRiOfferingClass=&overrideRiPaymentOption=&overrideSpendingLimitForPurchase=&overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=&overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=&overrideFilterTags=&overrideCostPartitionId="
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 | 
        String platformId = platformId_example; // String | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        Boolean overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        try {
            'Boolean' result = apiInstance.isDeepRecomputeNeededForCUDOptimReport(reportUUID, platformId, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isDeepRecomputeNeededForCUDOptimReport");
            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 | 
        String platformId = platformId_example; // String | 
        Integer overrideRiTerm = 56; // Integer | 
        String overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
        String overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
        Integer overrideSpendingLimitForPurchase = 56; // Integer | 
        Boolean overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String overrideFilterTags = overrideFilterTags_example; // String | 
        String overrideCostPartitionId = overrideCostPartitionId_example; // String | 
        try {
            'Boolean' result = apiInstance.isDeepRecomputeNeededForCUDOptimReport(reportUUID, platformId, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isDeepRecomputeNeededForCUDOptimReport");
            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; // 
String *platformId = platformId_example; //  (optional)
Integer *overrideRiTerm = 56; //  (optional)
String *overrideRiOfferingClass = overrideRiOfferingClass_example; //  (optional)
String *overrideRiPaymentOption = overrideRiPaymentOption_example; //  (optional)
Integer *overrideSpendingLimitForPurchase = 56; //  (optional)
Boolean *overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; //  (optional)
Boolean *overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; //  (optional)
String *overrideFilterTags = overrideFilterTags_example; //  (optional)
String *overrideCostPartitionId = overrideCostPartitionId_example; //  (optional)

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

// 
[apiInstance isDeepRecomputeNeededForCUDOptimReportWith:reportUUID
    platformId:platformId
    overrideRiTerm:overrideRiTerm
    overrideRiOfferingClass:overrideRiOfferingClass
    overrideRiPaymentOption:overrideRiPaymentOption
    overrideSpendingLimitForPurchase:overrideSpendingLimitForPurchase
    overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount:overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
    overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments:overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments
    overrideFilterTags:overrideFilterTags
    overrideCostPartitionId:overrideCostPartitionId
              completionHandler: ^('Boolean' 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 = { 
  'platformId': platformId_example, // {String} 
  'overrideRiTerm': 56, // {Integer} 
  'overrideRiOfferingClass': overrideRiOfferingClass_example, // {String} 
  'overrideRiPaymentOption': overrideRiPaymentOption_example, // {String} 
  'overrideSpendingLimitForPurchase': 56, // {Integer} 
  'overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount': true, // {Boolean} 
  'overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments': true, // {Boolean} 
  'overrideFilterTags': overrideFilterTags_example, // {String} 
  'overrideCostPartitionId': overrideCostPartitionId_example // {String} 
};

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

namespace Example
{
    public class isDeepRecomputeNeededForCUDOptimReportExample
    {
        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 platformId = platformId_example;  // String |  (optional) 
            var overrideRiTerm = 56;  // Integer |  (optional) 
            var overrideRiOfferingClass = overrideRiOfferingClass_example;  // String |  (optional) 
            var overrideRiPaymentOption = overrideRiPaymentOption_example;  // String |  (optional) 
            var overrideSpendingLimitForPurchase = 56;  // Integer |  (optional) 
            var overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true;  // Boolean |  (optional) 
            var overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true;  // Boolean |  (optional) 
            var overrideFilterTags = overrideFilterTags_example;  // String |  (optional) 
            var overrideCostPartitionId = overrideCostPartitionId_example;  // String |  (optional) 

            try
            {
                // 
                'Boolean' result = apiInstance.isDeepRecomputeNeededForCUDOptimReport(reportUUID, platformId, overrideRiTerm, overrideRiOfferingClass, overrideRiPaymentOption, overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags, overrideCostPartitionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.isDeepRecomputeNeededForCUDOptimReport: " + 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 | 
$platformId = platformId_example; // String | 
$overrideRiTerm = 56; // Integer | 
$overrideRiOfferingClass = overrideRiOfferingClass_example; // String | 
$overrideRiPaymentOption = overrideRiPaymentOption_example; // String | 
$overrideSpendingLimitForPurchase = 56; // Integer | 
$overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
$overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
$overrideFilterTags = overrideFilterTags_example; // String | 
$overrideCostPartitionId = overrideCostPartitionId_example; // String | 

try {
    $result = $api_instance->isDeepRecomputeNeededForCUDOptimReport($reportUUID, $platformId, $overrideRiTerm, $overrideRiOfferingClass, $overrideRiPaymentOption, $overrideSpendingLimitForPurchase, $overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, $overrideFilterTags, $overrideCostPartitionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->isDeepRecomputeNeededForCUDOptimReport: ', $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 $platformId = platformId_example; # String | 
my $overrideRiTerm = 56; # Integer | 
my $overrideRiOfferingClass = overrideRiOfferingClass_example; # String | 
my $overrideRiPaymentOption = overrideRiPaymentOption_example; # String | 
my $overrideSpendingLimitForPurchase = 56; # Integer | 
my $overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; # Boolean | 
my $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true; # Boolean | 
my $overrideFilterTags = overrideFilterTags_example; # String | 
my $overrideCostPartitionId = overrideCostPartitionId_example; # String | 

eval { 
    my $result = $api_instance->isDeepRecomputeNeededForCUDOptimReport(reportUUID => $reportUUID, platformId => $platformId, overrideRiTerm => $overrideRiTerm, overrideRiOfferingClass => $overrideRiOfferingClass, overrideRiPaymentOption => $overrideRiPaymentOption, overrideSpendingLimitForPurchase => $overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount => $overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments => $overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags => $overrideFilterTags, overrideCostPartitionId => $overrideCostPartitionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->isDeepRecomputeNeededForCUDOptimReport: $@\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 | 
platformId = platformId_example # String |  (optional)
overrideRiTerm = 56 # Integer |  (optional)
overrideRiOfferingClass = overrideRiOfferingClass_example # String |  (optional)
overrideRiPaymentOption = overrideRiPaymentOption_example # String |  (optional)
overrideSpendingLimitForPurchase = 56 # Integer |  (optional)
overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true # Boolean |  (optional)
overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments = true # Boolean |  (optional)
overrideFilterTags = overrideFilterTags_example # String |  (optional)
overrideCostPartitionId = overrideCostPartitionId_example # String |  (optional)

try: 
    # 
    api_response = api_instance.isDeepRecomputeNeededForCUDOptimReport(reportUUID, platformId=platformId, overrideRiTerm=overrideRiTerm, overrideRiOfferingClass=overrideRiOfferingClass, overrideRiPaymentOption=overrideRiPaymentOption, overrideSpendingLimitForPurchase=overrideSpendingLimitForPurchase, overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=overrideShowOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments=overrideFilterToKeepOnlyCAUEligibleForLongTermCommitments, overrideFilterTags=overrideFilterTags, overrideCostPartitionId=overrideCostPartitionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->isDeepRecomputeNeededForCUDOptimReport: %s\n" % e)

Parameters

Path parameters
Name Description
reportUUID*
Query parameters
Name Description
platformId
override_riTerm
override_riOfferingClass
override_riPaymentOption
override_spendingLimitForPurchase
override_showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
override_filterToKeepOnlyCAUEligibleForLongTermCommitments
override_filterTags
override_costPartitionId

Responses

Status: 200 - successful operation


isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany


/customers/stakeholderness/assignment/enforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholderness

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderness/assignment/enforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholderness"
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 {
            StakeholdernessFilteringStatus result = apiInstance.isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            StakeholdernessFilteringStatus result = apiInstance.isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany");
            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 isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompanyWithCompletionHandler: 
              ^(StakeholdernessFilteringStatus 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.isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompanyExample
    {
        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
            {
                // 
                StakeholdernessFilteringStatus result = apiInstance.isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany: " + 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->isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany: ', $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->isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany: $@\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.isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->isEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessEnabledForThisCompany: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany


/customers/stakeholderness/assignment/enforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholderness

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderness/assignment/enforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholderness"
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 {
            StakeholdernessFilteringStatus result = apiInstance.isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            StakeholdernessFilteringStatus result = apiInstance.isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany");
            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 isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompanyWithCompletionHandler: 
              ^(StakeholdernessFilteringStatus 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.isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompanyExample
    {
        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
            {
                // 
                StakeholdernessFilteringStatus result = apiInstance.isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany: " + 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->isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany: ', $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->isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany: $@\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.isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->isEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessEnabledForThisCompany: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


isManualEditOfCostPerimeterDefinitionAllowedForCompany


/costPerimeter/isManualEditOfCostPerimeterDefinitionAllowedForCompany

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/isManualEditOfCostPerimeterDefinitionAllowedForCompany"
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.isManualEditOfCostPerimeterDefinitionAllowedForCompany();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isManualEditOfCostPerimeterDefinitionAllowedForCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            apiInstance.isManualEditOfCostPerimeterDefinitionAllowedForCompany();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isManualEditOfCostPerimeterDefinitionAllowedForCompany");
            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 isManualEditOfCostPerimeterDefinitionAllowedForCompanyWithCompletionHandler: 
              ^(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.isManualEditOfCostPerimeterDefinitionAllowedForCompany(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class isManualEditOfCostPerimeterDefinitionAllowedForCompanyExample
    {
        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.isManualEditOfCostPerimeterDefinitionAllowedForCompany();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.isManualEditOfCostPerimeterDefinitionAllowedForCompany: " + 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->isManualEditOfCostPerimeterDefinitionAllowedForCompany();
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->isManualEditOfCostPerimeterDefinitionAllowedForCompany: ', $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->isManualEditOfCostPerimeterDefinitionAllowedForCompany();
};
if ($@) {
    warn "Exception when calling PublicApi->isManualEditOfCostPerimeterDefinitionAllowedForCompany: $@\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.isManualEditOfCostPerimeterDefinitionAllowedForCompany()
except ApiException as e:
    print("Exception when calling PublicApi->isManualEditOfCostPerimeterDefinitionAllowedForCompany: %s\n" % e)

Parameters

Responses

Status: 0 - successful operation


isManualEditOfRolesAllowedForCompany


/costPerimeter/isManualEditOfRolesAllowedForCompany

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/isManualEditOfRolesAllowedForCompany"
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.isManualEditOfRolesAllowedForCompany();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isManualEditOfRolesAllowedForCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        try {
            apiInstance.isManualEditOfRolesAllowedForCompany();
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#isManualEditOfRolesAllowedForCompany");
            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 isManualEditOfRolesAllowedForCompanyWithCompletionHandler: 
              ^(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.isManualEditOfRolesAllowedForCompany(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class isManualEditOfRolesAllowedForCompanyExample
    {
        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.isManualEditOfRolesAllowedForCompany();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.isManualEditOfRolesAllowedForCompany: " + 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->isManualEditOfRolesAllowedForCompany();
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->isManualEditOfRolesAllowedForCompany: ', $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->isManualEditOfRolesAllowedForCompany();
};
if ($@) {
    warn "Exception when calling PublicApi->isManualEditOfRolesAllowedForCompany: $@\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.isManualEditOfRolesAllowedForCompany()
except ApiException as e:
    print("Exception when calling PublicApi->isManualEditOfRolesAllowedForCompany: %s\n" % e)

Parameters

Responses

Status: 0 - successful operation


login


/login

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/login"
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 login = login_example; // String | username
        String passwd = passwd_example; // String | password
        String successRedirect = successRedirect_example; // String | successRedirect
        String failureRedirect = failureRedirect_example; // String | failureRedirect
        try {
            apiInstance.login(login, passwd, successRedirect, failureRedirect);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#login");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String login = login_example; // String | username
        String passwd = passwd_example; // String | password
        String successRedirect = successRedirect_example; // String | successRedirect
        String failureRedirect = failureRedirect_example; // String | failureRedirect
        try {
            apiInstance.login(login, passwd, successRedirect, failureRedirect);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#login");
            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 *login = login_example; // username
String *passwd = passwd_example; // password
String *successRedirect = successRedirect_example; // successRedirect
String *failureRedirect = failureRedirect_example; // failureRedirect

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

// 
[apiInstance loginWith:login
    passwd:passwd
    successRedirect:successRedirect
    failureRedirect:failureRedirect
              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 login = login_example; // {String} username

var passwd = passwd_example; // {String} password

var successRedirect = successRedirect_example; // {String} successRedirect

var failureRedirect = failureRedirect_example; // {String} failureRedirect


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

namespace Example
{
    public class loginExample
    {
        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 login = login_example;  // String | username
            var passwd = passwd_example;  // String | password
            var successRedirect = successRedirect_example;  // String | successRedirect
            var failureRedirect = failureRedirect_example;  // String | failureRedirect

            try
            {
                // 
                apiInstance.login(login, passwd, successRedirect, failureRedirect);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.login: " + 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();
$login = login_example; // String | username
$passwd = passwd_example; // String | password
$successRedirect = successRedirect_example; // String | successRedirect
$failureRedirect = failureRedirect_example; // String | failureRedirect

try {
    $api_instance->login($login, $passwd, $successRedirect, $failureRedirect);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->login: ', $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 $login = login_example; # String | username
my $passwd = passwd_example; # String | password
my $successRedirect = successRedirect_example; # String | successRedirect
my $failureRedirect = failureRedirect_example; # String | failureRedirect

eval { 
    $api_instance->login(login => $login, passwd => $passwd, successRedirect => $successRedirect, failureRedirect => $failureRedirect);
};
if ($@) {
    warn "Exception when calling PublicApi->login: $@\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()
login = login_example # String | username
passwd = passwd_example # String | password
successRedirect = successRedirect_example # String | successRedirect
failureRedirect = failureRedirect_example # String | failureRedirect

try: 
    # 
    api_instance.login(login, passwd, successRedirect, failureRedirect)
except ApiException as e:
    print("Exception when calling PublicApi->login: %s\n" % e)

Parameters

Form parameters
Name Description
login*
passwd*
successRedirect*
failureRedirect*

Responses

Status: 302 - Redirect


loginAcs


/saml/login/acs/{shortTenantId}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/saml/login/acs/{shortTenantId}"
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 shortTenantId = shortTenantId_example; // String | 
        String sAMLResponse = sAMLResponse_example; // String | 
        String relayState = relayState_example; // String | 
        try {
            apiInstance.loginAcs(shortTenantId, sAMLResponse, relayState);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#loginAcs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String shortTenantId = shortTenantId_example; // String | 
        String sAMLResponse = sAMLResponse_example; // String | 
        String relayState = relayState_example; // String | 
        try {
            apiInstance.loginAcs(shortTenantId, sAMLResponse, relayState);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#loginAcs");
            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 *shortTenantId = shortTenantId_example; // 
String *sAMLResponse = sAMLResponse_example; //  (optional)
String *relayState = relayState_example; //  (optional)

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

// 
[apiInstance loginAcsWith:shortTenantId
    sAMLResponse:sAMLResponse
    relayState:relayState
              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 shortTenantId = shortTenantId_example; // {String} 

var opts = { 
  'sAMLResponse': sAMLResponse_example, // {String} 
  'relayState': relayState_example // {String} 
};

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

namespace Example
{
    public class loginAcsExample
    {
        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 shortTenantId = shortTenantId_example;  // String | 
            var sAMLResponse = sAMLResponse_example;  // String |  (optional) 
            var relayState = relayState_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.loginAcs(shortTenantId, sAMLResponse, relayState);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.loginAcs: " + 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();
$shortTenantId = shortTenantId_example; // String | 
$sAMLResponse = sAMLResponse_example; // String | 
$relayState = relayState_example; // String | 

try {
    $api_instance->loginAcs($shortTenantId, $sAMLResponse, $relayState);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->loginAcs: ', $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 $shortTenantId = shortTenantId_example; # String | 
my $sAMLResponse = sAMLResponse_example; # String | 
my $relayState = relayState_example; # String | 

eval { 
    $api_instance->loginAcs(shortTenantId => $shortTenantId, sAMLResponse => $sAMLResponse, relayState => $relayState);
};
if ($@) {
    warn "Exception when calling PublicApi->loginAcs: $@\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()
shortTenantId = shortTenantId_example # String | 
sAMLResponse = sAMLResponse_example # String |  (optional)
relayState = relayState_example # String |  (optional)

try: 
    # 
    api_instance.loginAcs(shortTenantId, sAMLResponse=sAMLResponse, relayState=relayState)
except ApiException as e:
    print("Exception when calling PublicApi->loginAcs: %s\n" % e)

Parameters

Path parameters
Name Description
shortTenantId*
Form parameters
Name Description
SAMLResponse
RelayState

Responses

Status: 0 - successful operation


loginRedirectToIdp


/saml/login/redirect/{shortTenantId}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/saml/login/redirect/{shortTenantId}"
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 shortTenantId = shortTenantId_example; // String | 
        try {
            apiInstance.loginRedirectToIdp(shortTenantId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#loginRedirectToIdp");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String shortTenantId = shortTenantId_example; // String | 
        try {
            apiInstance.loginRedirectToIdp(shortTenantId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#loginRedirectToIdp");
            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 *shortTenantId = shortTenantId_example; // 

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

// 
[apiInstance loginRedirectToIdpWith:shortTenantId
              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 shortTenantId = shortTenantId_example; // {String} 


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

namespace Example
{
    public class loginRedirectToIdpExample
    {
        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 shortTenantId = shortTenantId_example;  // String | 

            try
            {
                // 
                apiInstance.loginRedirectToIdp(shortTenantId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.loginRedirectToIdp: " + 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();
$shortTenantId = shortTenantId_example; // String | 

try {
    $api_instance->loginRedirectToIdp($shortTenantId);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->loginRedirectToIdp: ', $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 $shortTenantId = shortTenantId_example; # String | 

eval { 
    $api_instance->loginRedirectToIdp(shortTenantId => $shortTenantId);
};
if ($@) {
    warn "Exception when calling PublicApi->loginRedirectToIdp: $@\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()
shortTenantId = shortTenantId_example # String | 

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

Parameters

Path parameters
Name Description
shortTenantId*

Responses

Status: 0 - successful operation


markReportAsFavorite


/customReports/reportUUID/{reportUUID}/markAsFavorite/{favoriteType}/inContext/{displayContextUUID}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportUUID/{reportUUID}/markAsFavorite/{favoriteType}/inContext/{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 reportUUID = reportUUID_example; // String | 
        String favoriteType = favoriteType_example; // String | 
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            apiInstance.markReportAsFavorite(reportUUID, favoriteType, displayContextUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#markReportAsFavorite");
            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 | 
        String favoriteType = favoriteType_example; // String | 
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            apiInstance.markReportAsFavorite(reportUUID, favoriteType, displayContextUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#markReportAsFavorite");
            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; // 
String *favoriteType = favoriteType_example; // 
String *displayContextUUID = displayContextUUID_example; // 

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

// 
[apiInstance markReportAsFavoriteWith:reportUUID
    favoriteType:favoriteType
    displayContextUUID: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 reportUUID = reportUUID_example; // {String} 

var favoriteType = favoriteType_example; // {String} 

var displayContextUUID = displayContextUUID_example; // {String} 


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

namespace Example
{
    public class markReportAsFavoriteExample
    {
        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 favoriteType = favoriteType_example;  // String | 
            var displayContextUUID = displayContextUUID_example;  // String | 

            try
            {
                // 
                apiInstance.markReportAsFavorite(reportUUID, favoriteType, displayContextUUID);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.markReportAsFavorite: " + 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 | 
$favoriteType = favoriteType_example; // String | 
$displayContextUUID = displayContextUUID_example; // String | 

try {
    $api_instance->markReportAsFavorite($reportUUID, $favoriteType, $displayContextUUID);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->markReportAsFavorite: ', $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 $favoriteType = favoriteType_example; # String | 
my $displayContextUUID = displayContextUUID_example; # String | 

eval { 
    $api_instance->markReportAsFavorite(reportUUID => $reportUUID, favoriteType => $favoriteType, displayContextUUID => $displayContextUUID);
};
if ($@) {
    warn "Exception when calling PublicApi->markReportAsFavorite: $@\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 | 
favoriteType = favoriteType_example # String | 
displayContextUUID = displayContextUUID_example # String | 

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

Parameters

Path parameters
Name Description
reportUUID*
favoriteType*
displayContextUUID*

Responses

Status: 0 - successful operation


putTagForReport


/customReports/reportUUID/{reportUUID}/tag/inContext/{displayContextUUID}

Usage and SDK Samples

curl -X put -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportUUID/{reportUUID}/tag/inContext/{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 reportUUID = reportUUID_example; // String | 
        String displayContextUUID = displayContextUUID_example; // String | 
        String newTagKey = newTagKey_example; // String | 
        String newTagValue = newTagValue_example; // String | 
        try {
            apiInstance.putTagForReport(reportUUID, displayContextUUID, newTagKey, newTagValue);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#putTagForReport");
            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 | 
        String displayContextUUID = displayContextUUID_example; // String | 
        String newTagKey = newTagKey_example; // String | 
        String newTagValue = newTagValue_example; // String | 
        try {
            apiInstance.putTagForReport(reportUUID, displayContextUUID, newTagKey, newTagValue);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#putTagForReport");
            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; // 
String *displayContextUUID = displayContextUUID_example; // 
String *newTagKey = newTagKey_example; //  (optional)
String *newTagValue = newTagValue_example; //  (optional)

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

// 
[apiInstance putTagForReportWith:reportUUID
    displayContextUUID:displayContextUUID
    newTagKey:newTagKey
    newTagValue:newTagValue
              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 reportUUID = reportUUID_example; // {String} 

var displayContextUUID = displayContextUUID_example; // {String} 

var opts = { 
  'newTagKey': newTagKey_example, // {String} 
  'newTagValue': newTagValue_example // {String} 
};

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

namespace Example
{
    public class putTagForReportExample
    {
        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 displayContextUUID = displayContextUUID_example;  // String | 
            var newTagKey = newTagKey_example;  // String |  (optional) 
            var newTagValue = newTagValue_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.putTagForReport(reportUUID, displayContextUUID, newTagKey, newTagValue);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.putTagForReport: " + 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 | 
$displayContextUUID = displayContextUUID_example; // String | 
$newTagKey = newTagKey_example; // String | 
$newTagValue = newTagValue_example; // String | 

try {
    $api_instance->putTagForReport($reportUUID, $displayContextUUID, $newTagKey, $newTagValue);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->putTagForReport: ', $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 $displayContextUUID = displayContextUUID_example; # String | 
my $newTagKey = newTagKey_example; # String | 
my $newTagValue = newTagValue_example; # String | 

eval { 
    $api_instance->putTagForReport(reportUUID => $reportUUID, displayContextUUID => $displayContextUUID, newTagKey => $newTagKey, newTagValue => $newTagValue);
};
if ($@) {
    warn "Exception when calling PublicApi->putTagForReport: $@\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 | 
displayContextUUID = displayContextUUID_example # String | 
newTagKey = newTagKey_example # String |  (optional)
newTagValue = newTagValue_example # String |  (optional)

try: 
    # 
    api_instance.putTagForReport(reportUUID, displayContextUUID, newTagKey=newTagKey, newTagValue=newTagValue)
except ApiException as e:
    print("Exception when calling PublicApi->putTagForReport: %s\n" % e)

Parameters

Path parameters
Name Description
reportUUID*
displayContextUUID*
Form parameters
Name Description
newTagKey
newTagValue

Responses

Status: 0 - successful operation


recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData


/cudOptimization/data/recompute/nonPersistedReport/awsRootBillingAccountPlatformKey/{awsRootBillingAccountPlatformKey}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cudOptimization/data/recompute/nonPersistedReport/awsRootBillingAccountPlatformKey/{awsRootBillingAccountPlatformKey}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}?riTerm=&riOfferingClass=&riPaymentOption=&spendingLimitForPurchase=&showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=&filterToKeepOnlyCAUEligibleForLongTermCommitments=&filterTags=&costPartitionId=&recomputeReportUUID=&recomputeJobUUID="
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 awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // String | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        Integer riTerm = 56; // Integer | 
        String riOfferingClass = riOfferingClass_example; // String | 
        String riPaymentOption = riPaymentOption_example; // String | 
        Integer spendingLimitForPurchase = 56; // Integer | 
        Boolean showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean filterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String filterTags = filterTags_example; // String | 
        String costPartitionId = costPartitionId_example; // String | 
        String recomputeReportUUID = recomputeReportUUID_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, riTerm, riOfferingClass, riPaymentOption, spendingLimitForPurchase, showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags, costPartitionId, recomputeReportUUID, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // String | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        Integer riTerm = 56; // Integer | 
        String riOfferingClass = riOfferingClass_example; // String | 
        String riPaymentOption = riPaymentOption_example; // String | 
        Integer spendingLimitForPurchase = 56; // Integer | 
        Boolean showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean filterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String filterTags = filterTags_example; // String | 
        String costPartitionId = costPartitionId_example; // String | 
        String recomputeReportUUID = recomputeReportUUID_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, riTerm, riOfferingClass, riPaymentOption, spendingLimitForPurchase, showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags, costPartitionId, recomputeReportUUID, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData");
            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 *awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // 
Boolean *forceExecutionEvenIfDeepRecomputeNeeded = true; // 
Integer *riTerm = 56; //  (optional)
String *riOfferingClass = riOfferingClass_example; //  (optional)
String *riPaymentOption = riPaymentOption_example; //  (optional)
Integer *spendingLimitForPurchase = 56; //  (optional)
Boolean *showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; //  (optional)
Boolean *filterToKeepOnlyCAUEligibleForLongTermCommitments = true; //  (optional)
String *filterTags = filterTags_example; //  (optional)
String *costPartitionId = costPartitionId_example; //  (optional)
String *recomputeReportUUID = recomputeReportUUID_example; //  (optional)
String *recomputeJobUUID = recomputeJobUUID_example; //  (optional)

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

// 
[apiInstance recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonDataWith:awsRootBillingAccountPlatformKey
    forceExecutionEvenIfDeepRecomputeNeeded:forceExecutionEvenIfDeepRecomputeNeeded
    riTerm:riTerm
    riOfferingClass:riOfferingClass
    riPaymentOption:riPaymentOption
    spendingLimitForPurchase:spendingLimitForPurchase
    showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount:showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
    filterToKeepOnlyCAUEligibleForLongTermCommitments:filterToKeepOnlyCAUEligibleForLongTermCommitments
    filterTags:filterTags
    costPartitionId:costPartitionId
    recomputeReportUUID:recomputeReportUUID
    recomputeJobUUID:recomputeJobUUID
              completionHandler: ^(RIOptimReport 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 awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // {String} 

var forceExecutionEvenIfDeepRecomputeNeeded = true; // {Boolean} 

var opts = { 
  'riTerm': 56, // {Integer} 
  'riOfferingClass': riOfferingClass_example, // {String} 
  'riPaymentOption': riPaymentOption_example, // {String} 
  'spendingLimitForPurchase': 56, // {Integer} 
  'showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount': true, // {Boolean} 
  'filterToKeepOnlyCAUEligibleForLongTermCommitments': true, // {Boolean} 
  'filterTags': filterTags_example, // {String} 
  'costPartitionId': costPartitionId_example, // {String} 
  'recomputeReportUUID': recomputeReportUUID_example, // {String} 
  'recomputeJobUUID': recomputeJobUUID_example // {String} 
};

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

namespace Example
{
    public class recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonDataExample
    {
        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 awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example;  // String | 
            var forceExecutionEvenIfDeepRecomputeNeeded = true;  // Boolean | 
            var riTerm = 56;  // Integer |  (optional) 
            var riOfferingClass = riOfferingClass_example;  // String |  (optional) 
            var riPaymentOption = riPaymentOption_example;  // String |  (optional) 
            var spendingLimitForPurchase = 56;  // Integer |  (optional) 
            var showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true;  // Boolean |  (optional) 
            var filterToKeepOnlyCAUEligibleForLongTermCommitments = true;  // Boolean |  (optional) 
            var filterTags = filterTags_example;  // String |  (optional) 
            var costPartitionId = costPartitionId_example;  // String |  (optional) 
            var recomputeReportUUID = recomputeReportUUID_example;  // String |  (optional) 
            var recomputeJobUUID = recomputeJobUUID_example;  // String |  (optional) 

            try
            {
                // 
                RIOptimReport result = apiInstance.recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, riTerm, riOfferingClass, riPaymentOption, spendingLimitForPurchase, showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags, costPartitionId, recomputeReportUUID, recomputeJobUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData: " + 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();
$awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // String | 
$forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
$riTerm = 56; // Integer | 
$riOfferingClass = riOfferingClass_example; // String | 
$riPaymentOption = riPaymentOption_example; // String | 
$spendingLimitForPurchase = 56; // Integer | 
$showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
$filterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
$filterTags = filterTags_example; // String | 
$costPartitionId = costPartitionId_example; // String | 
$recomputeReportUUID = recomputeReportUUID_example; // String | 
$recomputeJobUUID = recomputeJobUUID_example; // String | 

try {
    $result = $api_instance->recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData($awsRootBillingAccountPlatformKey, $forceExecutionEvenIfDeepRecomputeNeeded, $riTerm, $riOfferingClass, $riPaymentOption, $spendingLimitForPurchase, $showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, $filterToKeepOnlyCAUEligibleForLongTermCommitments, $filterTags, $costPartitionId, $recomputeReportUUID, $recomputeJobUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData: ', $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 $awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; # String | 
my $forceExecutionEvenIfDeepRecomputeNeeded = true; # Boolean | 
my $riTerm = 56; # Integer | 
my $riOfferingClass = riOfferingClass_example; # String | 
my $riPaymentOption = riPaymentOption_example; # String | 
my $spendingLimitForPurchase = 56; # Integer | 
my $showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; # Boolean | 
my $filterToKeepOnlyCAUEligibleForLongTermCommitments = true; # Boolean | 
my $filterTags = filterTags_example; # String | 
my $costPartitionId = costPartitionId_example; # String | 
my $recomputeReportUUID = recomputeReportUUID_example; # String | 
my $recomputeJobUUID = recomputeJobUUID_example; # String | 

eval { 
    my $result = $api_instance->recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData(awsRootBillingAccountPlatformKey => $awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded => $forceExecutionEvenIfDeepRecomputeNeeded, riTerm => $riTerm, riOfferingClass => $riOfferingClass, riPaymentOption => $riPaymentOption, spendingLimitForPurchase => $spendingLimitForPurchase, showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount => $showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments => $filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags => $filterTags, costPartitionId => $costPartitionId, recomputeReportUUID => $recomputeReportUUID, recomputeJobUUID => $recomputeJobUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData: $@\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()
awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example # String | 
forceExecutionEvenIfDeepRecomputeNeeded = true # Boolean | 
riTerm = 56 # Integer |  (optional)
riOfferingClass = riOfferingClass_example # String |  (optional)
riPaymentOption = riPaymentOption_example # String |  (optional)
spendingLimitForPurchase = 56 # Integer |  (optional)
showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true # Boolean |  (optional)
filterToKeepOnlyCAUEligibleForLongTermCommitments = true # Boolean |  (optional)
filterTags = filterTags_example # String |  (optional)
costPartitionId = costPartitionId_example # String |  (optional)
recomputeReportUUID = recomputeReportUUID_example # String |  (optional)
recomputeJobUUID = recomputeJobUUID_example # String |  (optional)

try: 
    # 
    api_response = api_instance.recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, riTerm=riTerm, riOfferingClass=riOfferingClass, riPaymentOption=riPaymentOption, spendingLimitForPurchase=spendingLimitForPurchase, showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments=filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags=filterTags, costPartitionId=costPartitionId, recomputeReportUUID=recomputeReportUUID, recomputeJobUUID=recomputeJobUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->recomputeReportNonPersistedReportAndGetReportCUDOptimizationJsonData: %s\n" % e)

Parameters

Path parameters
Name Description
awsRootBillingAccountPlatformKey*
forceExecutionEvenIfDeepRecomputeNeeded*
Query parameters
Name Description
riTerm
riOfferingClass
riPaymentOption
spendingLimitForPurchase
showOnlyCUDsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
filterToKeepOnlyCAUEligibleForLongTermCommitments
filterTags
costPartitionId
recomputeReportUUID
recomputeJobUUID

Responses

Status: 200 - successful operation


recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData


/reservedInstancesOptimization/data/recompute/nonPersistedReport/awsRootBillingAccountPlatformKey/{awsRootBillingAccountPlatformKey}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}

Usage and SDK Samples

curl -X get -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/reservedInstancesOptimization/data/recompute/nonPersistedReport/awsRootBillingAccountPlatformKey/{awsRootBillingAccountPlatformKey}/forceExecutionEvenIfDeepRecomputeNeeded/{forceExecutionEvenIfDeepRecomputeNeeded}?fetchingReportUUID=&riTerm=&riOfferingClass=&riPaymentOption=&spendingLimitForPurchase=&showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=&filterToKeepOnlyCAUEligibleForLongTermCommitments=&filterTags=&costPartitionId=&recomputeReportUUID=&recomputeJobUUID="
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 awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // String | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        String fetchingReportUUID = fetchingReportUUID_example; // String | 
        Integer riTerm = 56; // Integer | 
        String riOfferingClass = riOfferingClass_example; // String | 
        String riPaymentOption = riPaymentOption_example; // String | 
        Integer spendingLimitForPurchase = 56; // Integer | 
        Boolean showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean filterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String filterTags = filterTags_example; // String | 
        String costPartitionId = costPartitionId_example; // String | 
        String recomputeReportUUID = recomputeReportUUID_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, fetchingReportUUID, riTerm, riOfferingClass, riPaymentOption, spendingLimitForPurchase, showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags, costPartitionId, recomputeReportUUID, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // String | 
        Boolean forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
        String fetchingReportUUID = fetchingReportUUID_example; // String | 
        Integer riTerm = 56; // Integer | 
        String riOfferingClass = riOfferingClass_example; // String | 
        String riPaymentOption = riPaymentOption_example; // String | 
        Integer spendingLimitForPurchase = 56; // Integer | 
        Boolean showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
        Boolean filterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
        String filterTags = filterTags_example; // String | 
        String costPartitionId = costPartitionId_example; // String | 
        String recomputeReportUUID = recomputeReportUUID_example; // String | 
        String recomputeJobUUID = recomputeJobUUID_example; // String | 
        try {
            RIOptimReport result = apiInstance.recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, fetchingReportUUID, riTerm, riOfferingClass, riPaymentOption, spendingLimitForPurchase, showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags, costPartitionId, recomputeReportUUID, recomputeJobUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData");
            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 *awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // 
Boolean *forceExecutionEvenIfDeepRecomputeNeeded = true; // 
String *fetchingReportUUID = fetchingReportUUID_example; //  (optional)
Integer *riTerm = 56; //  (optional)
String *riOfferingClass = riOfferingClass_example; //  (optional)
String *riPaymentOption = riPaymentOption_example; //  (optional)
Integer *spendingLimitForPurchase = 56; //  (optional)
Boolean *showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; //  (optional)
Boolean *filterToKeepOnlyCAUEligibleForLongTermCommitments = true; //  (optional)
String *filterTags = filterTags_example; //  (optional)
String *costPartitionId = costPartitionId_example; //  (optional)
String *recomputeReportUUID = recomputeReportUUID_example; //  (optional)
String *recomputeJobUUID = recomputeJobUUID_example; //  (optional)

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

// 
[apiInstance recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonDataWith:awsRootBillingAccountPlatformKey
    forceExecutionEvenIfDeepRecomputeNeeded:forceExecutionEvenIfDeepRecomputeNeeded
    fetchingReportUUID:fetchingReportUUID
    riTerm:riTerm
    riOfferingClass:riOfferingClass
    riPaymentOption:riPaymentOption
    spendingLimitForPurchase:spendingLimitForPurchase
    showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount:showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
    filterToKeepOnlyCAUEligibleForLongTermCommitments:filterToKeepOnlyCAUEligibleForLongTermCommitments
    filterTags:filterTags
    costPartitionId:costPartitionId
    recomputeReportUUID:recomputeReportUUID
    recomputeJobUUID:recomputeJobUUID
              completionHandler: ^(RIOptimReport 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 awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // {String} 

var forceExecutionEvenIfDeepRecomputeNeeded = true; // {Boolean} 

var opts = { 
  'fetchingReportUUID': fetchingReportUUID_example, // {String} 
  'riTerm': 56, // {Integer} 
  'riOfferingClass': riOfferingClass_example, // {String} 
  'riPaymentOption': riPaymentOption_example, // {String} 
  'spendingLimitForPurchase': 56, // {Integer} 
  'showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount': true, // {Boolean} 
  'filterToKeepOnlyCAUEligibleForLongTermCommitments': true, // {Boolean} 
  'filterTags': filterTags_example, // {String} 
  'costPartitionId': costPartitionId_example, // {String} 
  'recomputeReportUUID': recomputeReportUUID_example, // {String} 
  'recomputeJobUUID': recomputeJobUUID_example // {String} 
};

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

namespace Example
{
    public class recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonDataExample
    {
        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 awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example;  // String | 
            var forceExecutionEvenIfDeepRecomputeNeeded = true;  // Boolean | 
            var fetchingReportUUID = fetchingReportUUID_example;  // String |  (optional) 
            var riTerm = 56;  // Integer |  (optional) 
            var riOfferingClass = riOfferingClass_example;  // String |  (optional) 
            var riPaymentOption = riPaymentOption_example;  // String |  (optional) 
            var spendingLimitForPurchase = 56;  // Integer |  (optional) 
            var showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true;  // Boolean |  (optional) 
            var filterToKeepOnlyCAUEligibleForLongTermCommitments = true;  // Boolean |  (optional) 
            var filterTags = filterTags_example;  // String |  (optional) 
            var costPartitionId = costPartitionId_example;  // String |  (optional) 
            var recomputeReportUUID = recomputeReportUUID_example;  // String |  (optional) 
            var recomputeJobUUID = recomputeJobUUID_example;  // String |  (optional) 

            try
            {
                // 
                RIOptimReport result = apiInstance.recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, fetchingReportUUID, riTerm, riOfferingClass, riPaymentOption, spendingLimitForPurchase, showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags, costPartitionId, recomputeReportUUID, recomputeJobUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData: " + 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();
$awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; // String | 
$forceExecutionEvenIfDeepRecomputeNeeded = true; // Boolean | 
$fetchingReportUUID = fetchingReportUUID_example; // String | 
$riTerm = 56; // Integer | 
$riOfferingClass = riOfferingClass_example; // String | 
$riPaymentOption = riPaymentOption_example; // String | 
$spendingLimitForPurchase = 56; // Integer | 
$showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; // Boolean | 
$filterToKeepOnlyCAUEligibleForLongTermCommitments = true; // Boolean | 
$filterTags = filterTags_example; // String | 
$costPartitionId = costPartitionId_example; // String | 
$recomputeReportUUID = recomputeReportUUID_example; // String | 
$recomputeJobUUID = recomputeJobUUID_example; // String | 

try {
    $result = $api_instance->recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData($awsRootBillingAccountPlatformKey, $forceExecutionEvenIfDeepRecomputeNeeded, $fetchingReportUUID, $riTerm, $riOfferingClass, $riPaymentOption, $spendingLimitForPurchase, $showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, $filterToKeepOnlyCAUEligibleForLongTermCommitments, $filterTags, $costPartitionId, $recomputeReportUUID, $recomputeJobUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData: ', $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 $awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example; # String | 
my $forceExecutionEvenIfDeepRecomputeNeeded = true; # Boolean | 
my $fetchingReportUUID = fetchingReportUUID_example; # String | 
my $riTerm = 56; # Integer | 
my $riOfferingClass = riOfferingClass_example; # String | 
my $riPaymentOption = riPaymentOption_example; # String | 
my $spendingLimitForPurchase = 56; # Integer | 
my $showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true; # Boolean | 
my $filterToKeepOnlyCAUEligibleForLongTermCommitments = true; # Boolean | 
my $filterTags = filterTags_example; # String | 
my $costPartitionId = costPartitionId_example; # String | 
my $recomputeReportUUID = recomputeReportUUID_example; # String | 
my $recomputeJobUUID = recomputeJobUUID_example; # String | 

eval { 
    my $result = $api_instance->recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData(awsRootBillingAccountPlatformKey => $awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded => $forceExecutionEvenIfDeepRecomputeNeeded, fetchingReportUUID => $fetchingReportUUID, riTerm => $riTerm, riOfferingClass => $riOfferingClass, riPaymentOption => $riPaymentOption, spendingLimitForPurchase => $spendingLimitForPurchase, showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount => $showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments => $filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags => $filterTags, costPartitionId => $costPartitionId, recomputeReportUUID => $recomputeReportUUID, recomputeJobUUID => $recomputeJobUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData: $@\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()
awsRootBillingAccountPlatformKey = awsRootBillingAccountPlatformKey_example # String | 
forceExecutionEvenIfDeepRecomputeNeeded = true # Boolean | 
fetchingReportUUID = fetchingReportUUID_example # String |  (optional)
riTerm = 56 # Integer |  (optional)
riOfferingClass = riOfferingClass_example # String |  (optional)
riPaymentOption = riPaymentOption_example # String |  (optional)
spendingLimitForPurchase = 56 # Integer |  (optional)
showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount = true # Boolean |  (optional)
filterToKeepOnlyCAUEligibleForLongTermCommitments = true # Boolean |  (optional)
filterTags = filterTags_example # String |  (optional)
costPartitionId = costPartitionId_example # String |  (optional)
recomputeReportUUID = recomputeReportUUID_example # String |  (optional)
recomputeJobUUID = recomputeJobUUID_example # String |  (optional)

try: 
    # 
    api_response = api_instance.recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData(awsRootBillingAccountPlatformKey, forceExecutionEvenIfDeepRecomputeNeeded, fetchingReportUUID=fetchingReportUUID, riTerm=riTerm, riOfferingClass=riOfferingClass, riPaymentOption=riPaymentOption, spendingLimitForPurchase=spendingLimitForPurchase, showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount=showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount, filterToKeepOnlyCAUEligibleForLongTermCommitments=filterToKeepOnlyCAUEligibleForLongTermCommitments, filterTags=filterTags, costPartitionId=costPartitionId, recomputeReportUUID=recomputeReportUUID, recomputeJobUUID=recomputeJobUUID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->recomputeReportNonPersistedReportAndGetReportRIOptimizationJsonData: %s\n" % e)

Parameters

Path parameters
Name Description
awsRootBillingAccountPlatformKey*
forceExecutionEvenIfDeepRecomputeNeeded*
Query parameters
Name Description
fetchingReportUUID
riTerm
riOfferingClass
riPaymentOption
spendingLimitForPurchase
showOnlyRIsInTheMoneyWhenOnlyFilteredInstancesAreTakenIntoAccount
filterToKeepOnlyCAUEligibleForLongTermCommitments
filterTags
costPartitionId
recomputeReportUUID
recomputeJobUUID

Responses

Status: 200 - successful operation


refreshRecurringDashboardsCloningFromTemplateUser


/dashboardsCloning/refresh

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/refresh"
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 body = body_example; // String | 
        try {
            apiInstance.refreshRecurringDashboardsCloningFromTemplateUser(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#refreshRecurringDashboardsCloningFromTemplateUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String body = body_example; // String | 
        try {
            apiInstance.refreshRecurringDashboardsCloningFromTemplateUser(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#refreshRecurringDashboardsCloningFromTemplateUser");
            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 *body = body_example; //  (optional)

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

// 
[apiInstance refreshRecurringDashboardsCloningFromTemplateUserWith:body
              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 = { 
  'body': body_example // {String} 
};

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

namespace Example
{
    public class refreshRecurringDashboardsCloningFromTemplateUserExample
    {
        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 = body_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.refreshRecurringDashboardsCloningFromTemplateUser(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.refreshRecurringDashboardsCloningFromTemplateUser: " + 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 = body_example; // String | 

try {
    $api_instance->refreshRecurringDashboardsCloningFromTemplateUser($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->refreshRecurringDashboardsCloningFromTemplateUser: ', $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::String->new(); # String | 

eval { 
    $api_instance->refreshRecurringDashboardsCloningFromTemplateUser(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->refreshRecurringDashboardsCloningFromTemplateUser: $@\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 = body_example # String |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


removeReportFromFavorite


/customReports/reportUUID/{reportUUID}/removeFromFavorite/{favoriteType}/inContext/{displayContextUUID}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customReports/reportUUID/{reportUUID}/removeFromFavorite/{favoriteType}/inContext/{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 reportUUID = reportUUID_example; // String | 
        String favoriteType = favoriteType_example; // String | 
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            apiInstance.removeReportFromFavorite(reportUUID, favoriteType, displayContextUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#removeReportFromFavorite");
            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 | 
        String favoriteType = favoriteType_example; // String | 
        String displayContextUUID = displayContextUUID_example; // String | 
        try {
            apiInstance.removeReportFromFavorite(reportUUID, favoriteType, displayContextUUID);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#removeReportFromFavorite");
            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; // 
String *favoriteType = favoriteType_example; // 
String *displayContextUUID = displayContextUUID_example; // 

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

// 
[apiInstance removeReportFromFavoriteWith:reportUUID
    favoriteType:favoriteType
    displayContextUUID: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 reportUUID = reportUUID_example; // {String} 

var favoriteType = favoriteType_example; // {String} 

var displayContextUUID = displayContextUUID_example; // {String} 


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

namespace Example
{
    public class removeReportFromFavoriteExample
    {
        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 favoriteType = favoriteType_example;  // String | 
            var displayContextUUID = displayContextUUID_example;  // String | 

            try
            {
                // 
                apiInstance.removeReportFromFavorite(reportUUID, favoriteType, displayContextUUID);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.removeReportFromFavorite: " + 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 | 
$favoriteType = favoriteType_example; // String | 
$displayContextUUID = displayContextUUID_example; // String | 

try {
    $api_instance->removeReportFromFavorite($reportUUID, $favoriteType, $displayContextUUID);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->removeReportFromFavorite: ', $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 $favoriteType = favoriteType_example; # String | 
my $displayContextUUID = displayContextUUID_example; # String | 

eval { 
    $api_instance->removeReportFromFavorite(reportUUID => $reportUUID, favoriteType => $favoriteType, displayContextUUID => $displayContextUUID);
};
if ($@) {
    warn "Exception when calling PublicApi->removeReportFromFavorite: $@\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 | 
favoriteType = favoriteType_example # String | 
displayContextUUID = displayContextUUID_example # String | 

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

Parameters

Path parameters
Name Description
reportUUID*
favoriteType*
displayContextUUID*

Responses

Status: 0 - successful operation


restartDetailedCostAnalyticsAllForLoggedInCustomer


/externalFeatures/detailedCostAnalytics/deployment/restart/component/all

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/externalFeatures/detailedCostAnalytics/deployment/restart/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.restartDetailedCostAnalyticsAllForLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#restartDetailedCostAnalyticsAllForLoggedInCustomer");
            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.restartDetailedCostAnalyticsAllForLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#restartDetailedCostAnalyticsAllForLoggedInCustomer");
            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 restartDetailedCostAnalyticsAllForLoggedInCustomerWithCompletionHandler: 
              ^('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.restartDetailedCostAnalyticsAllForLoggedInCustomer(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class restartDetailedCostAnalyticsAllForLoggedInCustomerExample
    {
        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.restartDetailedCostAnalyticsAllForLoggedInCustomer();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.restartDetailedCostAnalyticsAllForLoggedInCustomer: " + 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->restartDetailedCostAnalyticsAllForLoggedInCustomer();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->restartDetailedCostAnalyticsAllForLoggedInCustomer: ', $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->restartDetailedCostAnalyticsAllForLoggedInCustomer();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->restartDetailedCostAnalyticsAllForLoggedInCustomer: $@\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.restartDetailedCostAnalyticsAllForLoggedInCustomer()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->restartDetailedCostAnalyticsAllForLoggedInCustomer: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


restartDetailedCostAnalyticsBackendForLoggedInCustomer


/externalFeatures/detailedCostAnalytics/deployment/restart/component/backend

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/externalFeatures/detailedCostAnalytics/deployment/restart/component/backend"
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.restartDetailedCostAnalyticsBackendForLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#restartDetailedCostAnalyticsBackendForLoggedInCustomer");
            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.restartDetailedCostAnalyticsBackendForLoggedInCustomer();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#restartDetailedCostAnalyticsBackendForLoggedInCustomer");
            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 restartDetailedCostAnalyticsBackendForLoggedInCustomerWithCompletionHandler: 
              ^('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.restartDetailedCostAnalyticsBackendForLoggedInCustomer(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class restartDetailedCostAnalyticsBackendForLoggedInCustomerExample
    {
        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.restartDetailedCostAnalyticsBackendForLoggedInCustomer();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.restartDetailedCostAnalyticsBackendForLoggedInCustomer: " + 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->restartDetailedCostAnalyticsBackendForLoggedInCustomer();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->restartDetailedCostAnalyticsBackendForLoggedInCustomer: ', $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->restartDetailedCostAnalyticsBackendForLoggedInCustomer();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->restartDetailedCostAnalyticsBackendForLoggedInCustomer: $@\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.restartDetailedCostAnalyticsBackendForLoggedInCustomer()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PublicApi->restartDetailedCostAnalyticsBackendForLoggedInCustomer: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


rioptimReportCreateOrUpdate


/reservedInstancesOptimization/saveRIOptimizationReport

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/reservedInstancesOptimization/saveRIOptimizationReport?doNotRecomputeTheDataForTheNewReport="
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();
        RIOptimizationReportContentDTO body = ; // RIOptimizationReportContentDTO | 
        Boolean doNotRecomputeTheDataForTheNewReport = true; // Boolean | 
        try {
            'String' result = apiInstance.rioptimReportCreateOrUpdate(body, doNotRecomputeTheDataForTheNewReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#rioptimReportCreateOrUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        RIOptimizationReportContentDTO body = ; // RIOptimizationReportContentDTO | 
        Boolean doNotRecomputeTheDataForTheNewReport = true; // Boolean | 
        try {
            'String' result = apiInstance.rioptimReportCreateOrUpdate(body, doNotRecomputeTheDataForTheNewReport);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#rioptimReportCreateOrUpdate");
            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"];

RIOptimizationReportContentDTO *body = ; //  (optional)
Boolean *doNotRecomputeTheDataForTheNewReport = true; //  (optional)

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

// 
[apiInstance rioptimReportCreateOrUpdateWith:body
    doNotRecomputeTheDataForTheNewReport:doNotRecomputeTheDataForTheNewReport
              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': , // {RIOptimizationReportContentDTO} 
  'doNotRecomputeTheDataForTheNewReport': true // {Boolean} 
};

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

namespace Example
{
    public class rioptimReportCreateOrUpdateExample
    {
        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 RIOptimizationReportContentDTO(); // RIOptimizationReportContentDTO |  (optional) 
            var doNotRecomputeTheDataForTheNewReport = true;  // Boolean |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.rioptimReportCreateOrUpdate(body, doNotRecomputeTheDataForTheNewReport);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.rioptimReportCreateOrUpdate: " + 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 = ; // RIOptimizationReportContentDTO | 
$doNotRecomputeTheDataForTheNewReport = true; // Boolean | 

try {
    $result = $api_instance->rioptimReportCreateOrUpdate($body, $doNotRecomputeTheDataForTheNewReport);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->rioptimReportCreateOrUpdate: ', $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::RIOptimizationReportContentDTO->new(); # RIOptimizationReportContentDTO | 
my $doNotRecomputeTheDataForTheNewReport = true; # Boolean | 

eval { 
    my $result = $api_instance->rioptimReportCreateOrUpdate(body => $body, doNotRecomputeTheDataForTheNewReport => $doNotRecomputeTheDataForTheNewReport);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->rioptimReportCreateOrUpdate: $@\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 =  # RIOptimizationReportContentDTO |  (optional)
doNotRecomputeTheDataForTheNewReport = true # Boolean |  (optional)

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

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
doNotRecomputeTheDataForTheNewReport

Responses

Status: 200 - successful operation


saveResourcesUsageAnalysis


/resourcesusageanalytics/data/saveResourcesUsageAnalysis

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/saveResourcesUsageAnalysis"
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();
        ResourcesUsageAnalysisDTO body = ; // ResourcesUsageAnalysisDTO | 
        try {
            'String' result = apiInstance.saveResourcesUsageAnalysis(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#saveResourcesUsageAnalysis");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        ResourcesUsageAnalysisDTO body = ; // ResourcesUsageAnalysisDTO | 
        try {
            'String' result = apiInstance.saveResourcesUsageAnalysis(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#saveResourcesUsageAnalysis");
            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"];

ResourcesUsageAnalysisDTO *body = ; //  (optional)

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

// 
[apiInstance saveResourcesUsageAnalysisWith: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':  // {ResourcesUsageAnalysisDTO} 
};

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

namespace Example
{
    public class saveResourcesUsageAnalysisExample
    {
        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 ResourcesUsageAnalysisDTO(); // ResourcesUsageAnalysisDTO |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.saveResourcesUsageAnalysis(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.saveResourcesUsageAnalysis: " + 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 = ; // ResourcesUsageAnalysisDTO | 

try {
    $result = $api_instance->saveResourcesUsageAnalysis($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->saveResourcesUsageAnalysis: ', $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::ResourcesUsageAnalysisDTO->new(); # ResourcesUsageAnalysisDTO | 

eval { 
    my $result = $api_instance->saveResourcesUsageAnalysis(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->saveResourcesUsageAnalysis: $@\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 =  # ResourcesUsageAnalysisDTO |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


saveResourcesUsageAnalyticsReport


/resourcesusageanalytics/data/saveResourcesUsageAnalyticsReport

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/data/saveResourcesUsageAnalyticsReport"
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();
        ResourceUsageAnalyticsNewReportDTO body = ; // ResourceUsageAnalyticsNewReportDTO | 
        try {
            'String' result = apiInstance.saveResourcesUsageAnalyticsReport(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#saveResourcesUsageAnalyticsReport");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        ResourceUsageAnalyticsNewReportDTO body = ; // ResourceUsageAnalyticsNewReportDTO | 
        try {
            'String' result = apiInstance.saveResourcesUsageAnalyticsReport(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#saveResourcesUsageAnalyticsReport");
            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"];

ResourceUsageAnalyticsNewReportDTO *body = ; //  (optional)

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

// 
[apiInstance saveResourcesUsageAnalyticsReportWith: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':  // {ResourceUsageAnalyticsNewReportDTO} 
};

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

namespace Example
{
    public class saveResourcesUsageAnalyticsReportExample
    {
        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 ResourceUsageAnalyticsNewReportDTO(); // ResourceUsageAnalyticsNewReportDTO |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.saveResourcesUsageAnalyticsReport(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.saveResourcesUsageAnalyticsReport: " + 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 = ; // ResourceUsageAnalyticsNewReportDTO | 

try {
    $result = $api_instance->saveResourcesUsageAnalyticsReport($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->saveResourcesUsageAnalyticsReport: ', $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::ResourceUsageAnalyticsNewReportDTO->new(); # ResourceUsageAnalyticsNewReportDTO | 

eval { 
    my $result = $api_instance->saveResourcesUsageAnalyticsReport(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->saveResourcesUsageAnalyticsReport: $@\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 =  # ResourceUsageAnalyticsNewReportDTO |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - successful operation


setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany


/billingLineValuesTransformationsAndVirtualTagsManagement

Usage and SDK Samples

curl -X post -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();
        BillingLinesTransformationsAndVirtualTagConfigurations body = ; // BillingLinesTransformationsAndVirtualTagConfigurations | 
        try {
            apiInstance.setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        BillingLinesTransformationsAndVirtualTagConfigurations body = ; // BillingLinesTransformationsAndVirtualTagConfigurations | 
        try {
            apiInstance.setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany");
            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"];

BillingLinesTransformationsAndVirtualTagConfigurations *body = ; //  (optional)

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

// 
[apiInstance setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompanyWith:body
              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 = { 
  'body':  // {BillingLinesTransformationsAndVirtualTagConfigurations} 
};

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

namespace Example
{
    public class setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompanyExample
    {
        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 BillingLinesTransformationsAndVirtualTagConfigurations(); // BillingLinesTransformationsAndVirtualTagConfigurations |  (optional) 

            try
            {
                // 
                apiInstance.setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany: " + 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 = ; // BillingLinesTransformationsAndVirtualTagConfigurations | 

try {
    $api_instance->setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany: ', $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::BillingLinesTransformationsAndVirtualTagConfigurations->new(); # BillingLinesTransformationsAndVirtualTagConfigurations | 

eval { 
    $api_instance->setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setBillingLineValuesTransformationsAndVirtualTagsConfigurationForLoggedInCompany: $@\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 =  # BillingLinesTransformationsAndVirtualTagConfigurations |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setBillingLineValuesTransformationsForLoggedInCompany


/billingLineValuesTransformationsAndVirtualTagsManagement/billingLineValuesTransformationAndParameters

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/billingLineValuesTransformationsAndVirtualTagsManagement/billingLineValuesTransformationAndParameters"
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();
        BillingLineValuesTransformations_BusinessConfiguration body = ; // BillingLineValuesTransformations_BusinessConfiguration | 
        try {
            apiInstance.setBillingLineValuesTransformationsForLoggedInCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setBillingLineValuesTransformationsForLoggedInCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        BillingLineValuesTransformations_BusinessConfiguration body = ; // BillingLineValuesTransformations_BusinessConfiguration | 
        try {
            apiInstance.setBillingLineValuesTransformationsForLoggedInCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setBillingLineValuesTransformationsForLoggedInCompany");
            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"];

BillingLineValuesTransformations_BusinessConfiguration *body = ; //  (optional)

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

// 
[apiInstance setBillingLineValuesTransformationsForLoggedInCompanyWith:body
              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 = { 
  'body':  // {BillingLineValuesTransformations_BusinessConfiguration} 
};

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

namespace Example
{
    public class setBillingLineValuesTransformationsForLoggedInCompanyExample
    {
        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 BillingLineValuesTransformations_BusinessConfiguration(); // BillingLineValuesTransformations_BusinessConfiguration |  (optional) 

            try
            {
                // 
                apiInstance.setBillingLineValuesTransformationsForLoggedInCompany(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setBillingLineValuesTransformationsForLoggedInCompany: " + 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 = ; // BillingLineValuesTransformations_BusinessConfiguration | 

try {
    $api_instance->setBillingLineValuesTransformationsForLoggedInCompany($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setBillingLineValuesTransformationsForLoggedInCompany: ', $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::BillingLineValuesTransformations_BusinessConfiguration->new(); # BillingLineValuesTransformations_BusinessConfiguration | 

eval { 
    $api_instance->setBillingLineValuesTransformationsForLoggedInCompany(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setBillingLineValuesTransformationsForLoggedInCompany: $@\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 =  # BillingLineValuesTransformations_BusinessConfiguration |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration


/businessDrivenCostAnalytics/costByBusinessMetrics/businessMetricsDefinitions

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/businessDrivenCostAnalytics/costByBusinessMetrics/businessMetricsDefinitions?shouldImmediatelyExecuteTheProbe="
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();
        CostByBusinessMetricsDTO body = ; // CostByBusinessMetricsDTO | 
        Boolean shouldImmediatelyExecuteTheProbe = true; // Boolean | 
        try {
            apiInstance.setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration(body, shouldImmediatelyExecuteTheProbe);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CostByBusinessMetricsDTO body = ; // CostByBusinessMetricsDTO | 
        Boolean shouldImmediatelyExecuteTheProbe = true; // Boolean | 
        try {
            apiInstance.setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration(body, shouldImmediatelyExecuteTheProbe);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration");
            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"];

CostByBusinessMetricsDTO *body = ; //  (optional)
Boolean *shouldImmediatelyExecuteTheProbe = true; //  (optional)

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

// 
[apiInstance setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfigurationWith:body
    shouldImmediatelyExecuteTheProbe:shouldImmediatelyExecuteTheProbe
              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 = { 
  'body': , // {CostByBusinessMetricsDTO} 
  'shouldImmediatelyExecuteTheProbe': true // {Boolean} 
};

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

namespace Example
{
    public class setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfigurationExample
    {
        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 CostByBusinessMetricsDTO(); // CostByBusinessMetricsDTO |  (optional) 
            var shouldImmediatelyExecuteTheProbe = true;  // Boolean |  (optional) 

            try
            {
                // 
                apiInstance.setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration(body, shouldImmediatelyExecuteTheProbe);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration: " + 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 = ; // CostByBusinessMetricsDTO | 
$shouldImmediatelyExecuteTheProbe = true; // Boolean | 

try {
    $api_instance->setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration($body, $shouldImmediatelyExecuteTheProbe);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration: ', $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::CostByBusinessMetricsDTO->new(); # CostByBusinessMetricsDTO | 
my $shouldImmediatelyExecuteTheProbe = true; # Boolean | 

eval { 
    $api_instance->setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration(body => $body, shouldImmediatelyExecuteTheProbe => $shouldImmediatelyExecuteTheProbe);
};
if ($@) {
    warn "Exception when calling PublicApi->setBusinessDrivenCostAnalyticsCostByBusinessMetricsConfiguration: $@\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 =  # CostByBusinessMetricsDTO |  (optional)
shouldImmediatelyExecuteTheProbe = true # Boolean |  (optional)

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

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
shouldImmediatelyExecuteTheProbe

Responses

Status: 200 - true/false


setCompanyCostPerimeter


/costPerimeter/setCompanyCostPerimeter

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/setCompanyCostPerimeter"
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();
        DynamicCompanyCostPerimeterDTO body = ; // DynamicCompanyCostPerimeterDTO | 
        try {
            apiInstance.setCompanyCostPerimeter(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setCompanyCostPerimeter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DynamicCompanyCostPerimeterDTO body = ; // DynamicCompanyCostPerimeterDTO | 
        try {
            apiInstance.setCompanyCostPerimeter(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setCompanyCostPerimeter");
            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"];

DynamicCompanyCostPerimeterDTO *body = ; //  (optional)

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

// 
[apiInstance setCompanyCostPerimeterWith:body
              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 = { 
  'body':  // {DynamicCompanyCostPerimeterDTO} 
};

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

namespace Example
{
    public class setCompanyCostPerimeterExample
    {
        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 DynamicCompanyCostPerimeterDTO(); // DynamicCompanyCostPerimeterDTO |  (optional) 

            try
            {
                // 
                apiInstance.setCompanyCostPerimeter(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setCompanyCostPerimeter: " + 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 = ; // DynamicCompanyCostPerimeterDTO | 

try {
    $api_instance->setCompanyCostPerimeter($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setCompanyCostPerimeter: ', $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::DynamicCompanyCostPerimeterDTO->new(); # DynamicCompanyCostPerimeterDTO | 

eval { 
    $api_instance->setCompanyCostPerimeter(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setCompanyCostPerimeter: $@\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 =  # DynamicCompanyCostPerimeterDTO |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setCustomerAttributes


/customerAttributes/setAttributes

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customerAttributes/setAttributes"
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();
        CustomerAttributesDTO body = ; // CustomerAttributesDTO | 
        try {
            apiInstance.setCustomerAttributes(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setCustomerAttributes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CustomerAttributesDTO body = ; // CustomerAttributesDTO | 
        try {
            apiInstance.setCustomerAttributes(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setCustomerAttributes");
            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"];

CustomerAttributesDTO *body = ; //  (optional)

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

// 
[apiInstance setCustomerAttributesWith:body
              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 = { 
  'body':  // {CustomerAttributesDTO} 
};

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

namespace Example
{
    public class setCustomerAttributesExample
    {
        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 CustomerAttributesDTO(); // CustomerAttributesDTO |  (optional) 

            try
            {
                // 
                apiInstance.setCustomerAttributes(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setCustomerAttributes: " + 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 = ; // CustomerAttributesDTO | 

try {
    $api_instance->setCustomerAttributes($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setCustomerAttributes: ', $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::CustomerAttributesDTO->new(); # CustomerAttributesDTO | 

eval { 
    $api_instance->setCustomerAttributes(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setCustomerAttributes: $@\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 =  # CustomerAttributesDTO |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setCustomerCostPerimeter


/costPerimeter/setCustomerCostPerimeter

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPerimeter/setCustomerCostPerimeter"
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();
        CustomerCostPerimeterDTO body = ; // CustomerCostPerimeterDTO | 
        try {
            apiInstance.setCustomerCostPerimeter(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setCustomerCostPerimeter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        CustomerCostPerimeterDTO body = ; // CustomerCostPerimeterDTO | 
        try {
            apiInstance.setCustomerCostPerimeter(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setCustomerCostPerimeter");
            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"];

CustomerCostPerimeterDTO *body = ; //  (optional)

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

// 
[apiInstance setCustomerCostPerimeterWith:body
              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 = { 
  'body':  // {CustomerCostPerimeterDTO} 
};

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

namespace Example
{
    public class setCustomerCostPerimeterExample
    {
        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 CustomerCostPerimeterDTO(); // CustomerCostPerimeterDTO |  (optional) 

            try
            {
                // 
                apiInstance.setCustomerCostPerimeter(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setCustomerCostPerimeter: " + 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 = ; // CustomerCostPerimeterDTO | 

try {
    $api_instance->setCustomerCostPerimeter($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setCustomerCostPerimeter: ', $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::CustomerCostPerimeterDTO->new(); # CustomerCostPerimeterDTO | 

eval { 
    $api_instance->setCustomerCostPerimeter(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setCustomerCostPerimeter: $@\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 =  # CustomerCostPerimeterDTO |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany


/customers/stakeholderness/assignment/enforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholderness

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderness/assignment/enforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholderness"
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();
        StakeholdernessFilteringStatus body = ; // StakeholdernessFilteringStatus | 
        try {
            apiInstance.setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        StakeholdernessFilteringStatus body = ; // StakeholdernessFilteringStatus | 
        try {
            apiInstance.setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany");
            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"];

StakeholdernessFilteringStatus *body = ; //  (optional)

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

// 
[apiInstance setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompanyWith:body
              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 = { 
  'body':  // {StakeholdernessFilteringStatus} 
};

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

namespace Example
{
    public class setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompanyExample
    {
        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 StakeholdernessFilteringStatus(); // StakeholdernessFilteringStatus |  (optional) 

            try
            {
                // 
                apiInstance.setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany: " + 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 = ; // StakeholdernessFilteringStatus | 

try {
    $api_instance->setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany: ', $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::StakeholdernessFilteringStatus->new(); # StakeholdernessFilteringStatus | 

eval { 
    $api_instance->setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setEnforcePerAccountRestrictionsForNonAdminUsersOnTopOfCostAllovationUnitRestrictionsUsingAccountStakeholdernessForThisCompany: $@\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 =  # StakeholdernessFilteringStatus |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany


/customers/stakeholderness/assignment/enforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholderness

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderness/assignment/enforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholderness"
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();
        StakeholdernessFilteringStatus body = ; // StakeholdernessFilteringStatus | 
        try {
            apiInstance.setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        StakeholdernessFilteringStatus body = ; // StakeholdernessFilteringStatus | 
        try {
            apiInstance.setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany");
            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"];

StakeholdernessFilteringStatus *body = ; //  (optional)

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

// 
[apiInstance setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompanyWith:body
              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 = { 
  'body':  // {StakeholdernessFilteringStatus} 
};

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

namespace Example
{
    public class setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompanyExample
    {
        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 StakeholdernessFilteringStatus(); // StakeholdernessFilteringStatus |  (optional) 

            try
            {
                // 
                apiInstance.setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany: " + 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 = ; // StakeholdernessFilteringStatus | 

try {
    $api_instance->setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany: ', $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::StakeholdernessFilteringStatus->new(); # StakeholdernessFilteringStatus | 

eval { 
    $api_instance->setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setEnforceReportVisibilityForNonAdminUsersUsingTheCostAllocationUnitsStakeholdernessForThisCompany: $@\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 =  # StakeholdernessFilteringStatus |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setPlatformName


/cloudplatforms/platform/{platformId}/name

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/platform/{platformId}/name"
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 platformId = platformId_example; // String | 
        String platformName = platformName_example; // String | 
        try {
            'String' result = apiInstance.setPlatformName(platformId, platformName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setPlatformName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String platformId = platformId_example; // String | 
        String platformName = platformName_example; // String | 
        try {
            'String' result = apiInstance.setPlatformName(platformId, platformName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setPlatformName");
            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 *platformId = platformId_example; // 
String *platformName = platformName_example; //  (optional)

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

// 
[apiInstance setPlatformNameWith:platformId
    platformName:platformName
              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 platformId = platformId_example; // {String} 

var opts = { 
  'platformName': platformName_example // {String} 
};

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

namespace Example
{
    public class setPlatformNameExample
    {
        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 platformId = platformId_example;  // String | 
            var platformName = platformName_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.setPlatformName(platformId, platformName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setPlatformName: " + 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();
$platformId = platformId_example; // String | 
$platformName = platformName_example; // String | 

try {
    $result = $api_instance->setPlatformName($platformId, $platformName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setPlatformName: ', $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 $platformId = platformId_example; # String | 
my $platformName = platformName_example; # String | 

eval { 
    my $result = $api_instance->setPlatformName(platformId => $platformId, platformName => $platformName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->setPlatformName: $@\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()
platformId = platformId_example # String | 
platformName = platformName_example # String |  (optional)

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

Parameters

Path parameters
Name Description
platformId*
Form parameters
Name Description
platformName

Responses

Status: 200 - successful operation


setSamlConfig


/saml/config

Usage and SDK Samples

curl -X post -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();
        SamlConfig body = ; // SamlConfig | 
        try {
            apiInstance.setSamlConfig(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setSamlConfig");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        SamlConfig body = ; // SamlConfig | 
        try {
            apiInstance.setSamlConfig(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setSamlConfig");
            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"];

SamlConfig *body = ; //  (optional)

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

// 
[apiInstance setSamlConfigWith:body
              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 = { 
  'body':  // {SamlConfig} 
};

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

namespace Example
{
    public class setSamlConfigExample
    {
        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 SamlConfig(); // SamlConfig |  (optional) 

            try
            {
                // 
                apiInstance.setSamlConfig(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setSamlConfig: " + 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 = ; // SamlConfig | 

try {
    $api_instance->setSamlConfig($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setSamlConfig: ', $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::SamlConfig->new(); # SamlConfig | 

eval { 
    $api_instance->setSamlConfig(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setSamlConfig: $@\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 =  # SamlConfig |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setUserDefinedVariable


/userDefinedVariables/companyWide/property/{propertyName}

Usage and SDK Samples

curl -X post -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 | 
        String body = body_example; // String | 
        try {
            apiInstance.setUserDefinedVariable(propertyName, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setUserDefinedVariable");
            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 | 
        String body = body_example; // String | 
        try {
            apiInstance.setUserDefinedVariable(propertyName, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setUserDefinedVariable");
            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; // 
String *body = body_example; //  (optional)

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

// 
[apiInstance setUserDefinedVariableWith:propertyName
    body:body
              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 propertyName = propertyName_example; // {String} 

var opts = { 
  'body': body_example // {String} 
};

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

namespace Example
{
    public class setUserDefinedVariableExample
    {
        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 | 
            var body = body_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.setUserDefinedVariable(propertyName, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setUserDefinedVariable: " + 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 | 
$body = body_example; // String | 

try {
    $api_instance->setUserDefinedVariable($propertyName, $body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setUserDefinedVariable: ', $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 | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 

eval { 
    $api_instance->setUserDefinedVariable(propertyName => $propertyName, body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->setUserDefinedVariable: $@\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 | 
body = body_example # String |  (optional)

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

Parameters

Path parameters
Name Description
propertyName*
Body parameters
Name Description
body

Responses

Status: 0 - successful operation


setVisibleCloudPlatformList


/cloudplatforms/visible/keys/forContext/{displayContextUUID}

Usage and SDK Samples

curl -X post -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 | 
        String platformKeys = platformKeys_example; // String | 
        try {
            'String' result = apiInstance.setVisibleCloudPlatformList(displayContextUUID, platformKeys);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setVisibleCloudPlatformList");
            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 | 
        String platformKeys = platformKeys_example; // String | 
        try {
            'String' result = apiInstance.setVisibleCloudPlatformList(displayContextUUID, platformKeys);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#setVisibleCloudPlatformList");
            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; // 
String *platformKeys = platformKeys_example; //  (optional)

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

// 
[apiInstance setVisibleCloudPlatformListWith:displayContextUUID
    platformKeys:platformKeys
              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 displayContextUUID = displayContextUUID_example; // {String} 

var opts = { 
  'platformKeys': platformKeys_example // {String} 
};

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

namespace Example
{
    public class setVisibleCloudPlatformListExample
    {
        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 | 
            var platformKeys = platformKeys_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.setVisibleCloudPlatformList(displayContextUUID, platformKeys);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.setVisibleCloudPlatformList: " + 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 | 
$platformKeys = platformKeys_example; // String | 

try {
    $result = $api_instance->setVisibleCloudPlatformList($displayContextUUID, $platformKeys);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->setVisibleCloudPlatformList: ', $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 | 
my $platformKeys = platformKeys_example; # String | 

eval { 
    my $result = $api_instance->setVisibleCloudPlatformList(displayContextUUID => $displayContextUUID, platformKeys => $platformKeys);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->setVisibleCloudPlatformList: $@\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 | 
platformKeys = platformKeys_example # String |  (optional)

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

Parameters

Path parameters
Name Description
displayContextUUID*
Form parameters
Name Description
platformKeys

Responses

Status: 200 - successful operation


showCloudServicesMatchingRegexp


/cloudplatforms/visible/show/CloudServices/forContext/{displayContextUUID}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/visible/show/CloudServices/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 | 
        String cloudServiceProvider = cloudServiceProvider_example; // String | 
        String filterRegexpValue = filterRegexpValue_example; // String | 
        try {
            'String' result = apiInstance.showCloudServicesMatchingRegexp(displayContextUUID, cloudServiceProvider, filterRegexpValue);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#showCloudServicesMatchingRegexp");
            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 | 
        String cloudServiceProvider = cloudServiceProvider_example; // String | 
        String filterRegexpValue = filterRegexpValue_example; // String | 
        try {
            'String' result = apiInstance.showCloudServicesMatchingRegexp(displayContextUUID, cloudServiceProvider, filterRegexpValue);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#showCloudServicesMatchingRegexp");
            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; // 
String *cloudServiceProvider = cloudServiceProvider_example; //  (optional)
String *filterRegexpValue = filterRegexpValue_example; //  (optional)

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

// 
[apiInstance showCloudServicesMatchingRegexpWith:displayContextUUID
    cloudServiceProvider:cloudServiceProvider
    filterRegexpValue:filterRegexpValue
              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 displayContextUUID = displayContextUUID_example; // {String} 

var opts = { 
  'cloudServiceProvider': cloudServiceProvider_example, // {String} 
  'filterRegexpValue': filterRegexpValue_example // {String} 
};

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

namespace Example
{
    public class showCloudServicesMatchingRegexpExample
    {
        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 | 
            var cloudServiceProvider = cloudServiceProvider_example;  // String |  (optional) 
            var filterRegexpValue = filterRegexpValue_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.showCloudServicesMatchingRegexp(displayContextUUID, cloudServiceProvider, filterRegexpValue);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.showCloudServicesMatchingRegexp: " + 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 | 
$cloudServiceProvider = cloudServiceProvider_example; // String | 
$filterRegexpValue = filterRegexpValue_example; // String | 

try {
    $result = $api_instance->showCloudServicesMatchingRegexp($displayContextUUID, $cloudServiceProvider, $filterRegexpValue);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->showCloudServicesMatchingRegexp: ', $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 | 
my $cloudServiceProvider = cloudServiceProvider_example; # String | 
my $filterRegexpValue = filterRegexpValue_example; # String | 

eval { 
    my $result = $api_instance->showCloudServicesMatchingRegexp(displayContextUUID => $displayContextUUID, cloudServiceProvider => $cloudServiceProvider, filterRegexpValue => $filterRegexpValue);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->showCloudServicesMatchingRegexp: $@\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 | 
cloudServiceProvider = cloudServiceProvider_example # String |  (optional)
filterRegexpValue = filterRegexpValue_example # String |  (optional)

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

Parameters

Path parameters
Name Description
displayContextUUID*
Form parameters
Name Description
cloudServiceProvider
filterRegexpValue

Responses

Status: 200 - successful operation


startAdditionalCloudServiceDiscoverInfoFetching


/cloudplatforms/startAdditionalCloudServiceDiscoveryInfo/{csp}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/startAdditionalCloudServiceDiscoveryInfo/{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 | 
        GetCloudServiceInfoRequest body = ; // GetCloudServiceInfoRequest | 
        try {
            'String' result = apiInstance.startAdditionalCloudServiceDiscoverInfoFetching(csp, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#startAdditionalCloudServiceDiscoverInfoFetching");
            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 | 
        GetCloudServiceInfoRequest body = ; // GetCloudServiceInfoRequest | 
        try {
            'String' result = apiInstance.startAdditionalCloudServiceDiscoverInfoFetching(csp, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#startAdditionalCloudServiceDiscoverInfoFetching");
            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; // 
GetCloudServiceInfoRequest *body = ; //  (optional)

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

// 
[apiInstance startAdditionalCloudServiceDiscoverInfoFetchingWith:csp
    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 csp = csp_example; // {String} 

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

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

namespace Example
{
    public class startAdditionalCloudServiceDiscoverInfoFetchingExample
    {
        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 body = new GetCloudServiceInfoRequest(); // GetCloudServiceInfoRequest |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.startAdditionalCloudServiceDiscoverInfoFetching(csp, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.startAdditionalCloudServiceDiscoverInfoFetching: " + 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 | 
$body = ; // GetCloudServiceInfoRequest | 

try {
    $result = $api_instance->startAdditionalCloudServiceDiscoverInfoFetching($csp, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->startAdditionalCloudServiceDiscoverInfoFetching: ', $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 $body = WWW::SwaggerClient::Object::GetCloudServiceInfoRequest->new(); # GetCloudServiceInfoRequest | 

eval { 
    my $result = $api_instance->startAdditionalCloudServiceDiscoverInfoFetching(csp => $csp, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->startAdditionalCloudServiceDiscoverInfoFetching: $@\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 | 
body =  # GetCloudServiceInfoRequest |  (optional)

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

Parameters

Path parameters
Name Description
csp*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


startProcessing


/icejobsrunner/startProcessing

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/icejobsrunner/startProcessing?jobRequestUUID="
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 jobRequestUUID = jobRequestUUID_example; // String | 
        try {
            'String' result = apiInstance.startProcessing(jobRequestUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#startProcessing");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String jobRequestUUID = jobRequestUUID_example; // String | 
        try {
            'String' result = apiInstance.startProcessing(jobRequestUUID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#startProcessing");
            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 *jobRequestUUID = jobRequestUUID_example; //  (optional)

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

// 
[apiInstance startProcessingWith:jobRequestUUID
              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 = { 
  'jobRequestUUID': jobRequestUUID_example // {String} 
};

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

namespace Example
{
    public class startProcessingExample
    {
        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 jobRequestUUID = jobRequestUUID_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.startProcessing(jobRequestUUID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.startProcessing: " + 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();
$jobRequestUUID = jobRequestUUID_example; // String | 

try {
    $result = $api_instance->startProcessing($jobRequestUUID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->startProcessing: ', $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 $jobRequestUUID = jobRequestUUID_example; # String | 

eval { 
    my $result = $api_instance->startProcessing(jobRequestUUID => $jobRequestUUID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->startProcessing: $@\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()
jobRequestUUID = jobRequestUUID_example # String |  (optional)

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

Parameters

Query parameters
Name Description
jobRequestUUID

Responses

Status: 200 - successful operation


updateAnalysisConfiguration


/resourcesusageanalytics/configuration/analysis/{analysisUUID}

Usage and SDK Samples

curl -X post -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 | 
        ResourceUsageAnalysisImportExportDTO body = ; // ResourceUsageAnalysisImportExportDTO | 
        try {
            apiInstance.updateAnalysisConfiguration(analysisUUID, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateAnalysisConfiguration");
            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 | 
        ResourceUsageAnalysisImportExportDTO body = ; // ResourceUsageAnalysisImportExportDTO | 
        try {
            apiInstance.updateAnalysisConfiguration(analysisUUID, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateAnalysisConfiguration");
            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; // 
ResourceUsageAnalysisImportExportDTO *body = ; //  (optional)

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

// 
[apiInstance updateAnalysisConfigurationWith:analysisUUID
    body:body
              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 analysisUUID = analysisUUID_example; // {String} 

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

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

namespace Example
{
    public class updateAnalysisConfigurationExample
    {
        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 | 
            var body = new ResourceUsageAnalysisImportExportDTO(); // ResourceUsageAnalysisImportExportDTO |  (optional) 

            try
            {
                // 
                apiInstance.updateAnalysisConfiguration(analysisUUID, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateAnalysisConfiguration: " + 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 | 
$body = ; // ResourceUsageAnalysisImportExportDTO | 

try {
    $api_instance->updateAnalysisConfiguration($analysisUUID, $body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateAnalysisConfiguration: ', $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 | 
my $body = WWW::SwaggerClient::Object::ResourceUsageAnalysisImportExportDTO->new(); # ResourceUsageAnalysisImportExportDTO | 

eval { 
    $api_instance->updateAnalysisConfiguration(analysisUUID => $analysisUUID, body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->updateAnalysisConfiguration: $@\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 | 
body =  # ResourceUsageAnalysisImportExportDTO |  (optional)

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

Parameters

Path parameters
Name Description
analysisUUID*
Body parameters
Name Description
body

Responses

Status: 0 - successful operation


updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions


/costPartitioning/update/billingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costPartitioning/update/billingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions"
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();
        SaveNewCurrentDeclaredBillingTagsRequest body = ; // SaveNewCurrentDeclaredBillingTagsRequest | 
        try {
            apiInstance.updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        SaveNewCurrentDeclaredBillingTagsRequest body = ; // SaveNewCurrentDeclaredBillingTagsRequest | 
        try {
            apiInstance.updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions");
            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"];

SaveNewCurrentDeclaredBillingTagsRequest *body = ; //  (optional)

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

// 
[apiInstance updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitionsWith:body
              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 = { 
  'body':  // {SaveNewCurrentDeclaredBillingTagsRequest} 
};

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

namespace Example
{
    public class updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitionsExample
    {
        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 SaveNewCurrentDeclaredBillingTagsRequest(); // SaveNewCurrentDeclaredBillingTagsRequest |  (optional) 

            try
            {
                // 
                apiInstance.updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions: " + 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 = ; // SaveNewCurrentDeclaredBillingTagsRequest | 

try {
    $api_instance->updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions: ', $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::SaveNewCurrentDeclaredBillingTagsRequest->new(); # SaveNewCurrentDeclaredBillingTagsRequest | 

eval { 
    $api_instance->updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->updateBillingTagsAndCostPartitionsDefinitionsAndBillingLinesTransformationAndVirtualTagsDefinitions: $@\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 =  # SaveNewCurrentDeclaredBillingTagsRequest |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


updateCloningInfosForMultiProjectsCloning


/dashboardsCloning/infos/{uuid}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboardsCloning/infos/{uuid}"
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 uuid = uuid_example; // String | 
        DashboardsCloningInfoDTO body = ; // DashboardsCloningInfoDTO | 
        try {
            'String' result = apiInstance.updateCloningInfosForMultiProjectsCloning(uuid, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCloningInfosForMultiProjectsCloning");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String uuid = uuid_example; // String | 
        DashboardsCloningInfoDTO body = ; // DashboardsCloningInfoDTO | 
        try {
            'String' result = apiInstance.updateCloningInfosForMultiProjectsCloning(uuid, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCloningInfosForMultiProjectsCloning");
            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 *uuid = uuid_example; // 
DashboardsCloningInfoDTO *body = ; //  (optional)

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

// 
[apiInstance updateCloningInfosForMultiProjectsCloningWith:uuid
    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 uuid = uuid_example; // {String} 

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

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

namespace Example
{
    public class updateCloningInfosForMultiProjectsCloningExample
    {
        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 uuid = uuid_example;  // String | 
            var body = new DashboardsCloningInfoDTO(); // DashboardsCloningInfoDTO |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.updateCloningInfosForMultiProjectsCloning(uuid, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateCloningInfosForMultiProjectsCloning: " + 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();
$uuid = uuid_example; // String | 
$body = ; // DashboardsCloningInfoDTO | 

try {
    $result = $api_instance->updateCloningInfosForMultiProjectsCloning($uuid, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateCloningInfosForMultiProjectsCloning: ', $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 $uuid = uuid_example; # String | 
my $body = WWW::SwaggerClient::Object::DashboardsCloningInfoDTO->new(); # DashboardsCloningInfoDTO | 

eval { 
    my $result = $api_instance->updateCloningInfosForMultiProjectsCloning(uuid => $uuid, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->updateCloningInfosForMultiProjectsCloning: $@\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()
uuid = uuid_example # String | 
body =  # DashboardsCloningInfoDTO |  (optional)

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

Parameters

Path parameters
Name Description
uuid*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


updateCloudPlatformTechnicalDetails


/cloudplatforms/platform/{platformId}/probeType/{probeType}/technicalDetails

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cloudplatforms/platform/{platformId}/probeType/{probeType}/technicalDetails"
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 platformId = platformId_example; // String | 
        String probeType = probeType_example; // String | 
        String encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example; // String | 
        String shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example; // String | 
        try {
            apiInstance.updateCloudPlatformTechnicalDetails(platformId, probeType, encryptedPartialTechnicalDetails, shouldCheckCredentialsBeforeUpdating);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCloudPlatformTechnicalDetails");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String platformId = platformId_example; // String | 
        String probeType = probeType_example; // String | 
        String encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example; // String | 
        String shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example; // String | 
        try {
            apiInstance.updateCloudPlatformTechnicalDetails(platformId, probeType, encryptedPartialTechnicalDetails, shouldCheckCredentialsBeforeUpdating);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCloudPlatformTechnicalDetails");
            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 *platformId = platformId_example; // 
String *probeType = probeType_example; // 
String *encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example; //  (optional)
String *shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example; //  (optional)

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

// 
[apiInstance updateCloudPlatformTechnicalDetailsWith:platformId
    probeType:probeType
    encryptedPartialTechnicalDetails:encryptedPartialTechnicalDetails
    shouldCheckCredentialsBeforeUpdating:shouldCheckCredentialsBeforeUpdating
              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 platformId = platformId_example; // {String} 

var probeType = probeType_example; // {String} 

var opts = { 
  'encryptedPartialTechnicalDetails': encryptedPartialTechnicalDetails_example, // {String} 
  'shouldCheckCredentialsBeforeUpdating': shouldCheckCredentialsBeforeUpdating_example // {String} 
};

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

namespace Example
{
    public class updateCloudPlatformTechnicalDetailsExample
    {
        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 platformId = platformId_example;  // String | 
            var probeType = probeType_example;  // String | 
            var encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example;  // String |  (optional) 
            var shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.updateCloudPlatformTechnicalDetails(platformId, probeType, encryptedPartialTechnicalDetails, shouldCheckCredentialsBeforeUpdating);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateCloudPlatformTechnicalDetails: " + 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();
$platformId = platformId_example; // String | 
$probeType = probeType_example; // String | 
$encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example; // String | 
$shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example; // String | 

try {
    $api_instance->updateCloudPlatformTechnicalDetails($platformId, $probeType, $encryptedPartialTechnicalDetails, $shouldCheckCredentialsBeforeUpdating);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateCloudPlatformTechnicalDetails: ', $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 $platformId = platformId_example; # String | 
my $probeType = probeType_example; # String | 
my $encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example; # String | 
my $shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example; # String | 

eval { 
    $api_instance->updateCloudPlatformTechnicalDetails(platformId => $platformId, probeType => $probeType, encryptedPartialTechnicalDetails => $encryptedPartialTechnicalDetails, shouldCheckCredentialsBeforeUpdating => $shouldCheckCredentialsBeforeUpdating);
};
if ($@) {
    warn "Exception when calling PublicApi->updateCloudPlatformTechnicalDetails: $@\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()
platformId = platformId_example # String | 
probeType = probeType_example # String | 
encryptedPartialTechnicalDetails = encryptedPartialTechnicalDetails_example # String |  (optional)
shouldCheckCredentialsBeforeUpdating = shouldCheckCredentialsBeforeUpdating_example # String |  (optional)

try: 
    # 
    api_instance.updateCloudPlatformTechnicalDetails(platformId, probeType, encryptedPartialTechnicalDetails=encryptedPartialTechnicalDetails, shouldCheckCredentialsBeforeUpdating=shouldCheckCredentialsBeforeUpdating)
except ApiException as e:
    print("Exception when calling PublicApi->updateCloudPlatformTechnicalDetails: %s\n" % e)

Parameters

Path parameters
Name Description
platformId*
probeType*
Form parameters
Name Description
encryptedPartialTechnicalDetails
shouldCheckCredentialsBeforeUpdating

Responses

Status: 0 - successful operation


updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization


/cudOptimization/costPartitionUsedAsSourceOfMetadataInCUDOptimization

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/cudOptimization/costPartitionUsedAsSourceOfMetadataInCUDOptimization"
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 costPartitionVersionnedId = costPartitionVersionnedId_example; // String | 
        try {
            apiInstance.updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization(costPartitionVersionnedId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String costPartitionVersionnedId = costPartitionVersionnedId_example; // String | 
        try {
            apiInstance.updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization(costPartitionVersionnedId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization");
            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 *costPartitionVersionnedId = costPartitionVersionnedId_example; //  (optional)

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

// 
[apiInstance updateCostPartitionUsedAsSourceOfMetadataInCUDOptimizationWith:costPartitionVersionnedId
              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 = { 
  'costPartitionVersionnedId': costPartitionVersionnedId_example // {String} 
};

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

namespace Example
{
    public class updateCostPartitionUsedAsSourceOfMetadataInCUDOptimizationExample
    {
        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 costPartitionVersionnedId = costPartitionVersionnedId_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization(costPartitionVersionnedId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization: " + 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();
$costPartitionVersionnedId = costPartitionVersionnedId_example; // String | 

try {
    $api_instance->updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization($costPartitionVersionnedId);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization: ', $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 $costPartitionVersionnedId = costPartitionVersionnedId_example; # String | 

eval { 
    $api_instance->updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization(costPartitionVersionnedId => $costPartitionVersionnedId);
};
if ($@) {
    warn "Exception when calling PublicApi->updateCostPartitionUsedAsSourceOfMetadataInCUDOptimization: $@\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()
costPartitionVersionnedId = costPartitionVersionnedId_example # String |  (optional)

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

Parameters

Form parameters
Name Description
costPartitionVersionnedId

Responses

Status: 0 - successful operation


updateCostPartitionUsedAsSourceOfMetadataInRIOptimization


/reservedInstancesOptimization/costPartitionUsedAsSourceOfMetadataInRIOptimization

Usage and SDK Samples

curl -X post -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();
        String costPartitionVersionnedId = costPartitionVersionnedId_example; // String | 
        try {
            apiInstance.updateCostPartitionUsedAsSourceOfMetadataInRIOptimization(costPartitionVersionnedId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCostPartitionUsedAsSourceOfMetadataInRIOptimization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String costPartitionVersionnedId = costPartitionVersionnedId_example; // String | 
        try {
            apiInstance.updateCostPartitionUsedAsSourceOfMetadataInRIOptimization(costPartitionVersionnedId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateCostPartitionUsedAsSourceOfMetadataInRIOptimization");
            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 *costPartitionVersionnedId = costPartitionVersionnedId_example; //  (optional)

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

// 
[apiInstance updateCostPartitionUsedAsSourceOfMetadataInRIOptimizationWith:costPartitionVersionnedId
              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 = { 
  'costPartitionVersionnedId': costPartitionVersionnedId_example // {String} 
};

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

namespace Example
{
    public class updateCostPartitionUsedAsSourceOfMetadataInRIOptimizationExample
    {
        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 costPartitionVersionnedId = costPartitionVersionnedId_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.updateCostPartitionUsedAsSourceOfMetadataInRIOptimization(costPartitionVersionnedId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateCostPartitionUsedAsSourceOfMetadataInRIOptimization: " + 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();
$costPartitionVersionnedId = costPartitionVersionnedId_example; // String | 

try {
    $api_instance->updateCostPartitionUsedAsSourceOfMetadataInRIOptimization($costPartitionVersionnedId);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateCostPartitionUsedAsSourceOfMetadataInRIOptimization: ', $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 $costPartitionVersionnedId = costPartitionVersionnedId_example; # String | 

eval { 
    $api_instance->updateCostPartitionUsedAsSourceOfMetadataInRIOptimization(costPartitionVersionnedId => $costPartitionVersionnedId);
};
if ($@) {
    warn "Exception when calling PublicApi->updateCostPartitionUsedAsSourceOfMetadataInRIOptimization: $@\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()
costPartitionVersionnedId = costPartitionVersionnedId_example # String |  (optional)

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

Parameters

Form parameters
Name Description
costPartitionVersionnedId

Responses

Status: 0 - successful operation


updateDisplayContextName


/dashboards/costPerimeter/name/inContext/{displayContextUUID}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/dashboards/costPerimeter/name/inContext/{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 | 
        String newCostPerimeterName = newCostPerimeterName_example; // String | 
        try {
            'String' result = apiInstance.updateDisplayContextName(displayContextUUID, newCostPerimeterName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateDisplayContextName");
            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 | 
        String newCostPerimeterName = newCostPerimeterName_example; // String | 
        try {
            'String' result = apiInstance.updateDisplayContextName(displayContextUUID, newCostPerimeterName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateDisplayContextName");
            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; // 
String *newCostPerimeterName = newCostPerimeterName_example; //  (optional)

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

// 
[apiInstance updateDisplayContextNameWith:displayContextUUID
    newCostPerimeterName:newCostPerimeterName
              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 displayContextUUID = displayContextUUID_example; // {String} 

var opts = { 
  'newCostPerimeterName': newCostPerimeterName_example // {String} 
};

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

namespace Example
{
    public class updateDisplayContextNameExample
    {
        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 | 
            var newCostPerimeterName = newCostPerimeterName_example;  // String |  (optional) 

            try
            {
                // 
                'String' result = apiInstance.updateDisplayContextName(displayContextUUID, newCostPerimeterName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateDisplayContextName: " + 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 | 
$newCostPerimeterName = newCostPerimeterName_example; // String | 

try {
    $result = $api_instance->updateDisplayContextName($displayContextUUID, $newCostPerimeterName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateDisplayContextName: ', $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 | 
my $newCostPerimeterName = newCostPerimeterName_example; # String | 

eval { 
    my $result = $api_instance->updateDisplayContextName(displayContextUUID => $displayContextUUID, newCostPerimeterName => $newCostPerimeterName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PublicApi->updateDisplayContextName: $@\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 | 
newCostPerimeterName = newCostPerimeterName_example # String |  (optional)

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

Parameters

Path parameters
Name Description
displayContextUUID*
Form parameters
Name Description
newCostPerimeterName

Responses

Status: 200 - successful operation


updateMetadataForASingleCostAllocationUnit


/costSources/metadata/update

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/costSources/metadata/update"
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 costSourceType = costSourceType_example; // String | 
        String costSourceId = costSourceId_example; // String | 
        String versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example; // String | 
        String metadataKey = metadataKey_example; // String | 
        String metadataValue = metadataValue_example; // String | 
        try {
            apiInstance.updateMetadataForASingleCostAllocationUnit(costSourceType, costSourceId, versionnedCostAllocationUnitIds, metadataKey, metadataValue);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateMetadataForASingleCostAllocationUnit");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String costSourceType = costSourceType_example; // String | 
        String costSourceId = costSourceId_example; // String | 
        String versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example; // String | 
        String metadataKey = metadataKey_example; // String | 
        String metadataValue = metadataValue_example; // String | 
        try {
            apiInstance.updateMetadataForASingleCostAllocationUnit(costSourceType, costSourceId, versionnedCostAllocationUnitIds, metadataKey, metadataValue);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateMetadataForASingleCostAllocationUnit");
            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 *costSourceType = costSourceType_example; //  (optional)
String *costSourceId = costSourceId_example; //  (optional)
String *versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example; //  (optional)
String *metadataKey = metadataKey_example; //  (optional)
String *metadataValue = metadataValue_example; //  (optional)

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

// 
[apiInstance updateMetadataForASingleCostAllocationUnitWith:costSourceType
    costSourceId:costSourceId
    versionnedCostAllocationUnitIds:versionnedCostAllocationUnitIds
    metadataKey:metadataKey
    metadataValue:metadataValue
              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 = { 
  'costSourceType': costSourceType_example, // {String} 
  'costSourceId': costSourceId_example, // {String} 
  'versionnedCostAllocationUnitIds': versionnedCostAllocationUnitIds_example, // {String} 
  'metadataKey': metadataKey_example, // {String} 
  'metadataValue': metadataValue_example // {String} 
};

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

namespace Example
{
    public class updateMetadataForASingleCostAllocationUnitExample
    {
        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 costSourceType = costSourceType_example;  // String |  (optional) 
            var costSourceId = costSourceId_example;  // String |  (optional) 
            var versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example;  // String |  (optional) 
            var metadataKey = metadataKey_example;  // String |  (optional) 
            var metadataValue = metadataValue_example;  // String |  (optional) 

            try
            {
                // 
                apiInstance.updateMetadataForASingleCostAllocationUnit(costSourceType, costSourceId, versionnedCostAllocationUnitIds, metadataKey, metadataValue);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateMetadataForASingleCostAllocationUnit: " + 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();
$costSourceType = costSourceType_example; // String | 
$costSourceId = costSourceId_example; // String | 
$versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example; // String | 
$metadataKey = metadataKey_example; // String | 
$metadataValue = metadataValue_example; // String | 

try {
    $api_instance->updateMetadataForASingleCostAllocationUnit($costSourceType, $costSourceId, $versionnedCostAllocationUnitIds, $metadataKey, $metadataValue);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateMetadataForASingleCostAllocationUnit: ', $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 $costSourceType = costSourceType_example; # String | 
my $costSourceId = costSourceId_example; # String | 
my $versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example; # String | 
my $metadataKey = metadataKey_example; # String | 
my $metadataValue = metadataValue_example; # String | 

eval { 
    $api_instance->updateMetadataForASingleCostAllocationUnit(costSourceType => $costSourceType, costSourceId => $costSourceId, versionnedCostAllocationUnitIds => $versionnedCostAllocationUnitIds, metadataKey => $metadataKey, metadataValue => $metadataValue);
};
if ($@) {
    warn "Exception when calling PublicApi->updateMetadataForASingleCostAllocationUnit: $@\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()
costSourceType = costSourceType_example # String |  (optional)
costSourceId = costSourceId_example # String |  (optional)
versionnedCostAllocationUnitIds = versionnedCostAllocationUnitIds_example # String |  (optional)
metadataKey = metadataKey_example # String |  (optional)
metadataValue = metadataValue_example # String |  (optional)

try: 
    # 
    api_instance.updateMetadataForASingleCostAllocationUnit(costSourceType=costSourceType, costSourceId=costSourceId, versionnedCostAllocationUnitIds=versionnedCostAllocationUnitIds, metadataKey=metadataKey, metadataValue=metadataValue)
except ApiException as e:
    print("Exception when calling PublicApi->updateMetadataForASingleCostAllocationUnit: %s\n" % e)

Parameters

Form parameters
Name Description
costSourceType
costSourceId
versionnedCostAllocationUnitIds
metadataKey
metadataValue

Responses

Status: 0 - successful operation


updateScoringLogicTemplate


/resourcesusageanalytics/configuration/scoringLogicTemplates/{templateUUID}

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/resourcesusageanalytics/configuration/scoringLogicTemplates/{templateUUID}"
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 templateUUID = templateUUID_example; // String | 
        ScoringLogicTemplateImportExportDTO body = ; // ScoringLogicTemplateImportExportDTO | 
        try {
            apiInstance.updateScoringLogicTemplate(templateUUID, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateScoringLogicTemplate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String templateUUID = templateUUID_example; // String | 
        ScoringLogicTemplateImportExportDTO body = ; // ScoringLogicTemplateImportExportDTO | 
        try {
            apiInstance.updateScoringLogicTemplate(templateUUID, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateScoringLogicTemplate");
            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 *templateUUID = templateUUID_example; // 
ScoringLogicTemplateImportExportDTO *body = ; //  (optional)

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

// 
[apiInstance updateScoringLogicTemplateWith:templateUUID
    body:body
              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 templateUUID = templateUUID_example; // {String} 

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

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

namespace Example
{
    public class updateScoringLogicTemplateExample
    {
        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 templateUUID = templateUUID_example;  // String | 
            var body = new ScoringLogicTemplateImportExportDTO(); // ScoringLogicTemplateImportExportDTO |  (optional) 

            try
            {
                // 
                apiInstance.updateScoringLogicTemplate(templateUUID, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateScoringLogicTemplate: " + 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();
$templateUUID = templateUUID_example; // String | 
$body = ; // ScoringLogicTemplateImportExportDTO | 

try {
    $api_instance->updateScoringLogicTemplate($templateUUID, $body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateScoringLogicTemplate: ', $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 $templateUUID = templateUUID_example; # String | 
my $body = WWW::SwaggerClient::Object::ScoringLogicTemplateImportExportDTO->new(); # ScoringLogicTemplateImportExportDTO | 

eval { 
    $api_instance->updateScoringLogicTemplate(templateUUID => $templateUUID, body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->updateScoringLogicTemplate: $@\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()
templateUUID = templateUUID_example # String | 
body =  # ScoringLogicTemplateImportExportDTO |  (optional)

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

Parameters

Path parameters
Name Description
templateUUID*
Body parameters
Name Description
body

Responses

Status: 0 - successful operation


updateStakeholderList


/customers/stakeholderManagement/updateStakeholderness

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/stakeholderManagement/updateStakeholderness"
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();
        UpdateStakeholdernessRequest body = ; // UpdateStakeholdernessRequest | 
        try {
            apiInstance.updateStakeholderList(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateStakeholderList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        UpdateStakeholdernessRequest body = ; // UpdateStakeholdernessRequest | 
        try {
            apiInstance.updateStakeholderList(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateStakeholderList");
            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"];

UpdateStakeholdernessRequest *body = ; //  (optional)

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

// 
[apiInstance updateStakeholderListWith:body
              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 = { 
  'body':  // {UpdateStakeholdernessRequest} 
};

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

namespace Example
{
    public class updateStakeholderListExample
    {
        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 UpdateStakeholdernessRequest(); // UpdateStakeholdernessRequest |  (optional) 

            try
            {
                // 
                apiInstance.updateStakeholderList(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateStakeholderList: " + 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 = ; // UpdateStakeholdernessRequest | 

try {
    $api_instance->updateStakeholderList($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateStakeholderList: ', $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::UpdateStakeholdernessRequest->new(); # UpdateStakeholdernessRequest | 

eval { 
    $api_instance->updateStakeholderList(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->updateStakeholderList: $@\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 =  # UpdateStakeholdernessRequest |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


updateSubAccountRole


/customers/{userWithNewRolesKeyAsString}/subAccount/roles

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/customers/{userWithNewRolesKeyAsString}/subAccount/roles"
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 userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example; // String | 
        array[String] body = ; // array[String] | 
        try {
            apiInstance.updateSubAccountRole(userWithNewRolesKeyAsString, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateSubAccountRole");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        String userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example; // String | 
        array[String] body = ; // array[String] | 
        try {
            apiInstance.updateSubAccountRole(userWithNewRolesKeyAsString, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateSubAccountRole");
            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 *userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example; // 
array[String] *body = ; //  (optional)

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

// 
[apiInstance updateSubAccountRoleWith:userWithNewRolesKeyAsString
    body:body
              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 userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example; // {String} 

var opts = { 
  'body':  // {array[String]} 
};

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

namespace Example
{
    public class updateSubAccountRoleExample
    {
        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 userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example;  // String | 
            var body = new array[String](); // array[String] |  (optional) 

            try
            {
                // 
                apiInstance.updateSubAccountRole(userWithNewRolesKeyAsString, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateSubAccountRole: " + 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();
$userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example; // String | 
$body = ; // array[String] | 

try {
    $api_instance->updateSubAccountRole($userWithNewRolesKeyAsString, $body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateSubAccountRole: ', $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 $userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example; # String | 
my $body = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | 

eval { 
    $api_instance->updateSubAccountRole(userWithNewRolesKeyAsString => $userWithNewRolesKeyAsString, body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->updateSubAccountRole: $@\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()
userWithNewRolesKeyAsString = userWithNewRolesKeyAsString_example # String | 
body =  # array[String] |  (optional)

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

Parameters

Path parameters
Name Description
userWithNewRolesKeyAsString*
Body parameters
Name Description
body

Responses

Status: 0 - successful operation


updateTagConfiguration


/externalFeatures/detailedCostAnalytics/configuration/update/tagConfiguration

Usage and SDK Samples

curl -X post -H "x-teevity-accessKey: [[apiKey]]" "http://cloudcost-app.teevity.com/api/externalFeatures/detailedCostAnalytics/configuration/update/tagConfiguration"
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();
        DetailedCostAnalyticsTagConfigurationUpdateRequest body = ; // DetailedCostAnalyticsTagConfigurationUpdateRequest | 
        try {
            apiInstance.updateTagConfiguration(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateTagConfiguration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PublicApi;

public class PublicApiExample {

    public static void main(String[] args) {
        PublicApi apiInstance = new PublicApi();
        DetailedCostAnalyticsTagConfigurationUpdateRequest body = ; // DetailedCostAnalyticsTagConfigurationUpdateRequest | 
        try {
            apiInstance.updateTagConfiguration(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling PublicApi#updateTagConfiguration");
            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"];

DetailedCostAnalyticsTagConfigurationUpdateRequest *body = ; //  (optional)

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

// 
[apiInstance updateTagConfigurationWith:body
              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 = { 
  'body':  // {DetailedCostAnalyticsTagConfigurationUpdateRequest} 
};

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

namespace Example
{
    public class updateTagConfigurationExample
    {
        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 DetailedCostAnalyticsTagConfigurationUpdateRequest(); // DetailedCostAnalyticsTagConfigurationUpdateRequest |  (optional) 

            try
            {
                // 
                apiInstance.updateTagConfiguration(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PublicApi.updateTagConfiguration: " + 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 = ; // DetailedCostAnalyticsTagConfigurationUpdateRequest | 

try {
    $api_instance->updateTagConfiguration($body);
} catch (Exception $e) {
    echo 'Exception when calling PublicApi->updateTagConfiguration: ', $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::DetailedCostAnalyticsTagConfigurationUpdateRequest->new(); # DetailedCostAnalyticsTagConfigurationUpdateRequest | 

eval { 
    $api_instance->updateTagConfiguration(body => $body);
};
if ($@) {
    warn "Exception when calling PublicApi->updateTagConfiguration: $@\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 =  # DetailedCostAnalyticsTagConfigurationUpdateRequest |  (optional)

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

Parameters

Body parameters
Name Description
body

Responses

Status: 0 - successful operation


Generated 2019-03-05T11:08:32.041+01:00