# T-Touch P-Series Product Transfer APIs

## API and SDK Documentation

Version: 1.0.6

The T-Touch HTTP APIs provides an easy interface to our users, so that our users can develop applications to work with T-Touch Products. These APIs are mainly used for transfering product informations from and T-Touch Scales.

The HTTP POST API body contains a json object. It also returns json object as response data. Required request headers:

1. "Content-Type: application/json"
2. "Accept: application/json"
3. "Expect:"

# Default

# categoryDelete

Deletes `Category` objects from a specific scale. The body requires an array of **category_num**.

    /category

### Usage and SDK Samples

    curl -X DELETE "http://10.5.51.81:1235/category"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            array[String] categoryNumbers = ; // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.categoryDelete(categoryNumbers);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#categoryDelete");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            array[String] categoryNumbers = ; // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.categoryDelete(categoryNumbers);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#categoryDelete");
                e.printStackTrace();
            }
        }
    }

    array[String] *categoryNumbers = ; // The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

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

    [apiInstance categoryDeleteWith:categoryNumbers
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var opts = {
      'categoryNumbers':  // {array[String]} The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.categoryDelete(opts, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var categoryNumbers = new array[String](); // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

                try
                {
                    apiInstance.categoryDelete(categoryNumbers);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.categoryDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $categoryNumbers = ; // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.

    try {
        $api_instance->categoryDelete($categoryNumbers);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->categoryDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $categoryNumbers = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.

    eval {
        $api_instance->categoryDelete(categoryNumbers => $categoryNumbers);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->categoryDelete: $@\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.DefaultApi()
    categoryNumbers =  # array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

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

## Parameters

Body parameters

Name | Description
--- | ---
categoryNumbers |

## Responses

### Status: 204 - Successful response with no data

### Status: default - Unexpected Error

# categoryGet

Gets `Category` objects that are stored in a specific scale.

    /category

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/category"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            try {
                category result = apiInstance.categoryGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#categoryGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

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

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

    [apiInstance categoryGetWithCompletionHandler:
                  ^(category output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.categoryGet(callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();

                try
                {
                    category result = apiInstance.categoryGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.categoryGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

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

    try {
        $result = $api_instance->categoryGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->categoryGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

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

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

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

## Parameters

## Responses

### Status: 200 - Successful response

# categoryPost

Posts `Category` objects to a specific scale. The body requires an array of categories.

    /category

### Usage and SDK Samples

    curl -X POST "http://10.5.51.81:1235/category"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            Category info = ; // Category | The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.categoryPost(info);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#categoryPost");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            Category info = ; // Category | The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.categoryPost(info);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#categoryPost");
                e.printStackTrace();
            }
        }
    }

    Category *info = ; // The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

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

    [apiInstance categoryPostWith:info
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var info = ; // {Category} The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.categoryPost(info, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var info = new Category(); // Category | The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

                try
                {
                    apiInstance.categoryPost(info);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.categoryPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $info = ; // Category | The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    try {
        $api_instance->categoryPost($info);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->categoryPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $info = WWW::SwaggerClient::Object::Category->new(); # Category | The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    eval {
        $api_instance->categoryPost(info => $info);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->categoryPost: $@\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.DefaultApi()
    info =  # Category | The array of categories user wishes to insert or modify on the scale.If the category number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

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

## Parameters

Body parameters

Name | Description
--- | ---
info * |

## Responses

### Status: 204 - Successful with no data

# departmentDelete

Deletes `Department` objects from a specific scale. The body requires an array of **department_num**.

    /department

### Usage and SDK Samples

    curl -X DELETE "http://10.5.51.81:1235/department"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            array[String] categoryNumbers = ; // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.departmentDelete(categoryNumbers);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#departmentDelete");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            array[String] categoryNumbers = ; // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.departmentDelete(categoryNumbers);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#departmentDelete");
                e.printStackTrace();
            }
        }
    }

    array[String] *categoryNumbers = ; // The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

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

    [apiInstance departmentDeleteWith:categoryNumbers
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var opts = {
      'categoryNumbers':  // {array[String]} The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.departmentDelete(opts, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var categoryNumbers = new array[String](); // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

                try
                {
                    apiInstance.departmentDelete(categoryNumbers);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.departmentDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $categoryNumbers = ; // array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.

    try {
        $api_instance->departmentDelete($categoryNumbers);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->departmentDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $categoryNumbers = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored.

    eval {
        $api_instance->departmentDelete(categoryNumbers => $categoryNumbers);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->departmentDelete: $@\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.DefaultApi()
    categoryNumbers =  # array[String] | The array of categories user wishes to remove from the scale. If the category number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

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

## Parameters

Body parameters

Name | Description
--- | ---
categoryNumbers |

## Responses

### Status: 204 - Successful response with no data

### Status: default - Unexpected Error

# departmentGet

Gets `Department` objects that are stored in a specific scale.

    /department

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/department"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            try {
                department result = apiInstance.departmentGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#departmentGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

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

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

    [apiInstance departmentGetWithCompletionHandler:
                  ^(department output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.departmentGet(callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();

                try
                {
                    department result = apiInstance.departmentGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.departmentGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

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

    try {
        $result = $api_instance->departmentGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->departmentGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

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

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

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

## Parameters

## Responses

### Status: 200 - Successful response

# departmentPost

Posts `Category` objects to a specific scale. The body requires an array of categories.

    /department

### Usage and SDK Samples

    curl -X POST "http://10.5.51.81:1235/department"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            Department info = ; // Department | The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.departmentPost(info);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#departmentPost");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            Department info = ; // Department | The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.departmentPost(info);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#departmentPost");
                e.printStackTrace();
            }
        }
    }

    Department *info = ; // The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

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

    [apiInstance departmentPostWith:info
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var info = ; // {Department} The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.departmentPost(info, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var info = new Department(); // Department | The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

                try
                {
                    apiInstance.departmentPost(info);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.departmentPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $info = ; // Department | The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    try {
        $api_instance->departmentPost($info);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->departmentPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $info = WWW::SwaggerClient::Object::Department->new(); # Department | The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    eval {
        $api_instance->departmentPost(info => $info);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->departmentPost: $@\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.DefaultApi()
    info =  # Department | The array of departments user wishes to insert or modify on the scale.If the department number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

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

## Parameters

Body parameters

Name | Description
--- | ---
info * |

## Responses

### Status: 204 - Successful with no data

# infoGet

Get the information of a specific scale.

    /info

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/info"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            try {
                scale_info result = apiInstance.infoGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#infoGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

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

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

    [apiInstance infoGetWithCompletionHandler:
                  ^(scale_info output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.infoGet(callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();

                try
                {
                    scale_info result = apiInstance.infoGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.infoGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

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

    try {
        $result = $api_instance->infoGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->infoGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

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

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

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

## Parameters

## Responses

### Status: 200 - Successful response

# infoPost

set the information of a specific scale.

    /info

### Usage and SDK Samples

    curl -X POST "http://10.5.51.81:1235/info"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            ScaleInfo info = ; // ScaleInfo | The settable fields in Scale's info object. Fields will be unchanged if left blank.
            try {
                apiInstance.infoPost(info);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#infoPost");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            ScaleInfo info = ; // ScaleInfo | The settable fields in Scale's info object. Fields will be unchanged if left blank.
            try {
                apiInstance.infoPost(info);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#infoPost");
                e.printStackTrace();
            }
        }
    }

    ScaleInfo *info = ; // The settable fields in Scale's info object. Fields will be unchanged if left blank.

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

    [apiInstance infoPostWith:info
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var info = ; // {ScaleInfo} The settable fields in Scale's info object. Fields will be unchanged if left blank.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.infoPost(info, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var info = new ScaleInfo(); // ScaleInfo | The settable fields in Scale's info object. Fields will be unchanged if left blank.

                try
                {
                    apiInstance.infoPost(info);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.infoPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $info = ; // ScaleInfo | The settable fields in Scale's info object. Fields will be unchanged if left blank.

    try {
        $api_instance->infoPost($info);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->infoPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $info = WWW::SwaggerClient::Object::ScaleInfo->new(); # ScaleInfo | The settable fields in Scale's info object. Fields will be unchanged if left blank.

    eval {
        $api_instance->infoPost(info => $info);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->infoPost: $@\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.DefaultApi()
    info =  # ScaleInfo | The settable fields in Scale's info object. Fields will be unchanged if left blank.

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

## Parameters

Body parameters

Name | Description
--- | ---
info * |

## Responses

### Status: 204 - Successful with no data

# labelFormatDelete

Deletes `Label Formats` objects from a specific scale. The body requires an array of **label formats ids**.

    /label_format

### Usage and SDK Samples

    curl -X DELETE "http://10.5.51.81:1235/label_format"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            array[Integer] formats = ; // array[Integer] | The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.labelFormatDelete(formats);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#labelFormatDelete");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            array[Integer] formats = ; // array[Integer] | The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.labelFormatDelete(formats);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#labelFormatDelete");
                e.printStackTrace();
            }
        }
    }

    array[Integer] *formats = ; // The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.

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

    [apiInstance labelFormatDeleteWith:formats
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var formats = ; // {array[Integer]} The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.labelFormatDelete(formats, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var formats = new array[Integer](); // array[Integer] | The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.

                try
                {
                    apiInstance.labelFormatDelete(formats);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.labelFormatDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $formats = ; // array[Integer] | The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.

    try {
        $api_instance->labelFormatDelete($formats);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->labelFormatDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $formats = [WWW::SwaggerClient::Object::array[Integer]->new()]; # array[Integer] | The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.

    eval {
        $api_instance->labelFormatDelete(formats => $formats);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->labelFormatDelete: $@\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.DefaultApi()
    formats =  # array[Integer] | The array of label format ids user wishes to remove from the scale. If the format ids exist, then the formats will be deleted from the scale; else, it will be ignored.

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

## Parameters

Body parameters

Name | Description
--- | ---
formats * |

## Responses

### Status: 204 - Successful response with no data

### Status: default - Unexpected Error

# labelFormatGet

Gets `Label Format` id-filename chart that is stored in a specific scale.

    /label_format

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/label_format"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            try {
                label_format result = apiInstance.labelFormatGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#labelFormatGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

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

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

    [apiInstance labelFormatGetWithCompletionHandler:
                  ^(label_format output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.labelFormatGet(callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();

                try
                {
                    label_format result = apiInstance.labelFormatGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.labelFormatGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

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

    try {
        $result = $api_instance->labelFormatGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->labelFormatGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

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

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

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

## Parameters

## Responses

### Status: 200 - Successful response

# labelFormatPost

Posts `Label Format` objects to a specific scale. The body requires an array of id and filename mappings.

    /label_format

### Usage and SDK Samples

    curl -X POST "http://10.5.51.81:1235/label_format"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            Label_format formats = ; // Label_format | The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.labelFormatPost(formats);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#labelFormatPost");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            Label_format formats = ; // Label_format | The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.labelFormatPost(formats);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#labelFormatPost");
                e.printStackTrace();
            }
        }
    }

    Label_format *formats = ; // The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.

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

    [apiInstance labelFormatPostWith:formats
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var formats = ; // {Label_format} The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.labelFormatPost(formats, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var formats = new Label_format(); // Label_format | The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.

                try
                {
                    apiInstance.labelFormatPost(formats);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.labelFormatPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $formats = ; // Label_format | The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.

    try {
        $api_instance->labelFormatPost($formats);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->labelFormatPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $formats = WWW::SwaggerClient::Object::Label_format->new(); # Label_format | The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.

    eval {
        $api_instance->labelFormatPost(formats => $formats);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->labelFormatPost: $@\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.DefaultApi()
    formats =  # Label_format | The array of label format filenames user wishes to insert or modify on the scale.If the format id already exists, then it will be modified to the new label format file; else, it will be created. Invalid fields will be ignored.

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

## Parameters

Body parameters

Name | Description
--- | ---
formats * |

## Responses

### Status: 204 - Successful with no data

# productsDelete

Deletes `Product` objects from a specific scale. The body requires an array of **product_number**.

    /products

### Usage and SDK Samples

    curl -X DELETE "http://10.5.51.81:1235/products"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            array[String] productNumbers = ; // array[String] | The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.productsDelete(productNumbers);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#productsDelete");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            array[String] productNumbers = ; // array[String] | The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored.
            try {
                apiInstance.productsDelete(productNumbers);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#productsDelete");
                e.printStackTrace();
            }
        }
    }

    array[String] *productNumbers = ; // The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

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

    [apiInstance productsDeleteWith:productNumbers
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var opts = {
      'productNumbers':  // {array[String]} The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored.
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.productsDelete(opts, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var productNumbers = new array[String](); // array[String] | The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

                try
                {
                    apiInstance.productsDelete(productNumbers);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.productsDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $productNumbers = ; // array[String] | The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored.

    try {
        $api_instance->productsDelete($productNumbers);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->productsDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $productNumbers = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored.

    eval {
        $api_instance->productsDelete(productNumbers => $productNumbers);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->productsDelete: $@\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.DefaultApi()
    productNumbers =  # array[String] | The array of products user wishes to remove from the scale. If the product number already exists, then the product will be deleted from the scale; else, it will be ignored. (optional)

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

## Parameters

Body parameters

Name | Description
--- | ---
productNumbers |

## Responses

### Status: 204 - Successful response with no data

### Status: default - Unexpected Error

# productsGet

Gets `Product` objects that are stored in a specific scale.

    /products

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/products"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            try {
                products_resp result = apiInstance.productsGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#productsGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

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

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

    [apiInstance productsGetWithCompletionHandler:
                  ^(products_resp output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.productsGet(callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();

                try
                {
                    products_resp result = apiInstance.productsGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.productsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

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

    try {
        $result = $api_instance->productsGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->productsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

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

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

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

## Parameters

## Responses

### Status: 200 - Successful response

### Status: default - Unexpected Error

# productsPost

Posts `Product` objects to a specific scale. The body requires an array of products.

    /products

### Usage and SDK Samples

    curl -X POST "http://10.5.51.81:1235/products"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            Products products = ; // Products | The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.productsPost(products);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#productsPost");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            Products products = ; // Products | The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.
            try {
                apiInstance.productsPost(products);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#productsPost");
                e.printStackTrace();
            }
        }
    }

    Products *products = ; // The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

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

    [apiInstance productsPostWith:products
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var products = ; // {Products} The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.productsPost(products, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var products = new Products(); // Products | The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

                try
                {
                    apiInstance.productsPost(products);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.productsPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $products = ; // Products | The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    try {
        $api_instance->productsPost($products);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->productsPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $products = WWW::SwaggerClient::Object::Products->new(); # Products | The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

    eval {
        $api_instance->productsPost(products => $products);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->productsPost: $@\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.DefaultApi()
    products =  # Products | The array of products user wishes to insert or modify on the scale.If the product number already exists, then it will be modifies; else, it will be created. Invalid fields will be ignored.

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

## Parameters

Body parameters

Name | Description
--- | ---
products * |

## Responses

### Status: 204 - Successful response with no data

### Status: default - Unexpected Error

# receiptGet

Gets one `Receipt` objects that are stored in a specific scale.

    /receipt

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/receipt?receipts="

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            String receipts = receipts_example; // String | pass the serial number of the receipt
            try {
                receipt result = apiInstance.receiptGet(receipts);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#receiptGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            String receipts = receipts_example; // String | pass the serial number of the receipt
            try {
                receipt result = apiInstance.receiptGet(receipts);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#receiptGet");
                e.printStackTrace();
            }
        }
    }

    String *receipts = receipts_example; // pass the serial number of the receipt

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

    [apiInstance receiptGetWith:receipts
                  completionHandler: ^(receipt output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var receipts = receipts_example; // {String} pass the serial number of the receipt

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.receiptGet(receipts, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var receipts = receipts_example;  // String | pass the serial number of the receipt

                try
                {
                    receipt result = apiInstance.receiptGet(receipts);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.receiptGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $receipts = receipts_example; // String | pass the serial number of the receipt

    try {
        $result = $api_instance->receiptGet($receipts);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->receiptGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $receipts = receipts_example; # String | pass the serial number of the receipt

    eval {
        my $result = $api_instance->receiptGet(receipts => $receipts);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->receiptGet: $@\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.DefaultApi()
    receipts = receipts_example # String | pass the serial number of the receipt

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

## Parameters

Query parameters

Name | Description
--- | ---
receipts* | String pass the serial number of the receipt Required

## Responses

### Status: 200 - Successful response

### Status: default - Unexpected Error

# recordsGet

Gets one `Label` objects that are stored in a specific scale.

    /records

### Usage and SDK Samples

    curl -X GET "http://10.5.51.81:1235/records?type=&from=&to=&max="

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            String type = type_example; // String | Available value - "receipt" "label"
            BigDecimal from = 8.14; // BigDecimal | start time unix timestamp of the label (inclusive)
            BigDecimal to = 8.14; // BigDecimal | end time unix timestamp of the label (inclusive)
            BigDecimal max = 8.14; // BigDecimal | maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.
            try {
                records result = apiInstance.recordsGet(type, from, to, max);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#recordsGet");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            String type = type_example; // String | Available value - "receipt" "label"
            BigDecimal from = 8.14; // BigDecimal | start time unix timestamp of the label (inclusive)
            BigDecimal to = 8.14; // BigDecimal | end time unix timestamp of the label (inclusive)
            BigDecimal max = 8.14; // BigDecimal | maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.
            try {
                records result = apiInstance.recordsGet(type, from, to, max);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#recordsGet");
                e.printStackTrace();
            }
        }
    }

    String *type = type_example; // Available value - "receipt" "label"
    BigDecimal *from = 8.14; // start time unix timestamp of the label (inclusive)
    BigDecimal *to = 8.14; // end time unix timestamp of the label (inclusive)
    BigDecimal *max = 8.14; // maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.

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

    [apiInstance recordsGetWith:type
        from:from
        to:to
        max:max
                  completionHandler: ^(records output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var type = type_example; // {String} Available value - "receipt" "label"

    var from = 8.14; // {BigDecimal} start time unix timestamp of the label (inclusive)

    var to = 8.14; // {BigDecimal} end time unix timestamp of the label (inclusive)

    var max = 8.14; // {BigDecimal} maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.recordsGet(type, from, to, max, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var type = type_example;  // String | Available value - "receipt" "label"
                var from = 8.14;  // BigDecimal | start time unix timestamp of the label (inclusive)
                var to = 8.14;  // BigDecimal | end time unix timestamp of the label (inclusive)
                var max = 8.14;  // BigDecimal | maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.

                try
                {
                    records result = apiInstance.recordsGet(type, from, to, max);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.recordsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $type = type_example; // String | Available value - "receipt" "label"
    $from = 8.14; // BigDecimal | start time unix timestamp of the label (inclusive)
    $to = 8.14; // BigDecimal | end time unix timestamp of the label (inclusive)
    $max = 8.14; // BigDecimal | maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.

    try {
        $result = $api_instance->recordsGet($type, $from, $to, $max);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->recordsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $type = type_example; # String | Available value - "receipt" "label"
    my $from = 8.14; # BigDecimal | start time unix timestamp of the label (inclusive)
    my $to = 8.14; # BigDecimal | end time unix timestamp of the label (inclusive)
    my $max = 8.14; # BigDecimal | maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.

    eval {
        my $result = $api_instance->recordsGet(type => $type, from => $from, to => $to, max => $max);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->recordsGet: $@\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.DefaultApi()
    type = type_example # String | Available value - "receipt" "label"
    from = 8.14 # BigDecimal | start time unix timestamp of the label (inclusive)
    to = 8.14 # BigDecimal | end time unix timestamp of the label (inclusive)
    max = 8.14 # BigDecimal | maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records.

    try:
        api_response = api_instance.records_get(type, from, to, max)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->recordsGet: %s\n" % e)

## Parameters

Query parameters

Name | Description
--- | ---
type* | String Available value - "receipt" "label" Required
from* | BigDecimal start time unix timestamp of the label (inclusive) Required
to* | BigDecimal end time unix timestamp of the label (inclusive) Required
max* | BigDecimal maximum number of the returned labels. This function does not work for receipt. Input 0 for receipt records. Required

## Responses

### Status: 200 - Successful response

### Status: default - Unexpected Error

# setdatetimePost

set datetime String format "yyyy-MM-dd hh:mm:ss"

    /setdatetime

### Usage and SDK Samples

    curl -X POST "http://10.5.51.81:1235/setdatetime"

    import io.swagger.client.*;
    import io.swagger.client.auth.*;
    import io.swagger.client.model.*;
    import io.swagger.client.api.DefaultApi;

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

    public class DefaultApiExample {

        public static void main(String[] args) {

            DefaultApi apiInstance = new DefaultApi();
            array[String] setdatetime = ; // array[String] |
            try {
                apiInstance.setdatetimePost(setdatetime);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#setdatetimePost");
                e.printStackTrace();
            }
        }
    }

    import io.swagger.client.api.DefaultApi;

    public class DefaultApiExample {

        public static void main(String[] args) {
            DefaultApi apiInstance = new DefaultApi();
            array[String] setdatetime = ; // array[String] |
            try {
                apiInstance.setdatetimePost(setdatetime);
            } catch (ApiException e) {
                System.err.println("Exception when calling DefaultApi#setdatetimePost");
                e.printStackTrace();
            }
        }
    }

    array[String] *setdatetime = ; //

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

    [apiInstance setdatetimePostWith:setdatetime
                  completionHandler: ^(NSError* error) {
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var TTouchPSeriesProductTransferApIs = require('t_touch_p_series_product_transfer_ap_is');

    var api = new TTouchPSeriesProductTransferApIs.DefaultApi()

    var setdatetime = ; // {array[String]}

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully.');
      }
    };
    api.setdatetimePost(setdatetime, callback);

    using System;
    using System.Diagnostics;
    using IO.Swagger.Api;
    using IO.Swagger.Client;
    using IO.Swagger.Model;

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

                var apiInstance = new DefaultApi();
                var setdatetime = new array[String](); // array[String] |

                try
                {
                    apiInstance.setdatetimePost(setdatetime);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DefaultApi.setdatetimePost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DefaultApi();
    $setdatetime = ; // array[String] |

    try {
        $api_instance->setdatetimePost($setdatetime);
    } catch (Exception $e) {
        echo 'Exception when calling DefaultApi->setdatetimePost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use WWW::SwaggerClient::Configuration;
    use WWW::SwaggerClient::DefaultApi;

    my $api_instance = WWW::SwaggerClient::DefaultApi->new();
    my $setdatetime = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] |

    eval {
        $api_instance->setdatetimePost(setdatetime => $setdatetime);
    };
    if ($@) {
        warn "Exception when calling DefaultApi->setdatetimePost: $@\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.DefaultApi()
    setdatetime =  # array[String] |

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

## Parameters

Body parameters

Name | Description
--- | ---
setdatetime * |

## Responses

### Status: 200 - success with no response

### Status: 400 - bad input parameter