JETRACT

Addresses

getAddresses

This function returns all addresses in your account. If you provide a companyID, system will only return the addresses registered for that company. Else, it will return all addresses in the account.


/addresses

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/addresses"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

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

public class AddressesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AddressesResponse result = apiInstance.getAddresses(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#getAddresses");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AddressesResponse result = apiInstance.getAddresses(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#getAddresses");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getAddressesWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(AddressesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AddressesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AddressesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                AddressesResponse result = apiInstance.getAddresses(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.getAddresses: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_addresses(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->getAddresses: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


getCities

This function will return all cities registered under a given country. Note: Cities are system registered data and cannot be modified.


/addresses/cities

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/addresses/cities"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

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

public class AddressesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        String userID = userID_example; // String |
        String countryID = countryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AddressCityResponse result = apiInstance.getCities(userID, countryID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#getCities");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        String userID = userID_example; // String |
        String countryID = countryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AddressCityResponse result = apiInstance.getCities(userID, countryID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#getCities");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *countryID = countryID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getCitiesWith:userID
    countryID:countryID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(AddressCityResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AddressesApi()

var userID = userID_example; // {String}

var countryID = countryID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AddressesApi();
            var userID = userID_example;  // String |
            var countryID = countryID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                AddressCityResponse result = apiInstance.getCities(userID, countryID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.getCities: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$userID = userID_example; // String |
$countryID = countryID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getCities($userID, $countryID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->getCities: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $userID = userID_example; # String |
my $countryID = countryID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getCities(userID => $userID, countryID => $countryID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->getCities: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
userID = userID_example # String |
countryID = countryID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_cities(userID, countryID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->getCities: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
countryID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


newAddress

This function will create a new address record for a given company.


/addresses

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/addresses"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

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

public class AddressesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AddressNew addressNew = ; // AddressNew |
        try {
            JResponseID result = apiInstance.newAddress(userID, companyID, xApiKey, addressNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#newAddress");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AddressNew addressNew = ; // AddressNew |
        try {
            JResponseID result = apiInstance.newAddress(userID, companyID, xApiKey, addressNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#newAddress");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AddressNew *addressNew = ; //

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

[apiInstance newAddressWith:userID
    companyID:companyID
    xApiKey:xApiKey
    addressNew:addressNew
              completionHandler: ^(JResponseID output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AddressesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var addressNew = ; // {AddressNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AddressesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var addressNew = new AddressNew(); // AddressNew |

            try
            {
                JResponseID result = apiInstance.newAddress(userID, companyID, xApiKey, addressNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.newAddress: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$addressNew = ; // AddressNew |

try {
    $result = $api_instance->newAddress($userID, $companyID, $xApiKey, $addressNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->newAddress: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $addressNew = WWW::SwaggerClient::Object::AddressNew->new(); # AddressNew |

eval {
    my $result = $api_instance->newAddress(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, addressNew => $addressNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->newAddress: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
addressNew =  # AddressNew |

try:
    api_response = api_instance.new_address(userID, companyID, xApiKey, addressNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->newAddress: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
addressNew *

Responses

Status: 200 - 200 response


Auctions

deleteAuction

This function will delete an auction.


/auctions/{auctionID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#deleteAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#deleteAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance deleteAuctionWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.deleteAuction(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.deleteAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->deleteAuction($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->deleteAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->deleteAuction(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->deleteAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.delete_auction(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->deleteAuction: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


endAuction

This function will terminate an Auction.<br>A notification will be pushed to all bidders in real-time.


/auctions/end/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/end/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.endAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#endAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.endAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#endAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance endAuctionWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.endAuction(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.endAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->endAuction($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->endAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->endAuction(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->endAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.end_auction(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->endAuction: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getAuction

This function will return the details of a given auction.


/auctions/{auctionID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AuctionResponse result = apiInstance.getAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#getAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AuctionResponse result = apiInstance.getAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#getAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getAuctionWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(AuctionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                AuctionResponse result = apiInstance.getAuction(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.getAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getAuction($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->getAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getAuction(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->getAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_auction(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->getAuction: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getAuctions

This function will return all auctions for a given company.


/auctions

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String status = status_example; // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. String type = type_example; // String | Type of the Auction. String companyID = companyID_example; // String | String xApiKey = xApiKey_example; // String | String range = range_example; // String | Auction Date Range. try { AuctionsResponse result = apiInstance.getAuctions(userID, status, type, companyID, xApiKey, range); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AuctionsApi#getAuctions"); e.printStackTrace(); } } }
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String status = status_example; // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. String type = type_example; // String | Type of the Auction. String companyID = companyID_example; // String | String xApiKey = xApiKey_example; // String | String range = range_example; // String | Auction Date Range. try { AuctionsResponse result = apiInstance.getAuctions(userID, status, type, companyID, xApiKey, range); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AuctionsApi#getAuctions"); e.printStackTrace(); } } }
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *status = status_example; // Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. String *type = type_example; // Type of the Auction. String *companyID = companyID_example; // String *xApiKey = xApiKey_example; // String *range = range_example; // Auction Date Range. (optional) AuctionsApi *apiInstance = [[AuctionsApi alloc] init]; [apiInstance getAuctionsWith:userID status:status type:type companyID:companyID xApiKey:xApiKey range:range completionHandler: ^(AuctionsResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } if (error) { NSLog(@"Error: %@", error); } }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var status = status_example; // {String} Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. var type = type_example; // {String} Type of the Auction. var companyID = companyID_example; // {String} var xApiKey = xApiKey_example; // {String} var opts = { 'range': range_example // {String} Auction Date Range. }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; api.getAuctions(userID, status, type, companyID, xApiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var status = status_example;  // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. var type = type_example; // String | Type of the Auction. var companyID = companyID_example; // String | var xApiKey = xApiKey_example; // String | var range = range_example; // String | Auction Date Range. (optional) try { AuctionsResponse result = apiInstance.getAuctions(userID, status, type, companyID, xApiKey, range); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling AuctionsApi.getAuctions: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$status = status_example; // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. $type = type_example; // String | Type of the Auction. $companyID = companyID_example; // String | $xApiKey = xApiKey_example; // String | $range = range_example; // String | Auction Date Range. try { $result = $api_instance->getAuctions($userID, $status, $type, $companyID, $xApiKey, $range); print_r($result); } catch (Exception $e) { echo 'Exception when calling AuctionsApi->getAuctions: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $status = status_example; # String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. my $type = type_example; # String | Type of the Auction. my $companyID = companyID_example; # String | my $xApiKey = xApiKey_example; # String | my $range = range_example; # String | Auction Date Range. eval { my $result = $api_instance->getAuctions(userID => $userID, status => $status, type => $type, companyID => $companyID, xApiKey => $xApiKey, range => $range); print Dumper($result); }; if ($@) { warn "Exception when calling AuctionsApi->getAuctions: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
status = status_example # String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. type = type_example # String | Type of the Auction. companyID = companyID_example # String | xApiKey = xApiKey_example # String | range = range_example # String | Auction Date Range. (optional) try: api_response = api_instance.get_auctions(userID, status, type, companyID, xApiKey, range=range) pprint(api_response) except ApiException as e: print("Exception when calling AuctionsApi->getAuctions: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
status*
String
Status of the Auction.<br>ONGOING: ACTIVE + WAITING<br>FINISHED:FLOW+COMPLETE<br>Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.<br>Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed.
Required
type*
String
Type of the Auction.
Required
companyID*
String
Required
x-api-key*
String
Required
range
String
Auction Date Range.

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


newAuction

This function will create a new auction.


/auctions

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionNew auctionNew = ; // AuctionNew |
        try {
            AuctionNewResponse result = apiInstance.newAuction(userID, companyID, xApiKey, auctionNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#newAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionNew auctionNew = ; // AuctionNew |
        try {
            AuctionNewResponse result = apiInstance.newAuction(userID, companyID, xApiKey, auctionNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#newAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionNew *auctionNew = ; //

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

[apiInstance newAuctionWith:userID
    companyID:companyID
    xApiKey:xApiKey
    auctionNew:auctionNew
              completionHandler: ^(AuctionNewResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionNew = ; // {AuctionNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionNew = new AuctionNew(); // AuctionNew |

            try
            {
                AuctionNewResponse result = apiInstance.newAuction(userID, companyID, xApiKey, auctionNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.newAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionNew = ; // AuctionNew |

try {
    $result = $api_instance->newAuction($userID, $companyID, $xApiKey, $auctionNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->newAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionNew = WWW::SwaggerClient::Object::AuctionNew->new(); # AuctionNew |

eval {
    my $result = $api_instance->newAuction(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, auctionNew => $auctionNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->newAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionNew =  # AuctionNew |

try:
    api_response = api_instance.new_auction(userID, companyID, xApiKey, auctionNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->newAuction: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionNew *

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


publishAuction

This function will publish a previously drafted auction. Bidders will be able to see and join the auction.


/auctions/publish/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/publish/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.publishAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#publishAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.publishAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#publishAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance publishAuctionWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.publishAuction(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.publishAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->publishAuction($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->publishAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->publishAuction(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->publishAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.publish_auction(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->publishAuction: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


startAuction

This function will start the auction. A notification will be pushed to all bidders in real-time.


/auctions/start/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/start/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.startAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#startAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.startAuction(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#startAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance startAuctionWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.startAuction(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.startAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->startAuction($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->startAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->startAuction(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->startAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.start_auction(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->startAuction: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


updateAuction

This function will update a given auction.


/auctions/{auctionID}

Usage and SDK Samples

curl -X PUT -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsApi;

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

public class AuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionUpdate auctionUpdate = ; // AuctionUpdate |
        try {
            JStatus result = apiInstance.updateAuction(userID, auctionID, companyID, xApiKey, auctionUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#updateAuction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsApi;

public class AuctionsApiExample {

    public static void main(String[] args) {
        AuctionsApi apiInstance = new AuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionUpdate auctionUpdate = ; // AuctionUpdate |
        try {
            JStatus result = apiInstance.updateAuction(userID, auctionID, companyID, xApiKey, auctionUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsApi#updateAuction");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionUpdate *auctionUpdate = ; //

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

[apiInstance updateAuctionWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionUpdate:auctionUpdate
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionUpdate = ; // {AuctionUpdate}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionUpdate = new AuctionUpdate(); // AuctionUpdate |

            try
            {
                JStatus result = apiInstance.updateAuction(userID, auctionID, companyID, xApiKey, auctionUpdate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsApi.updateAuction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionUpdate = ; // AuctionUpdate |

try {
    $result = $api_instance->updateAuction($userID, $auctionID, $companyID, $xApiKey, $auctionUpdate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsApi->updateAuction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionUpdate = WWW::SwaggerClient::Object::AuctionUpdate->new(); # AuctionUpdate |

eval {
    my $result = $api_instance->updateAuction(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionUpdate => $auctionUpdate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsApi->updateAuction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionUpdate =  # AuctionUpdate |

try:
    api_response = api_instance.update_auction(userID, auctionID, companyID, xApiKey, auctionUpdate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsApi->updateAuction: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionUpdate *

Responses

Status: 200 - 200 response


AuctionsAnnouncements

getAnnouncements

This function will return all announcements made in a given auction.


/auctions/announcements/{auctionID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/announcements/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsAnnouncementsApi;

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

public class AuctionsAnnouncementsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsAnnouncementsApi apiInstance = new AuctionsAnnouncementsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AuctionAnnouncementsResponse result = apiInstance.getAnnouncements(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsAnnouncementsApi#getAnnouncements");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsAnnouncementsApi;

public class AuctionsAnnouncementsApiExample {

    public static void main(String[] args) {
        AuctionsAnnouncementsApi apiInstance = new AuctionsAnnouncementsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AuctionAnnouncementsResponse result = apiInstance.getAnnouncements(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsAnnouncementsApi#getAnnouncements");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getAnnouncementsWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(AuctionAnnouncementsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsAnnouncementsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsAnnouncementsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                AuctionAnnouncementsResponse result = apiInstance.getAnnouncements(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsAnnouncementsApi.getAnnouncements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsAnnouncementsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getAnnouncements($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsAnnouncementsApi->getAnnouncements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsAnnouncementsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsAnnouncementsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getAnnouncements(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsAnnouncementsApi->getAnnouncements: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsAnnouncementsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_announcements(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsAnnouncementsApi->getAnnouncements: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


AuctionsBidders

addBidder

This function will return the bidders of a given auction.


/auctions/bidders/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/bidders/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsBiddersApi;

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

public class AuctionsBiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsBiddersApi apiInstance = new AuctionsBiddersApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionAttachBidder auctionAttachBidder = ; // AuctionAttachBidder |
        try {
            JStatus result = apiInstance.addBidder(userID, auctionID, companyID, xApiKey, auctionAttachBidder);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsBiddersApi#addBidder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsBiddersApi;

public class AuctionsBiddersApiExample {

    public static void main(String[] args) {
        AuctionsBiddersApi apiInstance = new AuctionsBiddersApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionAttachBidder auctionAttachBidder = ; // AuctionAttachBidder |
        try {
            JStatus result = apiInstance.addBidder(userID, auctionID, companyID, xApiKey, auctionAttachBidder);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsBiddersApi#addBidder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionAttachBidder *auctionAttachBidder = ; //

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

[apiInstance addBidderWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionAttachBidder:auctionAttachBidder
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsBiddersApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionAttachBidder = ; // {AuctionAttachBidder}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsBiddersApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionAttachBidder = new AuctionAttachBidder(); // AuctionAttachBidder |

            try
            {
                JStatus result = apiInstance.addBidder(userID, auctionID, companyID, xApiKey, auctionAttachBidder);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsBiddersApi.addBidder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsBiddersApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionAttachBidder = ; // AuctionAttachBidder |

try {
    $result = $api_instance->addBidder($userID, $auctionID, $companyID, $xApiKey, $auctionAttachBidder);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsBiddersApi->addBidder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsBiddersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsBiddersApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionAttachBidder = WWW::SwaggerClient::Object::AuctionAttachBidder->new(); # AuctionAttachBidder |

eval {
    my $result = $api_instance->addBidder(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionAttachBidder => $auctionAttachBidder);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsBiddersApi->addBidder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsBiddersApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionAttachBidder =  # AuctionAttachBidder |

try:
    api_response = api_instance.add_bidder(userID, auctionID, companyID, xApiKey, auctionAttachBidder)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsBiddersApi->addBidder: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionAttachBidder *

Responses

Status: 200 - 200 response


auctionsBiddersAgreementsResetAuctionIDPost


/auctions/bidders/agreements/reset/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/bidders/agreements/reset/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsBiddersApi;

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

public class AuctionsBiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsBiddersApi apiInstance = new AuctionsBiddersApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionBidderAgreementReset auctionBidderAgreementReset = ; // AuctionBidderAgreementReset |
        try {
            JStatus result = apiInstance.auctionsBiddersAgreementsResetAuctionIDPost(userID, auctionID, companyID, xApiKey, auctionBidderAgreementReset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsBiddersApi#auctionsBiddersAgreementsResetAuctionIDPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsBiddersApi;

public class AuctionsBiddersApiExample {

    public static void main(String[] args) {
        AuctionsBiddersApi apiInstance = new AuctionsBiddersApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionBidderAgreementReset auctionBidderAgreementReset = ; // AuctionBidderAgreementReset |
        try {
            JStatus result = apiInstance.auctionsBiddersAgreementsResetAuctionIDPost(userID, auctionID, companyID, xApiKey, auctionBidderAgreementReset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsBiddersApi#auctionsBiddersAgreementsResetAuctionIDPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionBidderAgreementReset *auctionBidderAgreementReset = ; //

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

[apiInstance auctionsBiddersAgreementsResetAuctionIDPostWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionBidderAgreementReset:auctionBidderAgreementReset
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsBiddersApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionBidderAgreementReset = ; // {AuctionBidderAgreementReset}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsBiddersApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionBidderAgreementReset = new AuctionBidderAgreementReset(); // AuctionBidderAgreementReset |

            try
            {
                JStatus result = apiInstance.auctionsBiddersAgreementsResetAuctionIDPost(userID, auctionID, companyID, xApiKey, auctionBidderAgreementReset);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsBiddersApi.auctionsBiddersAgreementsResetAuctionIDPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsBiddersApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionBidderAgreementReset = ; // AuctionBidderAgreementReset |

try {
    $result = $api_instance->auctionsBiddersAgreementsResetAuctionIDPost($userID, $auctionID, $companyID, $xApiKey, $auctionBidderAgreementReset);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsBiddersApi->auctionsBiddersAgreementsResetAuctionIDPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsBiddersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsBiddersApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionBidderAgreementReset = WWW::SwaggerClient::Object::AuctionBidderAgreementReset->new(); # AuctionBidderAgreementReset |

eval {
    my $result = $api_instance->auctionsBiddersAgreementsResetAuctionIDPost(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionBidderAgreementReset => $auctionBidderAgreementReset);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsBiddersApi->auctionsBiddersAgreementsResetAuctionIDPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsBiddersApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionBidderAgreementReset =  # AuctionBidderAgreementReset |

try:
    api_response = api_instance.auctions_bidders_agreements_reset_auction_id_post(userID, auctionID, companyID, xApiKey, auctionBidderAgreementReset)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsBiddersApi->auctionsBiddersAgreementsResetAuctionIDPost: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionBidderAgreementReset *

Responses

Status: 200 - 200 response


AuctionsFiles

deleteAuctionFile

This function will remove a file from Auction Files.<br>Bidders will no longer be able to access this file.


/auctions/files/{auctionID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/files/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsFilesApi;

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

public class AuctionsFilesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsFilesApi apiInstance = new AuctionsFilesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionDeleteFile auctionDeleteFile = ; // AuctionDeleteFile |
        try {
            JStatus result = apiInstance.deleteAuctionFile(userID, auctionID, companyID, xApiKey, auctionDeleteFile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsFilesApi#deleteAuctionFile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsFilesApi;

public class AuctionsFilesApiExample {

    public static void main(String[] args) {
        AuctionsFilesApi apiInstance = new AuctionsFilesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionDeleteFile auctionDeleteFile = ; // AuctionDeleteFile |
        try {
            JStatus result = apiInstance.deleteAuctionFile(userID, auctionID, companyID, xApiKey, auctionDeleteFile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsFilesApi#deleteAuctionFile");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionDeleteFile *auctionDeleteFile = ; //

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

[apiInstance deleteAuctionFileWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionDeleteFile:auctionDeleteFile
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsFilesApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionDeleteFile = ; // {AuctionDeleteFile}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsFilesApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionDeleteFile = new AuctionDeleteFile(); // AuctionDeleteFile |

            try
            {
                JStatus result = apiInstance.deleteAuctionFile(userID, auctionID, companyID, xApiKey, auctionDeleteFile);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsFilesApi.deleteAuctionFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsFilesApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionDeleteFile = ; // AuctionDeleteFile |

try {
    $result = $api_instance->deleteAuctionFile($userID, $auctionID, $companyID, $xApiKey, $auctionDeleteFile);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsFilesApi->deleteAuctionFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsFilesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsFilesApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionDeleteFile = WWW::SwaggerClient::Object::AuctionDeleteFile->new(); # AuctionDeleteFile |

eval {
    my $result = $api_instance->deleteAuctionFile(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionDeleteFile => $auctionDeleteFile);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsFilesApi->deleteAuctionFile: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsFilesApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionDeleteFile =  # AuctionDeleteFile |

try:
    api_response = api_instance.delete_auction_file(userID, auctionID, companyID, xApiKey, auctionDeleteFile)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsFilesApi->deleteAuctionFile: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionDeleteFile *

Responses

Status: 200 - 200 response


newAuctionFile

This function will add a new file to auction files. Bidders will be able to see and download the file.


/auctions/files/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/files/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsFilesApi;

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

public class AuctionsFilesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsFilesApi apiInstance = new AuctionsFilesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionAttachFiles auctionAttachFiles = ; // AuctionAttachFiles |
        try {
            JStatus result = apiInstance.newAuctionFile(userID, auctionID, companyID, xApiKey, auctionAttachFiles);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsFilesApi#newAuctionFile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsFilesApi;

public class AuctionsFilesApiExample {

    public static void main(String[] args) {
        AuctionsFilesApi apiInstance = new AuctionsFilesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionAttachFiles auctionAttachFiles = ; // AuctionAttachFiles |
        try {
            JStatus result = apiInstance.newAuctionFile(userID, auctionID, companyID, xApiKey, auctionAttachFiles);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsFilesApi#newAuctionFile");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionAttachFiles *auctionAttachFiles = ; //

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

[apiInstance newAuctionFileWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionAttachFiles:auctionAttachFiles
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsFilesApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionAttachFiles = ; // {AuctionAttachFiles}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsFilesApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionAttachFiles = new AuctionAttachFiles(); // AuctionAttachFiles |

            try
            {
                JStatus result = apiInstance.newAuctionFile(userID, auctionID, companyID, xApiKey, auctionAttachFiles);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsFilesApi.newAuctionFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsFilesApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionAttachFiles = ; // AuctionAttachFiles |

try {
    $result = $api_instance->newAuctionFile($userID, $auctionID, $companyID, $xApiKey, $auctionAttachFiles);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsFilesApi->newAuctionFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsFilesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsFilesApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionAttachFiles = WWW::SwaggerClient::Object::AuctionAttachFiles->new(); # AuctionAttachFiles |

eval {
    my $result = $api_instance->newAuctionFile(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionAttachFiles => $auctionAttachFiles);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsFilesApi->newAuctionFile: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsFilesApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionAttachFiles =  # AuctionAttachFiles |

try:
    api_response = api_instance.new_auction_file(userID, auctionID, companyID, xApiKey, auctionAttachFiles)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsFilesApi->newAuctionFile: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionAttachFiles *

Responses

Status: 200 - 200 response


AuctionsOffers

deleteOffer

This function will delete an offer from given bidder and an auction.


/auctions/offers/{auctionID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/offers/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsOffersApi;

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

public class AuctionsOffersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsOffersApi apiInstance = new AuctionsOffersApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionDeleteOffer auctionDeleteOffer = ; // AuctionDeleteOffer |
        try {
            JStatus result = apiInstance.deleteOffer(userID, auctionID, companyID, xApiKey, auctionDeleteOffer);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsOffersApi#deleteOffer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsOffersApi;

public class AuctionsOffersApiExample {

    public static void main(String[] args) {
        AuctionsOffersApi apiInstance = new AuctionsOffersApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionDeleteOffer auctionDeleteOffer = ; // AuctionDeleteOffer |
        try {
            JStatus result = apiInstance.deleteOffer(userID, auctionID, companyID, xApiKey, auctionDeleteOffer);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsOffersApi#deleteOffer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionDeleteOffer *auctionDeleteOffer = ; //

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

[apiInstance deleteOfferWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionDeleteOffer:auctionDeleteOffer
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsOffersApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionDeleteOffer = ; // {AuctionDeleteOffer}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsOffersApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionDeleteOffer = new AuctionDeleteOffer(); // AuctionDeleteOffer |

            try
            {
                JStatus result = apiInstance.deleteOffer(userID, auctionID, companyID, xApiKey, auctionDeleteOffer);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsOffersApi.deleteOffer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsOffersApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionDeleteOffer = ; // AuctionDeleteOffer |

try {
    $result = $api_instance->deleteOffer($userID, $auctionID, $companyID, $xApiKey, $auctionDeleteOffer);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsOffersApi->deleteOffer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsOffersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsOffersApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionDeleteOffer = WWW::SwaggerClient::Object::AuctionDeleteOffer->new(); # AuctionDeleteOffer |

eval {
    my $result = $api_instance->deleteOffer(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionDeleteOffer => $auctionDeleteOffer);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsOffersApi->deleteOffer: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsOffersApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionDeleteOffer =  # AuctionDeleteOffer |

try:
    api_response = api_instance.delete_offer(userID, auctionID, companyID, xApiKey, auctionDeleteOffer)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsOffersApi->deleteOffer: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionDeleteOffer *

Responses

Status: 200 - 200 response


AuctionsReports

getExcelReport

This function will generate an excel report of the given auction.<br>Return will be the ID of newly generated file. You can use files/get method to download the file.


/auctions/reports/excel/{auctionID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/reports/excel/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsReportsApi;

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

public class AuctionsReportsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsReportsApi apiInstance = new AuctionsReportsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AuctionReportResponse result = apiInstance.getExcelReport(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsReportsApi#getExcelReport");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsReportsApi;

public class AuctionsReportsApiExample {

    public static void main(String[] args) {
        AuctionsReportsApi apiInstance = new AuctionsReportsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AuctionReportResponse result = apiInstance.getExcelReport(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsReportsApi#getExcelReport");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getExcelReportWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(AuctionReportResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsReportsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsReportsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                AuctionReportResponse result = apiInstance.getExcelReport(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsReportsApi.getExcelReport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsReportsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getExcelReport($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsReportsApi->getExcelReport: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsReportsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsReportsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getExcelReport(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsReportsApi->getExcelReport: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsReportsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_excel_report(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsReportsApi->getExcelReport: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


AuctionsStages

deleteAuctionStage

This function will delete a stage from a given auction.


/auctions/stages/{auctionID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/stages/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsStagesApi;

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

public class AuctionsStagesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionStageDelete auctionStageDelete = ; // AuctionStageDelete |
        try {
            JStatus result = apiInstance.deleteAuctionStage(userID, auctionID, companyID, xApiKey, auctionStageDelete);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#deleteAuctionStage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsStagesApi;

public class AuctionsStagesApiExample {

    public static void main(String[] args) {
        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionStageDelete auctionStageDelete = ; // AuctionStageDelete |
        try {
            JStatus result = apiInstance.deleteAuctionStage(userID, auctionID, companyID, xApiKey, auctionStageDelete);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#deleteAuctionStage");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionStageDelete *auctionStageDelete = ; //

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

[apiInstance deleteAuctionStageWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionStageDelete:auctionStageDelete
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsStagesApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionStageDelete = ; // {AuctionStageDelete}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsStagesApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionStageDelete = new AuctionStageDelete(); // AuctionStageDelete |

            try
            {
                JStatus result = apiInstance.deleteAuctionStage(userID, auctionID, companyID, xApiKey, auctionStageDelete);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsStagesApi.deleteAuctionStage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsStagesApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionStageDelete = ; // AuctionStageDelete |

try {
    $result = $api_instance->deleteAuctionStage($userID, $auctionID, $companyID, $xApiKey, $auctionStageDelete);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsStagesApi->deleteAuctionStage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsStagesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsStagesApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionStageDelete = WWW::SwaggerClient::Object::AuctionStageDelete->new(); # AuctionStageDelete |

eval {
    my $result = $api_instance->deleteAuctionStage(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionStageDelete => $auctionStageDelete);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsStagesApi->deleteAuctionStage: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsStagesApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionStageDelete =  # AuctionStageDelete |

try:
    api_response = api_instance.delete_auction_stage(userID, auctionID, companyID, xApiKey, auctionStageDelete)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsStagesApi->deleteAuctionStage: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionStageDelete *

Responses

Status: 200 - 200 response


endAuctionStage

This function will terminate a stage from a given auction.<br>Warning!!! Only use at Sealed and Enveloped Auction Types!


/auctions/stages/end/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/stages/end/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsStagesApi;

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

public class AuctionsStagesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionStageEnd auctionStageEnd = ; // AuctionStageEnd |
        try {
            JStatus result = apiInstance.endAuctionStage(userID, auctionID, companyID, xApiKey, auctionStageEnd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#endAuctionStage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsStagesApi;

public class AuctionsStagesApiExample {

    public static void main(String[] args) {
        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionStageEnd auctionStageEnd = ; // AuctionStageEnd |
        try {
            JStatus result = apiInstance.endAuctionStage(userID, auctionID, companyID, xApiKey, auctionStageEnd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#endAuctionStage");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionStageEnd *auctionStageEnd = ; //

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

[apiInstance endAuctionStageWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionStageEnd:auctionStageEnd
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsStagesApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionStageEnd = ; // {AuctionStageEnd}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsStagesApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionStageEnd = new AuctionStageEnd(); // AuctionStageEnd |

            try
            {
                JStatus result = apiInstance.endAuctionStage(userID, auctionID, companyID, xApiKey, auctionStageEnd);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsStagesApi.endAuctionStage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsStagesApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionStageEnd = ; // AuctionStageEnd |

try {
    $result = $api_instance->endAuctionStage($userID, $auctionID, $companyID, $xApiKey, $auctionStageEnd);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsStagesApi->endAuctionStage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsStagesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsStagesApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionStageEnd = WWW::SwaggerClient::Object::AuctionStageEnd->new(); # AuctionStageEnd |

eval {
    my $result = $api_instance->endAuctionStage(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionStageEnd => $auctionStageEnd);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsStagesApi->endAuctionStage: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsStagesApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionStageEnd =  # AuctionStageEnd |

try:
    api_response = api_instance.end_auction_stage(userID, auctionID, companyID, xApiKey, auctionStageEnd)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsStagesApi->endAuctionStage: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionStageEnd *

Responses

Status: 200 - 200 response


newAuctionStage

This function will create a new stage to a given auction.


/auctions/stages/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/stages/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsStagesApi;

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

public class AuctionsStagesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        try {
            JResponseID result = apiInstance.newAuctionStage(auctionID, companyID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#newAuctionStage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsStagesApi;

public class AuctionsStagesApiExample {

    public static void main(String[] args) {
        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        try {
            JResponseID result = apiInstance.newAuctionStage(auctionID, companyID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#newAuctionStage");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *auctionID = auctionID_example; //
String *companyID = companyID_example; //

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

[apiInstance newAuctionStageWith:auctionID
    companyID:companyID
              completionHandler: ^(JResponseID output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsStagesApi()

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsStagesApi();
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |

            try
            {
                JResponseID result = apiInstance.newAuctionStage(auctionID, companyID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsStagesApi.newAuctionStage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsStagesApi();
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsStagesApi->new();
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsStagesApi()
auctionID = auctionID_example # String |
companyID = companyID_example # String |

try:
    api_response = api_instance.new_auction_stage(auctionID, companyID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsStagesApi->newAuctionStage: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
companyID*
String
Required

Responses

Status: 200 - 200 response


startAuctionStage

This function will start a stage for a given auction.<br>Warning!!!Only use at Sealed and Enveloped Auction Types.


/auctions/stages/start/{auctionID}

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/stages/start/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuctionsStagesApi;

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

public class AuctionsStagesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.startAuctionStage(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#startAuctionStage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuctionsStagesApi;

public class AuctionsStagesApiExample {

    public static void main(String[] args) {
        AuctionsStagesApi apiInstance = new AuctionsStagesApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.startAuctionStage(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuctionsStagesApi#startAuctionStage");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance startAuctionStageWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.AuctionsStagesApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new AuctionsStagesApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.startAuctionStage(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuctionsStagesApi.startAuctionStage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\AuctionsStagesApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->startAuctionStage($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuctionsStagesApi->startAuctionStage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuctionsStagesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AuctionsStagesApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->startAuctionStage(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuctionsStagesApi->startAuctionStage: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuctionsStagesApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.start_auction_stage(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuctionsStagesApi->startAuctionStage: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


Bidders

deleteBidder

This function will delete a given Bidder from a given company.


/bidders/{bidderID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/{bidderID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersApi;

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

public class BiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String bidderID = bidderID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteBidder(userID, bidderID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#deleteBidder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersApi;

public class BiddersApiExample {

    public static void main(String[] args) {
        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String bidderID = bidderID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteBidder(userID, bidderID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#deleteBidder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *bidderID = bidderID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance deleteBidderWith:userID
    bidderID:bidderID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersApi()

var userID = userID_example; // {String}

var bidderID = bidderID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersApi();
            var userID = userID_example;  // String |
            var bidderID = bidderID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.deleteBidder(userID, bidderID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersApi.deleteBidder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersApi();
$userID = userID_example; // String |
$bidderID = bidderID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->deleteBidder($userID, $bidderID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersApi->deleteBidder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersApi->new();
my $userID = userID_example; # String |
my $bidderID = bidderID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->deleteBidder(userID => $userID, bidderID => $bidderID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersApi->deleteBidder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersApi()
userID = userID_example # String |
bidderID = bidderID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.delete_bidder(userID, bidderID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersApi->deleteBidder: %s\n" % e)

Parameters

Path parameters
Name Description
bidderID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getBidder

This function will return the details of a given Bidder.


/bidders/{bidderID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/{bidderID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersApi;

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

public class BiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String bidderID = bidderID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            BidderResponse result = apiInstance.getBidder(userID, bidderID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#getBidder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersApi;

public class BiddersApiExample {

    public static void main(String[] args) {
        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String bidderID = bidderID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            BidderResponse result = apiInstance.getBidder(userID, bidderID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#getBidder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *bidderID = bidderID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getBidderWith:userID
    bidderID:bidderID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(BidderResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersApi()

var userID = userID_example; // {String}

var bidderID = bidderID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersApi();
            var userID = userID_example;  // String |
            var bidderID = bidderID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                BidderResponse result = apiInstance.getBidder(userID, bidderID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersApi.getBidder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersApi();
$userID = userID_example; // String |
$bidderID = bidderID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getBidder($userID, $bidderID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersApi->getBidder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersApi->new();
my $userID = userID_example; # String |
my $bidderID = bidderID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getBidder(userID => $userID, bidderID => $bidderID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersApi->getBidder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersApi()
userID = userID_example # String |
bidderID = bidderID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_bidder(userID, bidderID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersApi->getBidder: %s\n" % e)

Parameters

Path parameters
Name Description
bidderID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getBidders

This function will return all bidders of a given company.


/bidders

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersApi;

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

public class BiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            BiddersResponse result = apiInstance.getBidders(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#getBidders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersApi;

public class BiddersApiExample {

    public static void main(String[] args) {
        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            BiddersResponse result = apiInstance.getBidders(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#getBidders");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getBiddersWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(BiddersResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                BiddersResponse result = apiInstance.getBidders(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersApi.getBidders: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_bidders(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersApi->getBidders: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


newBidder

This function will crate a new bidder at a given company.


/bidders

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersApi;

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

public class BiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BidderNew bidderNew = ; // BidderNew |
        try {
            BidderNewResponse result = apiInstance.newBidder(userID, companyID, xApiKey, bidderNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#newBidder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersApi;

public class BiddersApiExample {

    public static void main(String[] args) {
        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BidderNew bidderNew = ; // BidderNew |
        try {
            BidderNewResponse result = apiInstance.newBidder(userID, companyID, xApiKey, bidderNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#newBidder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
BidderNew *bidderNew = ; //

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

[apiInstance newBidderWith:userID
    companyID:companyID
    xApiKey:xApiKey
    bidderNew:bidderNew
              completionHandler: ^(BidderNewResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var bidderNew = ; // {BidderNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var bidderNew = new BidderNew(); // BidderNew |

            try
            {
                BidderNewResponse result = apiInstance.newBidder(userID, companyID, xApiKey, bidderNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersApi.newBidder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$bidderNew = ; // BidderNew |

try {
    $result = $api_instance->newBidder($userID, $companyID, $xApiKey, $bidderNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersApi->newBidder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $bidderNew = WWW::SwaggerClient::Object::BidderNew->new(); # BidderNew |

eval {
    my $result = $api_instance->newBidder(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, bidderNew => $bidderNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersApi->newBidder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
bidderNew =  # BidderNew |

try:
    api_response = api_instance.new_bidder(userID, companyID, xApiKey, bidderNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersApi->newBidder: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
bidderNew *

Responses

Status: 200 - 200 response


updateBidder

This function will update a given bidder.


/bidders/{bidderID}

Usage and SDK Samples

curl -X PUT -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/{bidderID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersApi;

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

public class BiddersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String bidderID = bidderID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BidderUpdate bidderUpdate = ; // BidderUpdate |
        try {
            JStatus result = apiInstance.updateBidder(userID, bidderID, companyID, xApiKey, bidderUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#updateBidder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersApi;

public class BiddersApiExample {

    public static void main(String[] args) {
        BiddersApi apiInstance = new BiddersApi();
        String userID = userID_example; // String |
        String bidderID = bidderID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BidderUpdate bidderUpdate = ; // BidderUpdate |
        try {
            JStatus result = apiInstance.updateBidder(userID, bidderID, companyID, xApiKey, bidderUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersApi#updateBidder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *bidderID = bidderID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
BidderUpdate *bidderUpdate = ; //

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

[apiInstance updateBidderWith:userID
    bidderID:bidderID
    companyID:companyID
    xApiKey:xApiKey
    bidderUpdate:bidderUpdate
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersApi()

var userID = userID_example; // {String}

var bidderID = bidderID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var bidderUpdate = ; // {BidderUpdate}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersApi();
            var userID = userID_example;  // String |
            var bidderID = bidderID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var bidderUpdate = new BidderUpdate(); // BidderUpdate |

            try
            {
                JStatus result = apiInstance.updateBidder(userID, bidderID, companyID, xApiKey, bidderUpdate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersApi.updateBidder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersApi();
$userID = userID_example; // String |
$bidderID = bidderID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$bidderUpdate = ; // BidderUpdate |

try {
    $result = $api_instance->updateBidder($userID, $bidderID, $companyID, $xApiKey, $bidderUpdate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersApi->updateBidder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersApi->new();
my $userID = userID_example; # String |
my $bidderID = bidderID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $bidderUpdate = WWW::SwaggerClient::Object::BidderUpdate->new(); # BidderUpdate |

eval {
    my $result = $api_instance->updateBidder(userID => $userID, bidderID => $bidderID, companyID => $companyID, xApiKey => $xApiKey, bidderUpdate => $bidderUpdate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersApi->updateBidder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersApi()
userID = userID_example # String |
bidderID = bidderID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
bidderUpdate =  # BidderUpdate |

try:
    api_response = api_instance.update_bidder(userID, bidderID, companyID, xApiKey, bidderUpdate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersApi->updateBidder: %s\n" % e)

Parameters

Path parameters
Name Description
bidderID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
bidderUpdate *

Responses

Status: 200 - 200 response


BiddersAuctions

bidderAuctionsAuctionIDGet


/bidder/auctions/{auctionID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidder/auctions/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersAuctionsApi;

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

public class BiddersAuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersAuctionsApi apiInstance = new BiddersAuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            BidderAuctionResponse result = apiInstance.bidderAuctionsAuctionIDGet(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersAuctionsApi#bidderAuctionsAuctionIDGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersAuctionsApi;

public class BiddersAuctionsApiExample {

    public static void main(String[] args) {
        BiddersAuctionsApi apiInstance = new BiddersAuctionsApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            BidderAuctionResponse result = apiInstance.bidderAuctionsAuctionIDGet(userID, auctionID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersAuctionsApi#bidderAuctionsAuctionIDGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance bidderAuctionsAuctionIDGetWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(BidderAuctionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersAuctionsApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersAuctionsApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                BidderAuctionResponse result = apiInstance.bidderAuctionsAuctionIDGet(userID, auctionID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersAuctionsApi.bidderAuctionsAuctionIDGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersAuctionsApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->bidderAuctionsAuctionIDGet($userID, $auctionID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersAuctionsApi->bidderAuctionsAuctionIDGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersAuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersAuctionsApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->bidderAuctionsAuctionIDGet(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersAuctionsApi->bidderAuctionsAuctionIDGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersAuctionsApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.bidder_auctions_auction_id_get(userID, auctionID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersAuctionsApi->bidderAuctionsAuctionIDGet: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - Returns all Bidders


bidderAuctionsGet


/bidder/auctions

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidder/auctions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersAuctionsApi;

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

public class BiddersAuctionsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersAuctionsApi apiInstance = new BiddersAuctionsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String status = status_example; // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. String type = type_example; // String | Type of the Auction. String range = range_example; // String | Auction Date Range. try { BidderAuctionsResponse result = apiInstance.bidderAuctionsGet(userID, companyID, xApiKey, status, type, range); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BiddersAuctionsApi#bidderAuctionsGet"); e.printStackTrace(); } } }
import io.swagger.client.api.BiddersAuctionsApi;

public class BiddersAuctionsApiExample {

    public static void main(String[] args) {
        BiddersAuctionsApi apiInstance = new BiddersAuctionsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String status = status_example; // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. String type = type_example; // String | Type of the Auction. String range = range_example; // String | Auction Date Range. try { BidderAuctionsResponse result = apiInstance.bidderAuctionsGet(userID, companyID, xApiKey, status, type, range); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BiddersAuctionsApi#bidderAuctionsGet"); e.printStackTrace(); } } }
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *status = status_example; // Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. (optional) String *type = type_example; // Type of the Auction. (optional) String *range = range_example; // Auction Date Range. (optional) BiddersAuctionsApi *apiInstance = [[BiddersAuctionsApi alloc] init]; [apiInstance bidderAuctionsGetWith:userID companyID:companyID xApiKey:xApiKey status:status type:type range:range completionHandler: ^(BidderAuctionsResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } if (error) { NSLog(@"Error: %@", error); } }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersAuctionsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var opts = {
  'status': status_example, // {String} Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. 'type': type_example, // {String} Type of the Auction. 'range': range_example // {String} Auction Date Range. }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; api.bidderAuctionsGet(userID, companyID, xApiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersAuctionsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var status = status_example;  // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. (optional) var type = type_example; // String | Type of the Auction. (optional) var range = range_example; // String | Auction Date Range. (optional) try { BidderAuctionsResponse result = apiInstance.bidderAuctionsGet(userID, companyID, xApiKey, status, type, range); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling BiddersAuctionsApi.bidderAuctionsGet: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersAuctionsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$status = status_example; // String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. $type = type_example; // String | Type of the Auction. $range = range_example; // String | Auction Date Range. try { $result = $api_instance->bidderAuctionsGet($userID, $companyID, $xApiKey, $status, $type, $range); print_r($result); } catch (Exception $e) { echo 'Exception when calling BiddersAuctionsApi->bidderAuctionsGet: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersAuctionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersAuctionsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $status = status_example; # String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. my $type = type_example; # String | Type of the Auction. my $range = range_example; # String | Auction Date Range. eval { my $result = $api_instance->bidderAuctionsGet(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, status => $status, type => $type, range => $range); print Dumper($result); }; if ($@) { warn "Exception when calling BiddersAuctionsApi->bidderAuctionsGet: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersAuctionsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
status = status_example # String | Status of the Auction.
ONGOING: ACTIVE + WAITING
FINISHED:FLOW+COMPLETE
Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.
Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed. (optional) type = type_example # String | Type of the Auction. (optional) range = range_example # String | Auction Date Range. (optional) try: api_response = api_instance.bidder_auctions_get(userID, companyID, xApiKey, status=status, type=type, range=range) pprint(api_response) except ApiException as e: print("Exception when calling BiddersAuctionsApi->bidderAuctionsGet: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
status
String
Status of the Auction.<br>ONGOING: ACTIVE + WAITING<br>FINISHED:FLOW+COMPLETE<br>Note: When an auction is marked with auctions/end Call, auction will be ready for approval procedure.<br>Therefore, the status will be FLOW. Auctions with status COMPLETE means, FLOW (approval procedure) is completed.
type
String
Type of the Auction.
companyID*
String
Required
x-api-key*
String
Required
range
String
Auction Date Range.

Responses

Status: 200 - Returns all Bidders


BiddersBidding

biddersBiddingPost


/bidders/bidding

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/bidding"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersBiddingApi;

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

public class BiddersBiddingApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersBiddingApi apiInstance = new BiddersBiddingApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BiddingPermissionOfBidder biddingPermissionOfBidder = ; // BiddingPermissionOfBidder |
        try {
            JStatus result = apiInstance.biddersBiddingPost(userID, companyID, xApiKey, biddingPermissionOfBidder);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersBiddingApi#biddersBiddingPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersBiddingApi;

public class BiddersBiddingApiExample {

    public static void main(String[] args) {
        BiddersBiddingApi apiInstance = new BiddersBiddingApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BiddingPermissionOfBidder biddingPermissionOfBidder = ; // BiddingPermissionOfBidder |
        try {
            JStatus result = apiInstance.biddersBiddingPost(userID, companyID, xApiKey, biddingPermissionOfBidder);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersBiddingApi#biddersBiddingPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
BiddingPermissionOfBidder *biddingPermissionOfBidder = ; //

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

[apiInstance biddersBiddingPostWith:userID
    companyID:companyID
    xApiKey:xApiKey
    biddingPermissionOfBidder:biddingPermissionOfBidder
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersBiddingApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var biddingPermissionOfBidder = ; // {BiddingPermissionOfBidder}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersBiddingApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var biddingPermissionOfBidder = new BiddingPermissionOfBidder(); // BiddingPermissionOfBidder |

            try
            {
                JStatus result = apiInstance.biddersBiddingPost(userID, companyID, xApiKey, biddingPermissionOfBidder);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersBiddingApi.biddersBiddingPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersBiddingApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$biddingPermissionOfBidder = ; // BiddingPermissionOfBidder |

try {
    $result = $api_instance->biddersBiddingPost($userID, $companyID, $xApiKey, $biddingPermissionOfBidder);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersBiddingApi->biddersBiddingPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersBiddingApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersBiddingApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $biddingPermissionOfBidder = WWW::SwaggerClient::Object::BiddingPermissionOfBidder->new(); # BiddingPermissionOfBidder |

eval {
    my $result = $api_instance->biddersBiddingPost(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, biddingPermissionOfBidder => $biddingPermissionOfBidder);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersBiddingApi->biddersBiddingPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersBiddingApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
biddingPermissionOfBidder =  # BiddingPermissionOfBidder |

try:
    api_response = api_instance.bidders_bidding_post(userID, companyID, xApiKey, biddingPermissionOfBidder)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersBiddingApi->biddersBiddingPost: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
biddingPermissionOfBidder *

Responses

Status: 200 - 200 response


BiddersGroups

deleteBidderGroup

This function will delete a bidder group from a given company.


/bidders/groups/{groupID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/groups/{groupID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersGroupsApi;

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

public class BiddersGroupsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String groupID = groupID_example; // String |
        try {
            JStatus result = apiInstance.deleteBidderGroup(userID, companyID, xApiKey, groupID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#deleteBidderGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersGroupsApi;

public class BiddersGroupsApiExample {

    public static void main(String[] args) {
        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String groupID = groupID_example; // String |
        try {
            JStatus result = apiInstance.deleteBidderGroup(userID, companyID, xApiKey, groupID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#deleteBidderGroup");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *groupID = groupID_example; //

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

[apiInstance deleteBidderGroupWith:userID
    companyID:companyID
    xApiKey:xApiKey
    groupID:groupID
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersGroupsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var groupID = groupID_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersGroupsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var groupID = groupID_example;  // String |

            try
            {
                JStatus result = apiInstance.deleteBidderGroup(userID, companyID, xApiKey, groupID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersGroupsApi.deleteBidderGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersGroupsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$groupID = groupID_example; // String |

try {
    $result = $api_instance->deleteBidderGroup($userID, $companyID, $xApiKey, $groupID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersGroupsApi->deleteBidderGroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersGroupsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersGroupsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $groupID = groupID_example; # String |

eval {
    my $result = $api_instance->deleteBidderGroup(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, groupID => $groupID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersGroupsApi->deleteBidderGroup: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersGroupsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
groupID = groupID_example # String |

try:
    api_response = api_instance.delete_bidder_group(userID, companyID, xApiKey, groupID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersGroupsApi->deleteBidderGroup: %s\n" % e)

Parameters

Path parameters
Name Description
groupID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getBidderGroup

This function will return the details of a given bidder group.


/bidders/groups/{groupID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/groups/{groupID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersGroupsApi;

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

public class BiddersGroupsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String groupID = groupID_example; // String |
        String includeBidders = includeBidders_example; // String |
        try {
            BidderGroupResponse result = apiInstance.getBidderGroup(userID, companyID, xApiKey, groupID, includeBidders);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#getBidderGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersGroupsApi;

public class BiddersGroupsApiExample {

    public static void main(String[] args) {
        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String groupID = groupID_example; // String |
        String includeBidders = includeBidders_example; // String |
        try {
            BidderGroupResponse result = apiInstance.getBidderGroup(userID, companyID, xApiKey, groupID, includeBidders);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#getBidderGroup");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *groupID = groupID_example; //
String *includeBidders = includeBidders_example; //  (optional)

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

[apiInstance getBidderGroupWith:userID
    companyID:companyID
    xApiKey:xApiKey
    groupID:groupID
    includeBidders:includeBidders
              completionHandler: ^(BidderGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersGroupsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var groupID = groupID_example; // {String}

var opts = {
  'includeBidders': includeBidders_example // {String}
};

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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersGroupsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var groupID = groupID_example;  // String |
            var includeBidders = includeBidders_example;  // String |  (optional)

            try
            {
                BidderGroupResponse result = apiInstance.getBidderGroup(userID, companyID, xApiKey, groupID, includeBidders);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersGroupsApi.getBidderGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersGroupsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$groupID = groupID_example; // String |
$includeBidders = includeBidders_example; // String |

try {
    $result = $api_instance->getBidderGroup($userID, $companyID, $xApiKey, $groupID, $includeBidders);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersGroupsApi->getBidderGroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersGroupsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersGroupsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $groupID = groupID_example; # String |
my $includeBidders = includeBidders_example; # String |

eval {
    my $result = $api_instance->getBidderGroup(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, groupID => $groupID, includeBidders => $includeBidders);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersGroupsApi->getBidderGroup: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersGroupsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
groupID = groupID_example # String |
includeBidders = includeBidders_example # String |  (optional)

try:
    api_response = api_instance.get_bidder_group(userID, companyID, xApiKey, groupID, includeBidders=includeBidders)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersGroupsApi->getBidderGroup: %s\n" % e)

Parameters

Path parameters
Name Description
groupID*
String
Required
Header parameters
Name Description
userID*
String
Required
includeBidders
String
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getBidderGroups

This function will return all Bidder Groups of a given company.<br>A bidder group can be used to enable multiple bidders to participate in the same auction<br>without attaching each bidder.


/bidders/groups

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersGroupsApi;

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

public class BiddersGroupsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String includeBidders = includeBidders_example; // String |
        try {
            BidderGroupsResponse result = apiInstance.getBidderGroups(userID, companyID, xApiKey, includeBidders);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#getBidderGroups");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersGroupsApi;

public class BiddersGroupsApiExample {

    public static void main(String[] args) {
        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String includeBidders = includeBidders_example; // String |
        try {
            BidderGroupsResponse result = apiInstance.getBidderGroups(userID, companyID, xApiKey, includeBidders);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#getBidderGroups");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *includeBidders = includeBidders_example; //  (optional)

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

[apiInstance getBidderGroupsWith:userID
    companyID:companyID
    xApiKey:xApiKey
    includeBidders:includeBidders
              completionHandler: ^(BidderGroupsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersGroupsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var opts = {
  'includeBidders': includeBidders_example // {String}
};

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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersGroupsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var includeBidders = includeBidders_example;  // String |  (optional)

            try
            {
                BidderGroupsResponse result = apiInstance.getBidderGroups(userID, companyID, xApiKey, includeBidders);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersGroupsApi.getBidderGroups: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersGroupsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$includeBidders = includeBidders_example; // String |

try {
    $result = $api_instance->getBidderGroups($userID, $companyID, $xApiKey, $includeBidders);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersGroupsApi->getBidderGroups: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersGroupsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersGroupsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $includeBidders = includeBidders_example; # String |

eval {
    my $result = $api_instance->getBidderGroups(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, includeBidders => $includeBidders);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersGroupsApi->getBidderGroups: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersGroupsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
includeBidders = includeBidders_example # String |  (optional)

try:
    api_response = api_instance.get_bidder_groups(userID, companyID, xApiKey, includeBidders=includeBidders)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersGroupsApi->getBidderGroups: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
includeBidders
String
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


newBidderGroup

This function will create a new bidder group.


/bidders/groups

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersGroupsApi;

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

public class BiddersGroupsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BidderGroupNew bidderGroupNew = ; // BidderGroupNew |
        try {
            JResponseID result = apiInstance.newBidderGroup(userID, companyID, xApiKey, bidderGroupNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#newBidderGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersGroupsApi;

public class BiddersGroupsApiExample {

    public static void main(String[] args) {
        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        BidderGroupNew bidderGroupNew = ; // BidderGroupNew |
        try {
            JResponseID result = apiInstance.newBidderGroup(userID, companyID, xApiKey, bidderGroupNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#newBidderGroup");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
BidderGroupNew *bidderGroupNew = ; //

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

[apiInstance newBidderGroupWith:userID
    companyID:companyID
    xApiKey:xApiKey
    bidderGroupNew:bidderGroupNew
              completionHandler: ^(JResponseID output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersGroupsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var bidderGroupNew = ; // {BidderGroupNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersGroupsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var bidderGroupNew = new BidderGroupNew(); // BidderGroupNew |

            try
            {
                JResponseID result = apiInstance.newBidderGroup(userID, companyID, xApiKey, bidderGroupNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersGroupsApi.newBidderGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersGroupsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$bidderGroupNew = ; // BidderGroupNew |

try {
    $result = $api_instance->newBidderGroup($userID, $companyID, $xApiKey, $bidderGroupNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersGroupsApi->newBidderGroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersGroupsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersGroupsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $bidderGroupNew = WWW::SwaggerClient::Object::BidderGroupNew->new(); # BidderGroupNew |

eval {
    my $result = $api_instance->newBidderGroup(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, bidderGroupNew => $bidderGroupNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersGroupsApi->newBidderGroup: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersGroupsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
bidderGroupNew =  # BidderGroupNew |

try:
    api_response = api_instance.new_bidder_group(userID, companyID, xApiKey, bidderGroupNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersGroupsApi->newBidderGroup: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
bidderGroupNew *

Responses

Status: 200 - 200 response


updateBidderGroup

This function will update a given bidder group.


/bidders/groups/{groupID}

Usage and SDK Samples

curl -X PUT -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/bidders/groups/{groupID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BiddersGroupsApi;

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

public class BiddersGroupsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String groupID = groupID_example; // String |
        BidderGroupNew bidderGroupNew = ; // BidderGroupNew |
        try {
            JStatus result = apiInstance.updateBidderGroup(userID, companyID, xApiKey, groupID, bidderGroupNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#updateBidderGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BiddersGroupsApi;

public class BiddersGroupsApiExample {

    public static void main(String[] args) {
        BiddersGroupsApi apiInstance = new BiddersGroupsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String groupID = groupID_example; // String |
        BidderGroupNew bidderGroupNew = ; // BidderGroupNew |
        try {
            JStatus result = apiInstance.updateBidderGroup(userID, companyID, xApiKey, groupID, bidderGroupNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BiddersGroupsApi#updateBidderGroup");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *groupID = groupID_example; //
BidderGroupNew *bidderGroupNew = ; //

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

[apiInstance updateBidderGroupWith:userID
    companyID:companyID
    xApiKey:xApiKey
    groupID:groupID
    bidderGroupNew:bidderGroupNew
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.BiddersGroupsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var groupID = groupID_example; // {String}

var bidderGroupNew = ; // {BidderGroupNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new BiddersGroupsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var groupID = groupID_example;  // String |
            var bidderGroupNew = new BidderGroupNew(); // BidderGroupNew |

            try
            {
                JStatus result = apiInstance.updateBidderGroup(userID, companyID, xApiKey, groupID, bidderGroupNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BiddersGroupsApi.updateBidderGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BiddersGroupsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$groupID = groupID_example; // String |
$bidderGroupNew = ; // BidderGroupNew |

try {
    $result = $api_instance->updateBidderGroup($userID, $companyID, $xApiKey, $groupID, $bidderGroupNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BiddersGroupsApi->updateBidderGroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BiddersGroupsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BiddersGroupsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $groupID = groupID_example; # String |
my $bidderGroupNew = WWW::SwaggerClient::Object::BidderGroupNew->new(); # BidderGroupNew |

eval {
    my $result = $api_instance->updateBidderGroup(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, groupID => $groupID, bidderGroupNew => $bidderGroupNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BiddersGroupsApi->updateBidderGroup: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BiddersGroupsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
groupID = groupID_example # String |
bidderGroupNew =  # BidderGroupNew |

try:
    api_response = api_instance.update_bidder_group(userID, companyID, xApiKey, groupID, bidderGroupNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BiddersGroupsApi->updateBidderGroup: %s\n" % e)

Parameters

Path parameters
Name Description
groupID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
bidderGroupNew *

Responses

Status: 200 - 200 response


Categories

deleteCategory

This function will delete a given category.


/categories/{categoryID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/categories/{categoryID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoriesApi;

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

public class CategoriesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String categoryID = categoryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteCategory(userID, categoryID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#deleteCategory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoriesApi;

public class CategoriesApiExample {

    public static void main(String[] args) {
        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String categoryID = categoryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteCategory(userID, categoryID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#deleteCategory");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *categoryID = categoryID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance deleteCategoryWith:userID
    categoryID:categoryID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.CategoriesApi()

var userID = userID_example; // {String}

var categoryID = categoryID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new CategoriesApi();
            var userID = userID_example;  // String |
            var categoryID = categoryID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.deleteCategory(userID, categoryID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoriesApi.deleteCategory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\CategoriesApi();
$userID = userID_example; // String |
$categoryID = categoryID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->deleteCategory($userID, $categoryID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CategoriesApi->deleteCategory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CategoriesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CategoriesApi->new();
my $userID = userID_example; # String |
my $categoryID = categoryID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->deleteCategory(userID => $userID, categoryID => $categoryID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoriesApi->deleteCategory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CategoriesApi()
userID = userID_example # String |
categoryID = categoryID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.delete_category(userID, categoryID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoriesApi->deleteCategory: %s\n" % e)

Parameters

Path parameters
Name Description
categoryID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - Succesfully deleted a Category.


getCategories

This function will return all Categories.


/categories

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/categories"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoriesApi;

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

public class CategoriesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            CategoriesResponse result = apiInstance.getCategories(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#getCategories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoriesApi;

public class CategoriesApiExample {

    public static void main(String[] args) {
        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            CategoriesResponse result = apiInstance.getCategories(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#getCategories");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getCategoriesWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(CategoriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.CategoriesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new CategoriesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                CategoriesResponse result = apiInstance.getCategories(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoriesApi.getCategories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\CategoriesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CategoriesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CategoriesApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_categories(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoriesApi->getCategories: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getCategory

This function will return the details of a given category.


/categories/{categoryID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/categories/{categoryID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoriesApi;

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

public class CategoriesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String categoryID = categoryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            CategoryResponse result = apiInstance.getCategory(userID, categoryID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#getCategory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoriesApi;

public class CategoriesApiExample {

    public static void main(String[] args) {
        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String categoryID = categoryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            CategoryResponse result = apiInstance.getCategory(userID, categoryID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#getCategory");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *categoryID = categoryID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getCategoryWith:userID
    categoryID:categoryID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(CategoryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.CategoriesApi()

var userID = userID_example; // {String}

var categoryID = categoryID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new CategoriesApi();
            var userID = userID_example;  // String |
            var categoryID = categoryID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                CategoryResponse result = apiInstance.getCategory(userID, categoryID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoriesApi.getCategory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\CategoriesApi();
$userID = userID_example; // String |
$categoryID = categoryID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getCategory($userID, $categoryID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CategoriesApi->getCategory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CategoriesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CategoriesApi->new();
my $userID = userID_example; # String |
my $categoryID = categoryID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getCategory(userID => $userID, categoryID => $categoryID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoriesApi->getCategory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CategoriesApi()
userID = userID_example # String |
categoryID = categoryID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_category(userID, categoryID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoriesApi->getCategory: %s\n" % e)

Parameters

Path parameters
Name Description
categoryID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


newCategory

This function will create a new category for a given company.


/categories

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/categories"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoriesApi;

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

public class CategoriesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        CategoryNew categoryNew = ; // CategoryNew |
        try {
            JResponseID result = apiInstance.newCategory(userID, companyID, xApiKey, categoryNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#newCategory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoriesApi;

public class CategoriesApiExample {

    public static void main(String[] args) {
        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        CategoryNew categoryNew = ; // CategoryNew |
        try {
            JResponseID result = apiInstance.newCategory(userID, companyID, xApiKey, categoryNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#newCategory");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
CategoryNew *categoryNew = ; //

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

[apiInstance newCategoryWith:userID
    companyID:companyID
    xApiKey:xApiKey
    categoryNew:categoryNew
              completionHandler: ^(JResponseID output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.CategoriesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var categoryNew = ; // {CategoryNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new CategoriesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var categoryNew = new CategoryNew(); // CategoryNew |

            try
            {
                JResponseID result = apiInstance.newCategory(userID, companyID, xApiKey, categoryNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoriesApi.newCategory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\CategoriesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$categoryNew = ; // CategoryNew |

try {
    $result = $api_instance->newCategory($userID, $companyID, $xApiKey, $categoryNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CategoriesApi->newCategory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CategoriesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CategoriesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $categoryNew = WWW::SwaggerClient::Object::CategoryNew->new(); # CategoryNew |

eval {
    my $result = $api_instance->newCategory(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, categoryNew => $categoryNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoriesApi->newCategory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CategoriesApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
categoryNew =  # CategoryNew |

try:
    api_response = api_instance.new_category(userID, companyID, xApiKey, categoryNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoriesApi->newCategory: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
categoryNew *

Responses

Status: 200 - 222

Status: 403 - 403 response


updateCategory

This function will update a given category.


/categories/{categoryID}

Usage and SDK Samples

curl -X PUT -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/categories/{categoryID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoriesApi;

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

public class CategoriesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String categoryID = categoryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        CategoryUpdate categoryUpdate = ; // CategoryUpdate |
        try {
            JStatus result = apiInstance.updateCategory(userID, categoryID, companyID, xApiKey, categoryUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#updateCategory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoriesApi;

public class CategoriesApiExample {

    public static void main(String[] args) {
        CategoriesApi apiInstance = new CategoriesApi();
        String userID = userID_example; // String |
        String categoryID = categoryID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        CategoryUpdate categoryUpdate = ; // CategoryUpdate |
        try {
            JStatus result = apiInstance.updateCategory(userID, categoryID, companyID, xApiKey, categoryUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoriesApi#updateCategory");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *categoryID = categoryID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
CategoryUpdate *categoryUpdate = ; //

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

[apiInstance updateCategoryWith:userID
    categoryID:categoryID
    companyID:companyID
    xApiKey:xApiKey
    categoryUpdate:categoryUpdate
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.CategoriesApi()

var userID = userID_example; // {String}

var categoryID = categoryID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var categoryUpdate = ; // {CategoryUpdate}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new CategoriesApi();
            var userID = userID_example;  // String |
            var categoryID = categoryID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var categoryUpdate = new CategoryUpdate(); // CategoryUpdate |

            try
            {
                JStatus result = apiInstance.updateCategory(userID, categoryID, companyID, xApiKey, categoryUpdate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoriesApi.updateCategory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\CategoriesApi();
$userID = userID_example; // String |
$categoryID = categoryID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$categoryUpdate = ; // CategoryUpdate |

try {
    $result = $api_instance->updateCategory($userID, $categoryID, $companyID, $xApiKey, $categoryUpdate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CategoriesApi->updateCategory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CategoriesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CategoriesApi->new();
my $userID = userID_example; # String |
my $categoryID = categoryID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $categoryUpdate = WWW::SwaggerClient::Object::CategoryUpdate->new(); # CategoryUpdate |

eval {
    my $result = $api_instance->updateCategory(userID => $userID, categoryID => $categoryID, companyID => $companyID, xApiKey => $xApiKey, categoryUpdate => $categoryUpdate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoriesApi->updateCategory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CategoriesApi()
userID = userID_example # String |
categoryID = categoryID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
categoryUpdate =  # CategoryUpdate |

try:
    api_response = api_instance.update_category(userID, categoryID, companyID, xApiKey, categoryUpdate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoriesApi->updateCategory: %s\n" % e)

Parameters

Path parameters
Name Description
categoryID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
categoryUpdate *

Responses

Status: 200 - 200 response


Countries

getCountries

This function will return all countries. Note: Countries are system registered data and cannot be modified.


/addresses/countries

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/addresses/countries"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CountriesApi;

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

public class CountriesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        CountriesApi apiInstance = new CountriesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AddressCountryResponse result = apiInstance.getCountries(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CountriesApi#getCountries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CountriesApi;

public class CountriesApiExample {

    public static void main(String[] args) {
        CountriesApi apiInstance = new CountriesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            AddressCountryResponse result = apiInstance.getCountries(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CountriesApi#getCountries");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getCountriesWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(AddressCountryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.CountriesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new CountriesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                AddressCountryResponse result = apiInstance.getCountries(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CountriesApi.getCountries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\CountriesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CountriesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CountriesApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_countries(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CountriesApi->getCountries: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


Default

rootGet


/

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String xApiKey = xApiKey_example; // String |
        try {
            Empty result = apiInstance.rootGet(xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rootGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String xApiKey = xApiKey_example; // String |
        try {
            Empty result = apiInstance.rootGet(xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rootGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *xApiKey = xApiKey_example; //

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

[apiInstance rootGetWith:xApiKey
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.DefaultApi()

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new DefaultApi();
            var xApiKey = xApiKey_example;  // String |

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

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
xApiKey = xApiKey_example # String |

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

Parameters

Header parameters
Name Description
x-api-key*
String
Required

Responses

Status: 200 - 200 response


updateAuctionParameters


/auctions/{auctionID}

Usage and SDK Samples

curl -X PATCH -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/auctions/{auctionID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionUpdateParameters auctionUpdateParameters = ; // AuctionUpdateParameters |
        try {
            JStatus result = apiInstance.updateAuctionParameters(userID, auctionID, companyID, xApiKey, auctionUpdateParameters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateAuctionParameters");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userID = userID_example; // String |
        String auctionID = auctionID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        AuctionUpdateParameters auctionUpdateParameters = ; // AuctionUpdateParameters |
        try {
            JStatus result = apiInstance.updateAuctionParameters(userID, auctionID, companyID, xApiKey, auctionUpdateParameters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateAuctionParameters");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *auctionID = auctionID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
AuctionUpdateParameters *auctionUpdateParameters = ; //

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

[apiInstance updateAuctionParametersWith:userID
    auctionID:auctionID
    companyID:companyID
    xApiKey:xApiKey
    auctionUpdateParameters:auctionUpdateParameters
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.DefaultApi()

var userID = userID_example; // {String}

var auctionID = auctionID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var auctionUpdateParameters = ; // {AuctionUpdateParameters}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new DefaultApi();
            var userID = userID_example;  // String |
            var auctionID = auctionID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var auctionUpdateParameters = new AuctionUpdateParameters(); // AuctionUpdateParameters |

            try
            {
                JStatus result = apiInstance.updateAuctionParameters(userID, auctionID, companyID, xApiKey, auctionUpdateParameters);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateAuctionParameters: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$userID = userID_example; // String |
$auctionID = auctionID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$auctionUpdateParameters = ; // AuctionUpdateParameters |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userID = userID_example; # String |
my $auctionID = auctionID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $auctionUpdateParameters = WWW::SwaggerClient::Object::AuctionUpdateParameters->new(); # AuctionUpdateParameters |

eval {
    my $result = $api_instance->updateAuctionParameters(userID => $userID, auctionID => $auctionID, companyID => $companyID, xApiKey => $xApiKey, auctionUpdateParameters => $auctionUpdateParameters);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateAuctionParameters: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
userID = userID_example # String |
auctionID = auctionID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
auctionUpdateParameters =  # AuctionUpdateParameters |

try:
    api_response = api_instance.update_auction_parameters(userID, auctionID, companyID, xApiKey, auctionUpdateParameters)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateAuctionParameters: %s\n" % e)

Parameters

Path parameters
Name Description
auctionID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
auctionUpdateParameters *

Responses

Status: 200 - 200 response


Departments

getDepartments


/departments

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/departments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DepartmentsApi;

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

public class DepartmentsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        DepartmentsApi apiInstance = new DepartmentsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            DepartmentsResponse result = apiInstance.getDepartments(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DepartmentsApi#getDepartments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DepartmentsApi;

public class DepartmentsApiExample {

    public static void main(String[] args) {
        DepartmentsApi apiInstance = new DepartmentsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            DepartmentsResponse result = apiInstance.getDepartments(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DepartmentsApi#getDepartments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getDepartmentsWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(DepartmentsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.DepartmentsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new DepartmentsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                DepartmentsResponse result = apiInstance.getDepartments(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DepartmentsApi.getDepartments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\DepartmentsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DepartmentsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DepartmentsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_departments(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DepartmentsApi->getDepartments: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


newDepartment


/departments

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/departments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DepartmentsApi;

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

public class DepartmentsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        DepartmentsApi apiInstance = new DepartmentsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        DepartmentNew departmentNew = ; // DepartmentNew |
        try {
            JResponseID result = apiInstance.newDepartment(userID, companyID, xApiKey, departmentNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DepartmentsApi#newDepartment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DepartmentsApi;

public class DepartmentsApiExample {

    public static void main(String[] args) {
        DepartmentsApi apiInstance = new DepartmentsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        DepartmentNew departmentNew = ; // DepartmentNew |
        try {
            JResponseID result = apiInstance.newDepartment(userID, companyID, xApiKey, departmentNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DepartmentsApi#newDepartment");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
DepartmentNew *departmentNew = ; //

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

[apiInstance newDepartmentWith:userID
    companyID:companyID
    xApiKey:xApiKey
    departmentNew:departmentNew
              completionHandler: ^(JResponseID output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.DepartmentsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var departmentNew = ; // {DepartmentNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new DepartmentsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var departmentNew = new DepartmentNew(); // DepartmentNew |

            try
            {
                JResponseID result = apiInstance.newDepartment(userID, companyID, xApiKey, departmentNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DepartmentsApi.newDepartment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\DepartmentsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$departmentNew = ; // DepartmentNew |

try {
    $result = $api_instance->newDepartment($userID, $companyID, $xApiKey, $departmentNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DepartmentsApi->newDepartment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DepartmentsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DepartmentsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $departmentNew = WWW::SwaggerClient::Object::DepartmentNew->new(); # DepartmentNew |

eval {
    my $result = $api_instance->newDepartment(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, departmentNew => $departmentNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DepartmentsApi->newDepartment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DepartmentsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
departmentNew =  # DepartmentNew |

try:
    api_response = api_instance.new_department(userID, companyID, xApiKey, departmentNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DepartmentsApi->newDepartment: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
departmentNew *

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


Files

download


/files/{fileID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/files/{fileID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FilesApi;

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

public class FilesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        FilesApi apiInstance = new FilesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String fileID = fileID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            apiInstance.download(userID, companyID, fileID, xApiKey);
        } catch (ApiException e) {
            System.err.println("Exception when calling FilesApi#download");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FilesApi;

public class FilesApiExample {

    public static void main(String[] args) {
        FilesApi apiInstance = new FilesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String fileID = fileID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            apiInstance.download(userID, companyID, fileID, xApiKey);
        } catch (ApiException e) {
            System.err.println("Exception when calling FilesApi#download");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *fileID = fileID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance downloadWith:userID
    companyID:companyID
    fileID:fileID
    xApiKey:xApiKey
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.FilesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var fileID = fileID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new FilesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var fileID = fileID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                apiInstance.download(userID, companyID, fileID, xApiKey);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FilesApi.download: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\FilesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$fileID = fileID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $api_instance->download($userID, $companyID, $fileID, $xApiKey);
} catch (Exception $e) {
    echo 'Exception when calling FilesApi->download: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FilesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::FilesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $fileID = fileID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    $api_instance->download(userID => $userID, companyID => $companyID, fileID => $fileID, xApiKey => $xApiKey);
};
if ($@) {
    warn "Exception when calling FilesApi->download: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FilesApi()
userID = userID_example # String |
companyID = companyID_example # String |
fileID = fileID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_instance.download(userID, companyID, fileID, xApiKey)
except ApiException as e:
    print("Exception when calling FilesApi->download: %s\n" % e)

Parameters

Path parameters
Name Description
fileID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response

Name Type Format Description
Accept String
Content-Disposition String
Content-Type String

Status: 403 - 403 response


upload

This function will upload a file to Jetract Servers.<br>Returning data will be ID of newly created file.<br>Important:You need to pass, is_public,company_uuid and file in a form-data!


/files

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/files"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FilesApi;

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

public class FilesApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        FilesApi apiInstance = new FilesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String contentType = contentType_example; // String | Content-Type of the upload request.
        try {
            JResponseID result = apiInstance.upload(userID, companyID, xApiKey, contentType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FilesApi#upload");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FilesApi;

public class FilesApiExample {

    public static void main(String[] args) {
        FilesApi apiInstance = new FilesApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String contentType = contentType_example; // String | Content-Type of the upload request.
        try {
            JResponseID result = apiInstance.upload(userID, companyID, xApiKey, contentType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FilesApi#upload");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *contentType = contentType_example; // Content-Type of the upload request.

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

[apiInstance uploadWith:userID
    companyID:companyID
    xApiKey:xApiKey
    contentType:contentType
              completionHandler: ^(JResponseID output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.FilesApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var contentType = contentType_example; // {String} Content-Type of the upload request.


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new FilesApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var contentType = contentType_example;  // String | Content-Type of the upload request.

            try
            {
                JResponseID result = apiInstance.upload(userID, companyID, xApiKey, contentType);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FilesApi.upload: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\FilesApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$contentType = contentType_example; // String | Content-Type of the upload request.

try {
    $result = $api_instance->upload($userID, $companyID, $xApiKey, $contentType);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FilesApi->upload: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FilesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::FilesApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $contentType = contentType_example; # String | Content-Type of the upload request.

eval {
    my $result = $api_instance->upload(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, contentType => $contentType);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FilesApi->upload: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FilesApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
contentType = contentType_example # String | Content-Type of the upload request.

try:
    api_response = api_instance.upload(userID, companyID, xApiKey, contentType)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FilesApi->upload: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
content-type*
String
Content-Type of the upload request.
Required

Responses

Status: 200 - 200 response


Orders

getOrder


/orders/{orderID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/orders/{orderID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrdersApi;

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

public class OrdersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        OrdersApi apiInstance = new OrdersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String orderID = orderID_example; // String |
        try {
            OrderResponse result = apiInstance.getOrder(userID, companyID, xApiKey, orderID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrdersApi#getOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrdersApi;

public class OrdersApiExample {

    public static void main(String[] args) {
        OrdersApi apiInstance = new OrdersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        String orderID = orderID_example; // String |
        try {
            OrderResponse result = apiInstance.getOrder(userID, companyID, xApiKey, orderID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrdersApi#getOrder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
String *orderID = orderID_example; //

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

[apiInstance getOrderWith:userID
    companyID:companyID
    xApiKey:xApiKey
    orderID:orderID
              completionHandler: ^(OrderResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.OrdersApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var orderID = orderID_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new OrdersApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var orderID = orderID_example;  // String |

            try
            {
                OrderResponse result = apiInstance.getOrder(userID, companyID, xApiKey, orderID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrdersApi.getOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\OrdersApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$orderID = orderID_example; // String |

try {
    $result = $api_instance->getOrder($userID, $companyID, $xApiKey, $orderID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrdersApi->getOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrdersApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::OrdersApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $orderID = orderID_example; # String |

eval {
    my $result = $api_instance->getOrder(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, orderID => $orderID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrdersApi->getOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.OrdersApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
orderID = orderID_example # String |

try:
    api_response = api_instance.get_order(userID, companyID, xApiKey, orderID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrdersApi->getOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


getOrders


/orders

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/orders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrdersApi;

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

public class OrdersApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        OrdersApi apiInstance = new OrdersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            OrdersResponse result = apiInstance.getOrders(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrdersApi#getOrders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrdersApi;

public class OrdersApiExample {

    public static void main(String[] args) {
        OrdersApi apiInstance = new OrdersApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            OrdersResponse result = apiInstance.getOrders(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrdersApi#getOrders");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getOrdersWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(OrdersResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.OrdersApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new OrdersApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                OrdersResponse result = apiInstance.getOrders(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrdersApi.getOrders: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\OrdersApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::OrdersApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.OrdersApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_orders(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrdersApi->getOrders: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


ProcurementRequests

deleteProcurementRequest


/procurementrequests/{procurementRequestID}

Usage and SDK Samples

curl -X DELETE -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/procurementrequests/{procurementRequestID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcurementRequestsApi;

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

public class ProcurementRequestsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String procurementRequestID = procurementRequestID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteProcurementRequest(userID, procurementRequestID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#deleteProcurementRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcurementRequestsApi;

public class ProcurementRequestsApiExample {

    public static void main(String[] args) {
        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String procurementRequestID = procurementRequestID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            JStatus result = apiInstance.deleteProcurementRequest(userID, procurementRequestID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#deleteProcurementRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *procurementRequestID = procurementRequestID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance deleteProcurementRequestWith:userID
    procurementRequestID:procurementRequestID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(JStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.ProcurementRequestsApi()

var userID = userID_example; // {String}

var procurementRequestID = procurementRequestID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new ProcurementRequestsApi();
            var userID = userID_example;  // String |
            var procurementRequestID = procurementRequestID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                JStatus result = apiInstance.deleteProcurementRequest(userID, procurementRequestID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcurementRequestsApi.deleteProcurementRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ProcurementRequestsApi();
$userID = userID_example; // String |
$procurementRequestID = procurementRequestID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->deleteProcurementRequest($userID, $procurementRequestID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcurementRequestsApi->deleteProcurementRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcurementRequestsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ProcurementRequestsApi->new();
my $userID = userID_example; # String |
my $procurementRequestID = procurementRequestID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->deleteProcurementRequest(userID => $userID, procurementRequestID => $procurementRequestID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcurementRequestsApi->deleteProcurementRequest: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ProcurementRequestsApi()
userID = userID_example # String |
procurementRequestID = procurementRequestID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.delete_procurement_request(userID, procurementRequestID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcurementRequestsApi->deleteProcurementRequest: %s\n" % e)

Parameters

Path parameters
Name Description
procurementRequestID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getProcurementRequest


/procurementrequests/{procurementRequestID}

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/procurementrequests/{procurementRequestID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcurementRequestsApi;

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

public class ProcurementRequestsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String procurementRequestID = procurementRequestID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            ProcurementRequestResponse result = apiInstance.getProcurementRequest(userID, procurementRequestID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#getProcurementRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcurementRequestsApi;

public class ProcurementRequestsApiExample {

    public static void main(String[] args) {
        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String procurementRequestID = procurementRequestID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            ProcurementRequestResponse result = apiInstance.getProcurementRequest(userID, procurementRequestID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#getProcurementRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *procurementRequestID = procurementRequestID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getProcurementRequestWith:userID
    procurementRequestID:procurementRequestID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(ProcurementRequestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.ProcurementRequestsApi()

var userID = userID_example; // {String}

var procurementRequestID = procurementRequestID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new ProcurementRequestsApi();
            var userID = userID_example;  // String |
            var procurementRequestID = procurementRequestID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                ProcurementRequestResponse result = apiInstance.getProcurementRequest(userID, procurementRequestID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcurementRequestsApi.getProcurementRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ProcurementRequestsApi();
$userID = userID_example; // String |
$procurementRequestID = procurementRequestID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

try {
    $result = $api_instance->getProcurementRequest($userID, $procurementRequestID, $companyID, $xApiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcurementRequestsApi->getProcurementRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcurementRequestsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ProcurementRequestsApi->new();
my $userID = userID_example; # String |
my $procurementRequestID = procurementRequestID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

eval {
    my $result = $api_instance->getProcurementRequest(userID => $userID, procurementRequestID => $procurementRequestID, companyID => $companyID, xApiKey => $xApiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcurementRequestsApi->getProcurementRequest: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ProcurementRequestsApi()
userID = userID_example # String |
procurementRequestID = procurementRequestID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_procurement_request(userID, procurementRequestID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcurementRequestsApi->getProcurementRequest: %s\n" % e)

Parameters

Path parameters
Name Description
procurementRequestID*
String
Required
Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response


getProcurementRequests


/procurementrequests

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/procurementrequests"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcurementRequestsApi;

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

public class ProcurementRequestsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            ProcurementRequestsResponse result = apiInstance.getProcurementRequests(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#getProcurementRequests");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcurementRequestsApi;

public class ProcurementRequestsApiExample {

    public static void main(String[] args) {
        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            ProcurementRequestsResponse result = apiInstance.getProcurementRequests(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#getProcurementRequests");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getProcurementRequestsWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(ProcurementRequestsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.ProcurementRequestsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new ProcurementRequestsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                ProcurementRequestsResponse result = apiInstance.getProcurementRequests(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcurementRequestsApi.getProcurementRequests: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ProcurementRequestsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ProcurementRequestsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ProcurementRequestsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_procurement_requests(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcurementRequestsApi->getProcurementRequests: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


newProcurementRequest


/procurementrequests

Usage and SDK Samples

curl -X POST -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/procurementrequests"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcurementRequestsApi;

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

public class ProcurementRequestsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        ProcurementRequestNew procurementRequestNew = ; // ProcurementRequestNew |
        try {
            ProcurementRequestNewResponse result = apiInstance.newProcurementRequest(userID, companyID, xApiKey, procurementRequestNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#newProcurementRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcurementRequestsApi;

public class ProcurementRequestsApiExample {

    public static void main(String[] args) {
        ProcurementRequestsApi apiInstance = new ProcurementRequestsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        ProcurementRequestNew procurementRequestNew = ; // ProcurementRequestNew |
        try {
            ProcurementRequestNewResponse result = apiInstance.newProcurementRequest(userID, companyID, xApiKey, procurementRequestNew);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementRequestsApi#newProcurementRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //
ProcurementRequestNew *procurementRequestNew = ; //

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

[apiInstance newProcurementRequestWith:userID
    companyID:companyID
    xApiKey:xApiKey
    procurementRequestNew:procurementRequestNew
              completionHandler: ^(ProcurementRequestNewResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.ProcurementRequestsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}

var procurementRequestNew = ; // {ProcurementRequestNew}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new ProcurementRequestsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |
            var procurementRequestNew = new ProcurementRequestNew(); // ProcurementRequestNew |

            try
            {
                ProcurementRequestNewResponse result = apiInstance.newProcurementRequest(userID, companyID, xApiKey, procurementRequestNew);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcurementRequestsApi.newProcurementRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ProcurementRequestsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |
$procurementRequestNew = ; // ProcurementRequestNew |

try {
    $result = $api_instance->newProcurementRequest($userID, $companyID, $xApiKey, $procurementRequestNew);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcurementRequestsApi->newProcurementRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcurementRequestsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ProcurementRequestsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |
my $procurementRequestNew = WWW::SwaggerClient::Object::ProcurementRequestNew->new(); # ProcurementRequestNew |

eval {
    my $result = $api_instance->newProcurementRequest(userID => $userID, companyID => $companyID, xApiKey => $xApiKey, procurementRequestNew => $procurementRequestNew);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcurementRequestsApi->newProcurementRequest: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ProcurementRequestsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |
procurementRequestNew =  # ProcurementRequestNew |

try:
    api_response = api_instance.new_procurement_request(userID, companyID, xApiKey, procurementRequestNew)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcurementRequestsApi->newProcurementRequest: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required
Body parameters
Name Description
procurementRequestNew *

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 403 - 403 response

Status: 500 - 500 response


ProcurementUnits

getUnits


/units

Usage and SDK Samples

curl -X GET -H "x-api-key: [[apiKey]]" "https://30fo61e8a3.execute-api.eu-west-1.amazonaws.com/Production/units"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcurementUnitsApi;

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

public class ProcurementUnitsApiExample {

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

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        ProcurementUnitsApi apiInstance = new ProcurementUnitsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            UnitsResponse result = apiInstance.getUnits(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementUnitsApi#getUnits");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcurementUnitsApi;

public class ProcurementUnitsApiExample {

    public static void main(String[] args) {
        ProcurementUnitsApi apiInstance = new ProcurementUnitsApi();
        String userID = userID_example; // String |
        String companyID = companyID_example; // String |
        String xApiKey = xApiKey_example; // String |
        try {
            UnitsResponse result = apiInstance.getUnits(userID, companyID, xApiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcurementUnitsApi#getUnits");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];

String *userID = userID_example; //
String *companyID = companyID_example; //
String *xApiKey = xApiKey_example; //

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

[apiInstance getUnitsWith:userID
    companyID:companyID
    xApiKey:xApiKey
              completionHandler: ^(UnitsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Jetract = require('jetract');
var defaultClient = Jetract.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['x-api-key'] = "Token"

var api = new Jetract.ProcurementUnitsApi()

var userID = userID_example; // {String}

var companyID = companyID_example; // {String}

var xApiKey = xApiKey_example; // {String}


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

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

            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("x-api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("x-api-key", "Bearer");

            var apiInstance = new ProcurementUnitsApi();
            var userID = userID_example;  // String |
            var companyID = companyID_example;  // String |
            var xApiKey = xApiKey_example;  // String |

            try
            {
                UnitsResponse result = apiInstance.getUnits(userID, companyID, xApiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcurementUnitsApi.getUnits: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ProcurementUnitsApi();
$userID = userID_example; // String |
$companyID = companyID_example; // String |
$xApiKey = xApiKey_example; // String |

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'x-api-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'x-api-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ProcurementUnitsApi->new();
my $userID = userID_example; # String |
my $companyID = companyID_example; # String |
my $xApiKey = xApiKey_example; # String |

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

# Configure API key authorization: api_key
swagger_client.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ProcurementUnitsApi()
userID = userID_example # String |
companyID = companyID_example # String |
xApiKey = xApiKey_example # String |

try:
    api_response = api_instance.get_units(userID, companyID, xApiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcurementUnitsApi->getUnits: %s\n" % e)

Parameters

Header parameters
Name Description
userID*
String
Required
companyID*
String
Required
x-api-key*
String
Required

Responses

Status: 200 - 200 response