openHandwerk API

Customers

list_customers

List all customers

Listing all customers


/customers/list

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/customers/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


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

public class CustomersApiExample {

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

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

// List all customers
[apiInstance list_customersWithCompletionHandler: 
              ^(CustomersList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


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

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


            var apiInstance = new CustomersApi();

            try
            {
                // List all customers
                CustomersList result = apiInstance.list_customers();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.list_customers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiCustomersApi();

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


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

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

try: 
    # List all customers
    api_response = api_instance.list_customers()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->list_customers: %s\n" % e)

Parameters

Responses

Status: 200 - Successfull response


view_customer

Show single customer

Show single customer


/customers/view/{id}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/customers/view/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CustomersApi apiInstance = new CustomersApi();
        String id = id_example; // String | Customer ID
        try {
            CustomersView result = apiInstance.view_customer(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#view_customer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        String id = id_example; // String | Customer ID
        try {
            CustomersView result = apiInstance.view_customer(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#view_customer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
String *id = id_example; // Customer ID

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

// Show single customer
[apiInstance view_customerWith:id
              completionHandler: ^(CustomersView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


var api = new OpenHandwerkApi.CustomersApi()
var id = id_example; // {{String}} Customer ID

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

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


            var apiInstance = new CustomersApi();
            var id = id_example;  // String | Customer ID

            try
            {
                // Show single customer
                CustomersView result = apiInstance.view_customer(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.view_customer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiCustomersApi();
$id = id_example; // String | Customer ID

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


my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = id_example; # String | Customer ID

eval { 
    my $result = $api_instance->view_customer(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->view_customer: $@\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.CustomersApi()
id = id_example # String | Customer ID

try: 
    # Show single customer
    api_response = api_instance.view_customer(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->view_customer: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Customer ID
Required

Responses

Status: 200 - Successfull response


Employees

list_employee/list

List employees

Listing all employees


/employees/list

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/employees/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EmployeesApi;

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

public class EmployeesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        EmployeesApi apiInstance = new EmployeesApi();
        try {
            EmployeeList result = apiInstance.list_employee/list();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmployeesApi#list_employee/list");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EmployeesApi;

public class EmployeesApiExample {

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

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

// List employees
[apiInstance list_employee/listWithCompletionHandler: 
              ^(EmployeeList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


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

namespace Example
{
    public class list_employee/listExample
    {
        public void main()
        {


            var apiInstance = new EmployeesApi();

            try
            {
                // List employees
                EmployeeList result = apiInstance.list_employee/list();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EmployeesApi.list_employee/list: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiEmployeesApi();

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


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

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

try: 
    # List employees
    api_response = api_instance.list_employee/list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EmployeesApi->list_employee/list: %s\n" % e)

Parameters

Responses

Status: 200 - Successfull response


show_employee

Show single employee

Show a single employee


/employees/view/{id}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/employees/view/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EmployeesApi;

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

public class EmployeesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        EmployeesApi apiInstance = new EmployeesApi();
        String id = id_example; // String | Employee ID
        try {
            EmployeeView result = apiInstance.show_employee(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmployeesApi#show_employee");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EmployeesApi;

public class EmployeesApiExample {

    public static void main(String[] args) {
        EmployeesApi apiInstance = new EmployeesApi();
        String id = id_example; // String | Employee ID
        try {
            EmployeeView result = apiInstance.show_employee(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmployeesApi#show_employee");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
String *id = id_example; // Employee ID

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

// Show single employee
[apiInstance show_employeeWith:id
              completionHandler: ^(EmployeeView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


var api = new OpenHandwerkApi.EmployeesApi()
var id = id_example; // {{String}} Employee ID

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

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


            var apiInstance = new EmployeesApi();
            var id = id_example;  // String | Employee ID

            try
            {
                // Show single employee
                EmployeeView result = apiInstance.show_employee(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EmployeesApi.show_employee: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiEmployeesApi();
$id = id_example; // String | Employee ID

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


my $api_instance = WWW::SwaggerClient::EmployeesApi->new();
my $id = id_example; # String | Employee ID

eval { 
    my $result = $api_instance->show_employee(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EmployeesApi->show_employee: $@\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.EmployeesApi()
id = id_example # String | Employee ID

try: 
    # Show single employee
    api_response = api_instance.show_employee(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EmployeesApi->show_employee: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Employee ID
Required

Responses

Status: 200 - Successfull response


Projects

list_projects

List all projects

Listing all projects


/projects/list

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/projects/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectsApi;

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

public class ProjectsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


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

public class ProjectsApiExample {

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

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

// List all projects
[apiInstance list_projectsWithCompletionHandler: 
              ^(ProjectsList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


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

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


            var apiInstance = new ProjectsApi();

            try
            {
                // List all projects
                ProjectsList result = apiInstance.list_projects();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectsApi.list_projects: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectsApi();

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


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

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

try: 
    # List all projects
    api_response = api_instance.list_projects()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectsApi->list_projects: %s\n" % e)

Parameters

Responses

Status: 200 - Successfull response


Suppliers

list_suppliers

List all suppliers

Listing all suppliers


/suppliers/list

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/suppliers/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SuppliersApi;

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

public class SuppliersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


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

public class SuppliersApiExample {

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

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

// List all suppliers
[apiInstance list_suppliersWithCompletionHandler: 
              ^(SuppliersList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


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

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


            var apiInstance = new SuppliersApi();

            try
            {
                // List all suppliers
                SuppliersList result = apiInstance.list_suppliers();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SuppliersApi.list_suppliers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiSuppliersApi();

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


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

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

try: 
    # List all suppliers
    api_response = api_instance.list_suppliers()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SuppliersApi->list_suppliers: %s\n" % e)

Parameters

Responses

Status: 200 - Successfull response


view_supplier

Show single supplier

Show single supplier


/suppliers/view/{id}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://rest.cloud1.openhandwerk.de/suppliers/view/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SuppliersApi;

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

public class SuppliersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        SuppliersApi apiInstance = new SuppliersApi();
        String id = id_example; // String | Supplier ID
        try {
            SuppliersView result = apiInstance.view_supplier(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SuppliersApi#view_supplier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SuppliersApi;

public class SuppliersApiExample {

    public static void main(String[] args) {
        SuppliersApi apiInstance = new SuppliersApi();
        String id = id_example; // String | Supplier ID
        try {
            SuppliersView result = apiInstance.view_supplier(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SuppliersApi#view_supplier");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
String *id = id_example; // Supplier ID

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

// Show single supplier
[apiInstance view_supplierWith:id
              completionHandler: ^(SuppliersView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var OpenHandwerkApi = require('open_handwerk_api');
var defaultClient = OpenHandwerkApi.ApiClient.instance;


var api = new OpenHandwerkApi.SuppliersApi()
var id = id_example; // {{String}} Supplier ID

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

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


            var apiInstance = new SuppliersApi();
            var id = id_example;  // String | Supplier ID

            try
            {
                // Show single supplier
                SuppliersView result = apiInstance.view_supplier(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SuppliersApi.view_supplier: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiSuppliersApi();
$id = id_example; // String | Supplier ID

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


my $api_instance = WWW::SwaggerClient::SuppliersApi->new();
my $id = id_example; # String | Supplier ID

eval { 
    my $result = $api_instance->view_supplier(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SuppliersApi->view_supplier: $@\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.SuppliersApi()
id = id_example # String | Supplier ID

try: 
    # Show single supplier
    api_response = api_instance.view_supplier(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SuppliersApi->view_supplier: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Supplier ID
Required

Responses

Status: 200 - Successfull response