1TrueID 3.0 API Customer

Account

bcAccountAddDeviceConfPost

Confirms a device association request


/bc/account/addDeviceConf

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/addDeviceConf?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        AddDeviceConfirmDTO body = ; // AddDeviceConfirmDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountAddDeviceConfPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountAddDeviceConfPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        AddDeviceConfirmDTO body = ; // AddDeviceConfirmDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountAddDeviceConfPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountAddDeviceConfPost");
            e.printStackTrace();
        }
    }
}
AddDeviceConfirmDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Confirms a device association request
[apiInstance bcAccountAddDeviceConfPostWith:body
    apiKey:apiKey
              completionHandler: ^(AddDeviceResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{AddDeviceConfirmDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountAddDeviceConfPostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new AddDeviceConfirmDTO(); // AddDeviceConfirmDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Confirms a device association request
                AddDeviceResponseDTO result = apiInstance.bcAccountAddDeviceConfPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountAddDeviceConfPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // AddDeviceConfirmDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::AddDeviceConfirmDTO->new(); # AddDeviceConfirmDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # AddDeviceConfirmDTO | 
apiKey = apiKey_example # String | 

try: 
    # Confirms a device association request
    api_response = api_instance.bc_account_add_device_conf_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountAddDeviceConfPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountAddDeviceReqPost

Creates a device association request


/bc/account/addDeviceReq

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/addDeviceReq?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        AddDeviceRequestDTO body = ; // AddDeviceRequestDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountAddDeviceReqPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountAddDeviceReqPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        AddDeviceRequestDTO body = ; // AddDeviceRequestDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountAddDeviceReqPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountAddDeviceReqPost");
            e.printStackTrace();
        }
    }
}
AddDeviceRequestDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Creates a device association request
[apiInstance bcAccountAddDeviceReqPostWith:body
    apiKey:apiKey
              completionHandler: ^(AddDeviceResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{AddDeviceRequestDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountAddDeviceReqPostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new AddDeviceRequestDTO(); // AddDeviceRequestDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Creates a device association request
                AddDeviceResponseDTO result = apiInstance.bcAccountAddDeviceReqPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountAddDeviceReqPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // AddDeviceRequestDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::AddDeviceRequestDTO->new(); # AddDeviceRequestDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # AddDeviceRequestDTO | 
apiKey = apiKey_example # String | 

try: 
    # Creates a device association request
    api_response = api_instance.bc_account_add_device_req_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountAddDeviceReqPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountConfirmCodePost

Confirm the confirmation code


/bc/account/confirmCode

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/confirmCode?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        ConfirmCodeDTO body = ; // ConfirmCodeDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountConfirmCodePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountConfirmCodePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        ConfirmCodeDTO body = ; // ConfirmCodeDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountConfirmCodePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountConfirmCodePost");
            e.printStackTrace();
        }
    }
}
ConfirmCodeDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Confirm the confirmation code
[apiInstance bcAccountConfirmCodePostWith:body
    apiKey:apiKey
              completionHandler: ^(AddDeviceResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{ConfirmCodeDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountConfirmCodePostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new ConfirmCodeDTO(); // ConfirmCodeDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Confirm the confirmation code
                AddDeviceResponseDTO result = apiInstance.bcAccountConfirmCodePost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountConfirmCodePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // ConfirmCodeDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::ConfirmCodeDTO->new(); # ConfirmCodeDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # ConfirmCodeDTO | 
apiKey = apiKey_example # String | 

try: 
    # Confirm the confirmation code
    api_response = api_instance.bc_account_confirm_code_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountConfirmCodePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountDeleteAccountPost

Delete account


/bc/account/deleteAccount

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/deleteAccount?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        DeleteAccountDTO body = ; // DeleteAccountDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            DeleteAccountRespDTO result = apiInstance.bcAccountDeleteAccountPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountDeleteAccountPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        DeleteAccountDTO body = ; // DeleteAccountDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            DeleteAccountRespDTO result = apiInstance.bcAccountDeleteAccountPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountDeleteAccountPost");
            e.printStackTrace();
        }
    }
}
DeleteAccountDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Delete account
[apiInstance bcAccountDeleteAccountPostWith:body
    apiKey:apiKey
              completionHandler: ^(DeleteAccountRespDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{DeleteAccountDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountDeleteAccountPostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new DeleteAccountDTO(); // DeleteAccountDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Delete account
                DeleteAccountRespDTO result = apiInstance.bcAccountDeleteAccountPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountDeleteAccountPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // DeleteAccountDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::DeleteAccountDTO->new(); # DeleteAccountDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # DeleteAccountDTO | 
apiKey = apiKey_example # String | 

try: 
    # Delete account
    api_response = api_instance.bc_account_delete_account_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountDeleteAccountPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountExistsGet

Check if email exists in system


/bc/account/exists

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//bc/account/exists?email=&appName=&apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        String email = email_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            ExistsDTO result = apiInstance.bcAccountExistsGet(email, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountExistsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        String email = email_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            ExistsDTO result = apiInstance.bcAccountExistsGet(email, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountExistsGet");
            e.printStackTrace();
        }
    }
}
String *email = email_example; // 
String *appName = appName_example; // 
String *apiKey = apiKey_example; // 

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

// Check if email exists in system
[apiInstance bcAccountExistsGetWith:email
    appName:appName
    apiKey:apiKey
              completionHandler: ^(ExistsDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var email = email_example; // {{String}} 
var appName = appName_example; // {{String}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountExistsGetExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var email = email_example;  // String | 
            var appName = appName_example;  // String | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Check if email exists in system
                ExistsDTO result = apiInstance.bcAccountExistsGet(email, appName, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountExistsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$email = email_example; // String | 
$appName = appName_example; // String | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $email = email_example; # String | 
my $appName = appName_example; # String | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
email = email_example # String | 
appName = appName_example # String | 
apiKey = apiKey_example # String | 

try: 
    # Check if email exists in system
    api_response = api_instance.bc_account_exists_get(email, appName, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountExistsGet: %s\n" % e)

Parameters

Query parameters
Name Description
email*
String
Required
appName*
String
Required
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountLoginPost

Login into the account


/bc/account/login

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/login?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        LoginDTO body = ; // LoginDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginRespDTO result = apiInstance.bcAccountLoginPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountLoginPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        LoginDTO body = ; // LoginDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginRespDTO result = apiInstance.bcAccountLoginPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountLoginPost");
            e.printStackTrace();
        }
    }
}
LoginDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Login into the account
[apiInstance bcAccountLoginPostWith:body
    apiKey:apiKey
              completionHandler: ^(LoginRespDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{LoginDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountLoginPostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new LoginDTO(); // LoginDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Login into the account
                LoginRespDTO result = apiInstance.bcAccountLoginPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountLoginPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // LoginDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::LoginDTO->new(); # LoginDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # LoginDTO | 
apiKey = apiKey_example # String | 

try: 
    # Login into the account
    api_response = api_instance.bc_account_login_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountLoginPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountLoginSellerPost

Login into the Seller/Maker/Distributor account (for the seller app)


/bc/account/loginSeller

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/loginSeller?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        LoginSellerDTO body = ; // LoginSellerDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginSellerRespDTO result = apiInstance.bcAccountLoginSellerPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountLoginSellerPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        LoginSellerDTO body = ; // LoginSellerDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginSellerRespDTO result = apiInstance.bcAccountLoginSellerPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountLoginSellerPost");
            e.printStackTrace();
        }
    }
}
LoginSellerDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Login into the Seller/Maker/Distributor account (for the seller app)
[apiInstance bcAccountLoginSellerPostWith:body
    apiKey:apiKey
              completionHandler: ^(LoginSellerRespDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{LoginSellerDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountLoginSellerPostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new LoginSellerDTO(); // LoginSellerDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Login into the Seller/Maker/Distributor account (for the seller app)
                LoginSellerRespDTO result = apiInstance.bcAccountLoginSellerPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountLoginSellerPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // LoginSellerDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::LoginSellerDTO->new(); # LoginSellerDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # LoginSellerDTO | 
apiKey = apiKey_example # String | 

try: 
    # Login into the Seller/Maker/Distributor account (for the seller app)
    api_response = api_instance.bc_account_login_seller_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountLoginSellerPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountProfileGet

Returns the account profile informations


/bc/account/profile

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//bc/account/profile?deviceId=&appName=&apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            AccountDTO result = apiInstance.bcAccountProfileGet(deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountProfileGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            AccountDTO result = apiInstance.bcAccountProfileGet(deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountProfileGet");
            e.printStackTrace();
        }
    }
}
String *deviceId = deviceId_example; // 
String *appName = appName_example; // 
String *apiKey = apiKey_example; // 

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

// Returns the account profile informations
[apiInstance bcAccountProfileGetWith:deviceId
    appName:appName
    apiKey:apiKey
              completionHandler: ^(AccountDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var deviceId = deviceId_example; // {{String}} 
var appName = appName_example; // {{String}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountProfileGetExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var deviceId = deviceId_example;  // String | 
            var appName = appName_example;  // String | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Returns the account profile informations
                AccountDTO result = apiInstance.bcAccountProfileGet(deviceId, appName, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountProfileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$deviceId = deviceId_example; // String | 
$appName = appName_example; // String | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $deviceId = deviceId_example; # String | 
my $appName = appName_example; # String | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
deviceId = deviceId_example # String | 
appName = appName_example # String | 
apiKey = apiKey_example # String | 

try: 
    # Returns the account profile informations
    api_response = api_instance.bc_account_profile_get(deviceId, appName, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountProfileGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId*
String
Required
appName*
String
Required
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountSaveOverwritePost

Saves the account informations overwriting new wallet


/bc/account/saveOverwrite

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/saveOverwrite?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        SaveOverwriteAccountDTO body = ; // SaveOverwriteAccountDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginRespDTO result = apiInstance.bcAccountSaveOverwritePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountSaveOverwritePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        SaveOverwriteAccountDTO body = ; // SaveOverwriteAccountDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginRespDTO result = apiInstance.bcAccountSaveOverwritePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountSaveOverwritePost");
            e.printStackTrace();
        }
    }
}
SaveOverwriteAccountDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Saves the account informations overwriting new wallet
[apiInstance bcAccountSaveOverwritePostWith:body
    apiKey:apiKey
              completionHandler: ^(LoginRespDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{SaveOverwriteAccountDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountSaveOverwritePostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new SaveOverwriteAccountDTO(); // SaveOverwriteAccountDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Saves the account informations overwriting new wallet
                LoginRespDTO result = apiInstance.bcAccountSaveOverwritePost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountSaveOverwritePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // SaveOverwriteAccountDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::SaveOverwriteAccountDTO->new(); # SaveOverwriteAccountDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # SaveOverwriteAccountDTO | 
apiKey = apiKey_example # String | 

try: 
    # Saves the account informations overwriting new wallet
    api_response = api_instance.bc_account_save_overwrite_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountSaveOverwritePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountSavePost

Saves the account informations


/bc/account/save

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/save?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        SaveAccountDTO body = ; // SaveAccountDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginRespDTO result = apiInstance.bcAccountSavePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        SaveAccountDTO body = ; // SaveAccountDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            LoginRespDTO result = apiInstance.bcAccountSavePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountSavePost");
            e.printStackTrace();
        }
    }
}
SaveAccountDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Saves the account informations
[apiInstance bcAccountSavePostWith:body
    apiKey:apiKey
              completionHandler: ^(LoginRespDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{SaveAccountDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountSavePostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new SaveAccountDTO(); // SaveAccountDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Saves the account informations
                LoginRespDTO result = apiInstance.bcAccountSavePost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountSavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // SaveAccountDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::SaveAccountDTO->new(); # SaveAccountDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # SaveAccountDTO | 
apiKey = apiKey_example # String | 

try: 
    # Saves the account informations
    api_response = api_instance.bc_account_save_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountSavePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountSendCodePost

Send the confirmation code


/bc/account/sendCode

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/sendCode?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        SendCodeDTO body = ; // SendCodeDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountSendCodePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountSendCodePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        SendCodeDTO body = ; // SendCodeDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountSendCodePost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountSendCodePost");
            e.printStackTrace();
        }
    }
}
SendCodeDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Send the confirmation code
[apiInstance bcAccountSendCodePostWith:body
    apiKey:apiKey
              completionHandler: ^(AddDeviceResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{SendCodeDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountSendCodePostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new SendCodeDTO(); // SendCodeDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Send the confirmation code
                AddDeviceResponseDTO result = apiInstance.bcAccountSendCodePost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountSendCodePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // SendCodeDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::SendCodeDTO->new(); # SendCodeDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # SendCodeDTO | 
apiKey = apiKey_example # String | 

try: 
    # Send the confirmation code
    api_response = api_instance.bc_account_send_code_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountSendCodePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountTestEmailPost

Test email sending


/bc/account/testEmail

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/testEmail?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        TestEmailDTO body = ; // TestEmailDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountTestEmailPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountTestEmailPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        TestEmailDTO body = ; // TestEmailDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            AddDeviceResponseDTO result = apiInstance.bcAccountTestEmailPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountTestEmailPost");
            e.printStackTrace();
        }
    }
}
TestEmailDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Test email sending
[apiInstance bcAccountTestEmailPostWith:body
    apiKey:apiKey
              completionHandler: ^(AddDeviceResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{TestEmailDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountTestEmailPostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new TestEmailDTO(); // TestEmailDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Test email sending
                AddDeviceResponseDTO result = apiInstance.bcAccountTestEmailPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountTestEmailPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // TestEmailDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::TestEmailDTO->new(); # TestEmailDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # TestEmailDTO | 
apiKey = apiKey_example # String | 

try: 
    # Test email sending
    api_response = api_instance.bc_account_test_email_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountTestEmailPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcAccountUpdProfilePost

Update the account profile informations


/bc/account/updProfile

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/account/updProfile?deviceId=&appName=&apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        AccountUpdateDTO body = ; // AccountUpdateDTO | 
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            AccountDTO result = apiInstance.bcAccountUpdProfilePost(body, deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountUpdProfilePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        AccountUpdateDTO body = ; // AccountUpdateDTO | 
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            AccountDTO result = apiInstance.bcAccountUpdProfilePost(body, deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#bcAccountUpdProfilePost");
            e.printStackTrace();
        }
    }
}
AccountUpdateDTO *body = ; // 
String *deviceId = deviceId_example; // 
String *appName = appName_example; // 
String *apiKey = apiKey_example; // 

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

// Update the account profile informations
[apiInstance bcAccountUpdProfilePostWith:body
    deviceId:deviceId
    appName:appName
    apiKey:apiKey
              completionHandler: ^(AccountDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.AccountApi()
var body = ; // {{AccountUpdateDTO}} 
var deviceId = deviceId_example; // {{String}} 
var appName = appName_example; // {{String}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcAccountUpdProfilePostExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var body = new AccountUpdateDTO(); // AccountUpdateDTO | 
            var deviceId = deviceId_example;  // String | 
            var appName = appName_example;  // String | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Update the account profile informations
                AccountDTO result = apiInstance.bcAccountUpdProfilePost(body, deviceId, appName, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.bcAccountUpdProfilePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // AccountUpdateDTO | 
$deviceId = deviceId_example; // String | 
$appName = appName_example; // String | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::AccountUpdateDTO->new(); # AccountUpdateDTO | 
my $deviceId = deviceId_example; # String | 
my $appName = appName_example; # String | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # AccountUpdateDTO | 
deviceId = deviceId_example # String | 
appName = appName_example # String | 
apiKey = apiKey_example # String | 

try: 
    # Update the account profile informations
    api_response = api_instance.bc_account_upd_profile_post(body, deviceId, appName, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->bcAccountUpdProfilePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
deviceId*
String
Required
appName*
String
Required
apiKey*
String
Required

Responses

Status: 200 - OK


Product

bcProductDepositPost

Deposit the NFT on the 1TrueID Wallet to permit the OWN IT operation


/bc/product/deposit

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/product/deposit?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        DepositDTO body = ; // DepositDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            DepositResponseDTO result = apiInstance.bcProductDepositPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductDepositPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        DepositDTO body = ; // DepositDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            DepositResponseDTO result = apiInstance.bcProductDepositPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductDepositPost");
            e.printStackTrace();
        }
    }
}
DepositDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Deposit the NFT on the 1TrueID Wallet to permit the OWN IT operation
[apiInstance bcProductDepositPostWith:body
    apiKey:apiKey
              completionHandler: ^(DepositResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.ProductApi()
var body = ; // {{DepositDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcProductDepositPostExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var body = new DepositDTO(); // DepositDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Deposit the NFT on the 1TrueID Wallet to permit the OWN IT operation
                DepositResponseDTO result = apiInstance.bcProductDepositPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.bcProductDepositPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // DepositDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $body = WWW::SwaggerClient::Object::DepositDTO->new(); # DepositDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.ProductApi()
body =  # DepositDTO | 
apiKey = apiKey_example # String | 

try: 
    # Deposit the NFT on the 1TrueID Wallet to permit the OWN IT operation
    api_response = api_instance.bc_product_deposit_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->bcProductDepositPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcProductInformationsGetByBcProductUidUidGet

Returns the product information given a tokenId


/bc/product/informations/get-by-bc/product-uid/{uid}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//bc/product/informations/get-by-bc/product-uid/{uid}?deviceId=&appName=&apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        String uid = uid_example; // String | 
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            ProductDTO result = apiInstance.bcProductInformationsGetByBcProductUidUidGet(uid, deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductInformationsGetByBcProductUidUidGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        String uid = uid_example; // String | 
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            ProductDTO result = apiInstance.bcProductInformationsGetByBcProductUidUidGet(uid, deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductInformationsGetByBcProductUidUidGet");
            e.printStackTrace();
        }
    }
}
String *uid = uid_example; // 
String *deviceId = deviceId_example; // 
String *appName = appName_example; // 
String *apiKey = apiKey_example; // 

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

// Returns the product information given a tokenId
[apiInstance bcProductInformationsGetByBcProductUidUidGetWith:uid
    deviceId:deviceId
    appName:appName
    apiKey:apiKey
              completionHandler: ^(ProductDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.ProductApi()
var uid = uid_example; // {{String}} 
var deviceId = deviceId_example; // {{String}} 
var appName = appName_example; // {{String}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcProductInformationsGetByBcProductUidUidGetExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var uid = uid_example;  // String | 
            var deviceId = deviceId_example;  // String | 
            var appName = appName_example;  // String | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Returns the product information given a tokenId
                ProductDTO result = apiInstance.bcProductInformationsGetByBcProductUidUidGet(uid, deviceId, appName, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.bcProductInformationsGetByBcProductUidUidGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$uid = uid_example; // String | 
$deviceId = deviceId_example; // String | 
$appName = appName_example; // String | 
$apiKey = apiKey_example; // String | 

try {
    $result = $api_instance->bcProductInformationsGetByBcProductUidUidGet($uid, $deviceId, $appName, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->bcProductInformationsGetByBcProductUidUidGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductApi;

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $uid = uid_example; # String | 
my $deviceId = deviceId_example; # String | 
my $appName = appName_example; # String | 
my $apiKey = apiKey_example; # String | 

eval { 
    my $result = $api_instance->bcProductInformationsGetByBcProductUidUidGet(uid => $uid, deviceId => $deviceId, appName => $appName, apiKey => $apiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->bcProductInformationsGetByBcProductUidUidGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ProductApi()
uid = uid_example # String | 
deviceId = deviceId_example # String | 
appName = appName_example # String | 
apiKey = apiKey_example # String | 

try: 
    # Returns the product information given a tokenId
    api_response = api_instance.bc_product_informations_get_by_bc_product_uid_uid_get(uid, deviceId, appName, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->bcProductInformationsGetByBcProductUidUidGet: %s\n" % e)

Parameters

Path parameters
Name Description
uid*
String
Required
Query parameters
Name Description
deviceId*
String
Required
appName*
String
Required
apiKey*
String
Required

Responses

Status: 200 - OK


bcProductInformationsGetByBcUidUidPayloadPayloadGet

Returns the product information given the DDNA


/bc/product/informations/get-by-bc/uid/{uid}/payload/{payload}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//bc/product/informations/get-by-bc/uid/{uid}/payload/{payload}?deviceId=&appName=&apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        String uid = uid_example; // String | 
        String payload = payload_example; // String | 
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            ProductDTO result = apiInstance.bcProductInformationsGetByBcUidUidPayloadPayloadGet(uid, payload, deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductInformationsGetByBcUidUidPayloadPayloadGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        String uid = uid_example; // String | 
        String payload = payload_example; // String | 
        String deviceId = deviceId_example; // String | 
        String appName = appName_example; // String | 
        String apiKey = apiKey_example; // String | 
        try {
            ProductDTO result = apiInstance.bcProductInformationsGetByBcUidUidPayloadPayloadGet(uid, payload, deviceId, appName, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductInformationsGetByBcUidUidPayloadPayloadGet");
            e.printStackTrace();
        }
    }
}
String *uid = uid_example; // 
String *payload = payload_example; // 
String *deviceId = deviceId_example; // 
String *appName = appName_example; // 
String *apiKey = apiKey_example; // 

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

// Returns the product information given the DDNA
[apiInstance bcProductInformationsGetByBcUidUidPayloadPayloadGetWith:uid
    payload:payload
    deviceId:deviceId
    appName:appName
    apiKey:apiKey
              completionHandler: ^(ProductDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.ProductApi()
var uid = uid_example; // {{String}} 
var payload = payload_example; // {{String}} 
var deviceId = deviceId_example; // {{String}} 
var appName = appName_example; // {{String}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcProductInformationsGetByBcUidUidPayloadPayloadGetExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var uid = uid_example;  // String | 
            var payload = payload_example;  // String | 
            var deviceId = deviceId_example;  // String | 
            var appName = appName_example;  // String | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Returns the product information given the DDNA
                ProductDTO result = apiInstance.bcProductInformationsGetByBcUidUidPayloadPayloadGet(uid, payload, deviceId, appName, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.bcProductInformationsGetByBcUidUidPayloadPayloadGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$uid = uid_example; // String | 
$payload = payload_example; // String | 
$deviceId = deviceId_example; // String | 
$appName = appName_example; // String | 
$apiKey = apiKey_example; // String | 

try {
    $result = $api_instance->bcProductInformationsGetByBcUidUidPayloadPayloadGet($uid, $payload, $deviceId, $appName, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->bcProductInformationsGetByBcUidUidPayloadPayloadGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductApi;

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $uid = uid_example; # String | 
my $payload = payload_example; # String | 
my $deviceId = deviceId_example; # String | 
my $appName = appName_example; # String | 
my $apiKey = apiKey_example; # String | 

eval { 
    my $result = $api_instance->bcProductInformationsGetByBcUidUidPayloadPayloadGet(uid => $uid, payload => $payload, deviceId => $deviceId, appName => $appName, apiKey => $apiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->bcProductInformationsGetByBcUidUidPayloadPayloadGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ProductApi()
uid = uid_example # String | 
payload = payload_example # String | 
deviceId = deviceId_example # String | 
appName = appName_example # String | 
apiKey = apiKey_example # String | 

try: 
    # Returns the product information given the DDNA
    api_response = api_instance.bc_product_informations_get_by_bc_uid_uid_payload_payload_get(uid, payload, deviceId, appName, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->bcProductInformationsGetByBcUidUidPayloadPayloadGet: %s\n" % e)

Parameters

Path parameters
Name Description
uid*
String
Required
payload*
String
Required
Query parameters
Name Description
deviceId*
String
Required
appName*
String
Required
apiKey*
String
Required

Responses

Status: 200 - OK


bcProductListGet

Returns the list of products owned by an account


/bc/product/list

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//bc/product/list?deviceId=&address=&appName=&apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        String apiKey = apiKey_example; // String | 
        String deviceId = deviceId_example; // String | 
        String address = address_example; // String | 
        String appName = appName_example; // String | 
        try {
            ProductListDTO result = apiInstance.bcProductListGet(apiKey, deviceId, address, appName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductListGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        String apiKey = apiKey_example; // String | 
        String deviceId = deviceId_example; // String | 
        String address = address_example; // String | 
        String appName = appName_example; // String | 
        try {
            ProductListDTO result = apiInstance.bcProductListGet(apiKey, deviceId, address, appName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductListGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // 
String *deviceId = deviceId_example; //  (optional)
String *address = address_example; //  (optional)
String *appName = appName_example; //  (optional)

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

// Returns the list of products owned by an account
[apiInstance bcProductListGetWith:apiKey
    deviceId:deviceId
    address:address
    appName:appName
              completionHandler: ^(ProductListDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.ProductApi()
var apiKey = apiKey_example; // {{String}} 
var opts = { 
  'deviceId': deviceId_example, // {{String}} 
  'address': address_example, // {{String}} 
  'appName': appName_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.bcProductListGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class bcProductListGetExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var apiKey = apiKey_example;  // String | 
            var deviceId = deviceId_example;  // String |  (optional) 
            var address = address_example;  // String |  (optional) 
            var appName = appName_example;  // String |  (optional) 

            try
            {
                // Returns the list of products owned by an account
                ProductListDTO result = apiInstance.bcProductListGet(apiKey, deviceId, address, appName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.bcProductListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$apiKey = apiKey_example; // String | 
$deviceId = deviceId_example; // String | 
$address = address_example; // String | 
$appName = appName_example; // String | 

try {
    $result = $api_instance->bcProductListGet($apiKey, $deviceId, $address, $appName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->bcProductListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductApi;

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $apiKey = apiKey_example; # String | 
my $deviceId = deviceId_example; # String | 
my $address = address_example; # String | 
my $appName = appName_example; # String | 

eval { 
    my $result = $api_instance->bcProductListGet(apiKey => $apiKey, deviceId => $deviceId, address => $address, appName => $appName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->bcProductListGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ProductApi()
apiKey = apiKey_example # String | 
deviceId = deviceId_example # String |  (optional)
address = address_example # String |  (optional)
appName = appName_example # String |  (optional)

try: 
    # Returns the list of products owned by an account
    api_response = api_instance.bc_product_list_get(apiKey, deviceId=deviceId, address=address, appName=appName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->bcProductListGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
String
address
String
appName
String
apiKey*
String
Required

Responses

Status: 200 - OK


bcProductOwnPost

Recall the OWN operation on the selected product


/bc/product/own

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/product/own?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        OwnRequestDTO body = ; // OwnRequestDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            OwnResponseDTO result = apiInstance.bcProductOwnPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductOwnPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        OwnRequestDTO body = ; // OwnRequestDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            OwnResponseDTO result = apiInstance.bcProductOwnPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductOwnPost");
            e.printStackTrace();
        }
    }
}
OwnRequestDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Recall the OWN operation on the selected product
[apiInstance bcProductOwnPostWith:body
    apiKey:apiKey
              completionHandler: ^(OwnResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.ProductApi()
var body = ; // {{OwnRequestDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcProductOwnPostExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var body = new OwnRequestDTO(); // OwnRequestDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Recall the OWN operation on the selected product
                OwnResponseDTO result = apiInstance.bcProductOwnPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.bcProductOwnPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // OwnRequestDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $body = WWW::SwaggerClient::Object::OwnRequestDTO->new(); # OwnRequestDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.ProductApi()
body =  # OwnRequestDTO | 
apiKey = apiKey_example # String | 

try: 
    # Recall the OWN operation on the selected product
    api_response = api_instance.bc_product_own_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->bcProductOwnPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK


bcProductSendToCustomerPost

Recall the Send To Customer operation on the selected product


/bc/product/sendToCustomer

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//bc/product/sendToCustomer?apiKey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        SendToCustomerRequestDTO body = ; // SendToCustomerRequestDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            SendToCustomerResponseDTO result = apiInstance.bcProductSendToCustomerPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductSendToCustomerPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        SendToCustomerRequestDTO body = ; // SendToCustomerRequestDTO | 
        String apiKey = apiKey_example; // String | 
        try {
            SendToCustomerResponseDTO result = apiInstance.bcProductSendToCustomerPost(body, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#bcProductSendToCustomerPost");
            e.printStackTrace();
        }
    }
}
SendToCustomerRequestDTO *body = ; // 
String *apiKey = apiKey_example; // 

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

// Recall the Send To Customer operation on the selected product
[apiInstance bcProductSendToCustomerPostWith:body
    apiKey:apiKey
              completionHandler: ^(SendToCustomerResponseDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var 1TrueId30ApiCustomer = require('1_true_id_30_api_customer');

var api = new 1TrueId30ApiCustomer.ProductApi()
var body = ; // {{SendToCustomerRequestDTO}} 
var apiKey = apiKey_example; // {{String}} 

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

namespace Example
{
    public class bcProductSendToCustomerPostExample
    {
        public void main()
        {

            var apiInstance = new ProductApi();
            var body = new SendToCustomerRequestDTO(); // SendToCustomerRequestDTO | 
            var apiKey = apiKey_example;  // String | 

            try
            {
                // Recall the Send To Customer operation on the selected product
                SendToCustomerResponseDTO result = apiInstance.bcProductSendToCustomerPost(body, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductApi.bcProductSendToCustomerPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // SendToCustomerRequestDTO | 
$apiKey = apiKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $body = WWW::SwaggerClient::Object::SendToCustomerRequestDTO->new(); # SendToCustomerRequestDTO | 
my $apiKey = apiKey_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.ProductApi()
body =  # SendToCustomerRequestDTO | 
apiKey = apiKey_example # String | 

try: 
    # Recall the Send To Customer operation on the selected product
    api_response = api_instance.bc_product_send_to_customer_post(body, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->bcProductSendToCustomerPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
apiKey*
String
Required

Responses

Status: 200 - OK