Quote

Default

createCustomer


/customer

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//customer"
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();
        Customer body = ; // Customer | 
        try {
            Customer result = apiInstance.createCustomer(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createCustomerWith:body
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var body = ; // {{Customer}} 

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

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

            var apiInstance = new DefaultApi();
            var body = new Customer(); // Customer | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Customer | 

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

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

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

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - createCustomer 200 response


createProduct


/product

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//product"
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();
        Product body = ; // Product | 
        try {
            Product result = apiInstance.createProduct(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createProduct");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createProductWith:body
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var body = ; // {{Product}} 

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

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

            var apiInstance = new DefaultApi();
            var body = new Product(); // Product | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Product | 

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

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

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

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - createProduct 200 response


createQuote


/quote

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"//quote"
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();
        Quote body = ; // Quote | 
        try {
            Quote result = apiInstance.createQuote(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createQuote");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createQuoteWith:body
              completionHandler: ^(Quote output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var body = ; // {{Quote}} 

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

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

            var apiInstance = new DefaultApi();
            var body = new Quote(); // Quote | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Quote | 

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

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

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

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - createQuote 200 response


deleteCustomer


/customer/{id}

Usage and SDK Samples

curl -X DELETE\
"//customer/{id}"
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();
        Long id = 789; // Long | 
        try {
            apiInstance.deleteCustomer(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance deleteCustomerWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->deleteCustomer(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteCustomer: $@\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()
id = 789 # Long | 

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - deleteCustomer 200 response


deleteProduct


/product/{id}

Usage and SDK Samples

curl -X DELETE\
"//product/{id}"
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();
        Long id = 789; // Long | 
        try {
            apiInstance.deleteProduct(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProduct");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance deleteProductWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->deleteProduct(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteProduct: $@\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()
id = 789 # Long | 

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - deleteProduct 200 response


deleteQuote


/quote/{id}

Usage and SDK Samples

curl -X DELETE\
"//quote/{id}"
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();
        Long id = 789; // Long | 
        try {
            apiInstance.deleteQuote(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteQuote");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance deleteQuoteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->deleteQuote(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteQuote: $@\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()
id = 789 # Long | 

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - deleteQuote 200 response


getCustomer


/customer/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//customer/{id}"
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();
        Long id = 789; // Long | 
        try {
            Customer result = apiInstance.getCustomer(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long id = 789; // Long | 
        try {
            Customer result = apiInstance.getCustomer(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCustomer");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance getCustomerWith:id
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = 789; # Long | 

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

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - getCustomer 200 response


getCustomers


/customer

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//customer"
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 {
            array[Customer] result = apiInstance.getCustomers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCustomers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getCustomersWithCompletionHandler: 
              ^(array[Customer] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

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

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

            var apiInstance = new DefaultApi();

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

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

try {
    $result = $api_instance->getCustomers();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getCustomers: ', $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->getCustomers();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getCustomers: $@\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.get_customers()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getCustomers: %s\n" % e)

Parameters

Responses

Status: 200 - getCustomers 200 response


getProduct


/product/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//product/{id}"
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();
        Long id = 789; // Long | 
        try {
            Product result = apiInstance.getProduct(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProduct");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long id = 789; // Long | 
        try {
            Product result = apiInstance.getProduct(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProduct");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance getProductWith:id
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = 789; # Long | 

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

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - getProduct 200 response


getProducts


/product

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//product"
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 {
            array[Product] result = apiInstance.getProducts();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProducts");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getProductsWithCompletionHandler: 
              ^(array[Product] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

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

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

            var apiInstance = new DefaultApi();

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

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

try {
    $result = $api_instance->getProducts();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getProducts: ', $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->getProducts();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getProducts: $@\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.get_products()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getProducts: %s\n" % e)

Parameters

Responses

Status: 200 - getProducts 200 response


getQuote


/quote/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//quote/{id}"
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();
        Long id = 789; // Long | 
        try {
            Quote result = apiInstance.getQuote(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getQuote");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Long id = 789; // Long | 
        try {
            Quote result = apiInstance.getQuote(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getQuote");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance getQuoteWith:id
              completionHandler: ^(Quote output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = 789; # Long | 

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

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - getQuote 200 response


getQuotes


/quote

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"//quote"
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 {
            array[Quote] result = apiInstance.getQuotes();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getQuotes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getQuotesWithCompletionHandler: 
              ^(array[Quote] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

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

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

            var apiInstance = new DefaultApi();

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

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

try {
    $result = $api_instance->getQuotes();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getQuotes: ', $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->getQuotes();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getQuotes: $@\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.get_quotes()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getQuotes: %s\n" % e)

Parameters

Responses

Status: 200 - getQuotes 200 response


updateCustomer


/customer/{id}

Usage and SDK Samples

curl -X PUT\
-H "Content-Type: application/json"\
"//customer/{id}"
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();
        Customer_id_body body = ; // Customer_id_body | 
        Long id = 789; // Long | 
        try {
            apiInstance.updateCustomer(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Customer_id_body body = ; // Customer_id_body | 
        Long id = 789; // Long | 
        try {
            apiInstance.updateCustomer(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCustomer");
            e.printStackTrace();
        }
    }
}
Customer_id_body *body = ; // 
Long *id = 789; // 

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

[apiInstance updateCustomerWith:body
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var body = ; // {{Customer_id_body}} 
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var body = new Customer_id_body(); // Customer_id_body | 
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Customer_id_body | 
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Customer_id_body->new(); # Customer_id_body | 
my $id = 789; # Long | 

eval { 
    $api_instance->updateCustomer(body => $body, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateCustomer: $@\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()
body =  # Customer_id_body | 
id = 789 # Long | 

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - updateCustomer 200 response


updateProduct


/product/{id}

Usage and SDK Samples

curl -X PUT\
-H "Content-Type: application/json"\
"//product/{id}"
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();
        Product_id_body body = ; // Product_id_body | 
        Long id = 789; // Long | 
        try {
            apiInstance.updateProduct(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProduct");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Product_id_body body = ; // Product_id_body | 
        Long id = 789; // Long | 
        try {
            apiInstance.updateProduct(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProduct");
            e.printStackTrace();
        }
    }
}
Product_id_body *body = ; // 
Long *id = 789; // 

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

[apiInstance updateProductWith:body
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var body = ; // {{Product_id_body}} 
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var body = new Product_id_body(); // Product_id_body | 
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Product_id_body | 
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Product_id_body->new(); # Product_id_body | 
my $id = 789; # Long | 

eval { 
    $api_instance->updateProduct(body => $body, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateProduct: $@\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()
body =  # Product_id_body | 
id = 789 # Long | 

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - updateProduct 200 response


updateQuote


/quote/{id}

Usage and SDK Samples

curl -X PUT\
-H "Content-Type: application/json"\
"//quote/{id}"
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();
        Quote_id_body body = ; // Quote_id_body | 
        Long id = 789; // Long | 
        try {
            apiInstance.updateQuote(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateQuote");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Quote_id_body body = ; // Quote_id_body | 
        Long id = 789; // Long | 
        try {
            apiInstance.updateQuote(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateQuote");
            e.printStackTrace();
        }
    }
}
Quote_id_body *body = ; // 
Long *id = 789; // 

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

[apiInstance updateQuoteWith:body
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Quote = require('quote');

var api = new Quote.DefaultApi()
var body = ; // {{Quote_id_body}} 
var id = 789; // {{Long}} 

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

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

            var apiInstance = new DefaultApi();
            var body = new Quote_id_body(); // Quote_id_body | 
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Quote_id_body | 
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Quote_id_body->new(); # Quote_id_body | 
my $id = 789; # Long | 

eval { 
    $api_instance->updateQuote(body => $body, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateQuote: $@\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()
body =  # Quote_id_body | 
id = 789 # Long | 

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

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - updateQuote 200 response