IRIS Supply Chain Data Model API

Default

addAttribute

Add a custom attribute to an object


/attributes/{objectName}

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/attributes/{objectName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String objectName = objectName_example; // String | Object name
        PropertyDefinition body = ; // PropertyDefinition | 
        try {
            apiInstance.addAttribute(objectName, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addAttribute");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String objectName = objectName_example; // String | Object name
        PropertyDefinition body = ; // PropertyDefinition | 
        try {
            apiInstance.addAttribute(objectName, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addAttribute");
            e.printStackTrace();
        }
    }
}
String *objectName = objectName_example; // Object name
PropertyDefinition *body = ; // 

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

[apiInstance addAttributeWith:objectName
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var objectName = objectName_example; // {String} Object name

var body = ; // {PropertyDefinition} 


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

namespace Example
{
    public class addAttributeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var objectName = objectName_example;  // String | Object name
            var body = new PropertyDefinition(); // PropertyDefinition | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$objectName = objectName_example; // String | Object name
$body = ; // PropertyDefinition | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $objectName = objectName_example; # String | Object name
my $body = WWW::SwaggerClient::Object::PropertyDefinition->new(); # PropertyDefinition | 

eval { 
    $api_instance->addAttribute(objectName => $objectName, body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->addAttribute: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
objectName = objectName_example # String | Object name
body =  # PropertyDefinition | 

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

Parameters

Path parameters
Name Description
objectName*
String
Object name
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 500 - Server error


createBOM

Add a new BOM


/billofmaterials

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/billofmaterials"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createBOMWith:body
              completionHandler: ^(BOM output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {BOM} 


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

namespace Example
{
    public class createBOMExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new BOM(); // BOM | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // BOM | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # BOM | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the created supplier

Status: 400 - Invalid message body

Status: 500 - Server error


createCarrier

Add a new carrier


/carriers

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/carriers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createCarrierWith:body
              completionHandler: ^(Carrier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Carrier} 


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

namespace Example
{
    public class createCarrierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Carrier(); // Carrier | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // Carrier | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Carrier | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the created product

Status: 400 - Invalid message body

Status: 500 - Server error


createCustomer

Add a new customer


/customers

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/customers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

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

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Customer} 


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

namespace Example
{
    public class createCustomerExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Customer(); // Customer | 

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

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

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

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

eval { 
    $api_instance->createCustomer(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createCustomer: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Customer | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createDemandPlan

Add a new demand plan


/demandplans

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/demandplans"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createDemandPlanWith:body
              completionHandler: ^(DemandPlan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {DemandPlan} 


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

namespace Example
{
    public class createDemandPlanExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new DemandPlan(); // DemandPlan | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // DemandPlan | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # DemandPlan | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createException

Add a new exception


/scexceptions

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/scexceptions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createExceptionWith:body
              completionHandler: ^(Exception output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Exception} 


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

namespace Example
{
    public class createExceptionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Exception(); // Exception | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // Exception | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Exception | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createInventoryThreshold

Add a new inventory threshold


/inventorythresholds

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/inventorythresholds"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createInventoryThresholdWith:body
              completionHandler: ^(InventoryThreshold output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {InventoryThreshold} 


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

namespace Example
{
    public class createInventoryThresholdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new InventoryThreshold(); // InventoryThreshold | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // InventoryThreshold | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # InventoryThreshold | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createIssue

Create a new issue


/issues

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/issues"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Issue body = ; // Issue | 
        try {
            apiInstance.createIssue(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createIssue");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createIssueWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Issue} 


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

namespace Example
{
    public class createIssueExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Issue(); // Issue | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // Issue | 

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

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

eval { 
    $api_instance->createIssue(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createIssue: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Issue | 

try: 
    api_instance.create_issue(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createIssue: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createLeadtimeVariant

Add a new leadtime variant


/leadtimevariants

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/leadtimevariants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createLeadtimeVariantWith:body
              completionHandler: ^(LeadtimeVariant output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {LeadtimeVariant} 


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

namespace Example
{
    public class createLeadtimeVariantExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new LeadtimeVariant(); // LeadtimeVariant | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // LeadtimeVariant | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # LeadtimeVariant | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createLocation

Create a new location


/locations

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/locations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Location body = ; // Location | 
        try {
            apiInstance.createLocation(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createLocation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createLocationWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Location} 


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

namespace Example
{
    public class createLocationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Location(); // Location | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // Location | 

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

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

eval { 
    $api_instance->createLocation(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createLocation: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Location | 

try: 
    api_instance.create_location(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createLocation: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 500 - Server error


createMfgOrder

Add a new mfg order


/manufacturingorders

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/manufacturingorders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createMfgOrderWith:body
              completionHandler: ^(MfgOrder output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {MfgOrder} 


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

namespace Example
{
    public class createMfgOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new MfgOrder(); // MfgOrder | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // MfgOrder | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # MfgOrder | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createMilestone

Add a new milestone


/milestones

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/milestones"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createMilestoneWith:body
              completionHandler: ^(Milestone output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Milestone} 


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

namespace Example
{
    public class createMilestoneExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Milestone(); // Milestone | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // Milestone | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Milestone | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createProduct

Add a new product


/products

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/products"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

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

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Product} 


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

namespace Example
{
    public class createProductExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Product(); // Product | 

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Product | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the created product

Status: 400 - Invalid message body

Status: 500 - Server error


createProductInventory

Add a new product inventory


/productinventories

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/productinventories"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createProductInventoryWith:body
              completionHandler: ^(ProductInventory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {ProductInventory} 


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

namespace Example
{
    public class createProductInventoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new ProductInventory(); // ProductInventory | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // ProductInventory | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # ProductInventory | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the created product inventory

Status: 400 - Invalid message body

Status: 500 - Server error


createProductSupplier

Add a new product supplier


/productsuppliers

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/productsuppliers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createProductSupplierWith:body
              completionHandler: ^(ProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {ProductSupplier} 


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

namespace Example
{
    public class createProductSupplierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new ProductSupplier(); // ProductSupplier | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // ProductSupplier | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # ProductSupplier | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createProductionCapacity

Add a new production capacity


/productioncapacities

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/productioncapacities"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createProductionCapacityWith:body
              completionHandler: ^(ProductionCapacity output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {ProductionCapacity} 


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

namespace Example
{
    public class createProductionCapacityExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new ProductionCapacity(); // ProductionCapacity | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // ProductionCapacity | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # ProductionCapacity | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created production capacity

Status: 400 - Invalid message body

Status: 500 - Server error


createPurchaseOrder

Create an purchase order


/purchaseorders

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/purchaseorders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        PurchaseOrder body = ; // PurchaseOrder | 
        try {
            apiInstance.createPurchaseOrder(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createPurchaseOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createPurchaseOrderWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {PurchaseOrder} 


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

namespace Example
{
    public class createPurchaseOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new PurchaseOrder(); // PurchaseOrder | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // PurchaseOrder | 

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

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

eval { 
    $api_instance->createPurchaseOrder(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createPurchaseOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # PurchaseOrder | 

try: 
    api_instance.create_purchase_order(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createPurchaseOrder: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createPurchaseOrderLine

Create an purchase order line


/purchaseorderlines

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/purchaseorderlines"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        PurchaseOrderLine body = ; // PurchaseOrderLine | 
        try {
            apiInstance.createPurchaseOrderLine(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createPurchaseOrderLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createPurchaseOrderLineWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {PurchaseOrderLine} 


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

namespace Example
{
    public class createPurchaseOrderLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new PurchaseOrderLine(); // PurchaseOrderLine | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // PurchaseOrderLine | 

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

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

eval { 
    $api_instance->createPurchaseOrderLine(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createPurchaseOrderLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # PurchaseOrderLine | 

try: 
    api_instance.create_purchase_order_line(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createPurchaseOrderLine: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createRouteLeg

Create a route leg


/routelegs

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/routelegs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        RouteLeg body = ; // RouteLeg | 
        try {
            apiInstance.createRouteLeg(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createRouteLeg");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createRouteLegWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {RouteLeg} 


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

namespace Example
{
    public class createRouteLegExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new RouteLeg(); // RouteLeg | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // RouteLeg | 

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

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

eval { 
    $api_instance->createRouteLeg(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createRouteLeg: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # RouteLeg | 

try: 
    api_instance.create_route_leg(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createRouteLeg: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createSLA

Add a new SLA


/slas

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/slas"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createSLAWith:body
              completionHandler: ^(SLA output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SLA} 


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

namespace Example
{
    public class createSLAExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SLA(); // SLA | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SLA | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SLA | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createSalesOrder

Create an sales order


/salesorders

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/salesorders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        SalesOrder body = ; // SalesOrder | 
        try {
            apiInstance.createSalesOrder(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSalesOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createSalesOrderWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SalesOrder} 


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

namespace Example
{
    public class createSalesOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SalesOrder(); // SalesOrder | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SalesOrder | 

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

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

eval { 
    $api_instance->createSalesOrder(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createSalesOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SalesOrder | 

try: 
    api_instance.create_sales_order(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createSalesOrder: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createSalesOrderLine

Create an sales order line


/salesorderlines

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/salesorderlines"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        SalesOrderLine body = ; // SalesOrderLine | 
        try {
            apiInstance.createSalesOrderLine(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSalesOrderLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createSalesOrderLineWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SalesOrderLine} 


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

namespace Example
{
    public class createSalesOrderLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SalesOrderLine(); // SalesOrderLine | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SalesOrderLine | 

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

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

eval { 
    $api_instance->createSalesOrderLine(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createSalesOrderLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SalesOrderLine | 

try: 
    api_instance.create_sales_order_line(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createSalesOrderLine: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createSalesShipment

Create an sales shipment


/salesshipments

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/salesshipments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        SalesShipment body = ; // SalesShipment | 
        try {
            apiInstance.createSalesShipment(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSalesShipment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createSalesShipmentWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SalesShipment} 


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

namespace Example
{
    public class createSalesShipmentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SalesShipment(); // SalesShipment | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SalesShipment | 

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

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

eval { 
    $api_instance->createSalesShipment(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createSalesShipment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SalesShipment | 

try: 
    api_instance.create_sales_shipment(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createSalesShipment: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createSalesShipmentLine

Create an sales shipment line


/salesshipmentlines

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/salesshipmentlines"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        SalesShipmentLine body = ; // SalesShipmentLine | 
        try {
            apiInstance.createSalesShipmentLine(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSalesShipmentLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createSalesShipmentLineWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SalesShipmentLine} 


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

namespace Example
{
    public class createSalesShipmentLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SalesShipmentLine(); // SalesShipmentLine | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SalesShipmentLine | 

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

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

eval { 
    $api_instance->createSalesShipmentLine(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createSalesShipmentLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SalesShipmentLine | 

try: 
    api_instance.create_sales_shipment_line(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createSalesShipmentLine: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createShippingCost

Add a new shipping cost


/shippingcosts

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/shippingcosts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createShippingCostWith:body
              completionHandler: ^(ShippingCost output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {ShippingCost} 


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

namespace Example
{
    public class createShippingCostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new ShippingCost(); // ShippingCost | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // ShippingCost | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # ShippingCost | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created shipping cost

Status: 400 - Invalid message body

Status: 500 - Server error


createSupplier

Add a new supplier


/suppliers

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/suppliers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createSupplierWith:body
              completionHandler: ^(Supplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {Supplier} 


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

namespace Example
{
    public class createSupplierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new Supplier(); // Supplier | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // Supplier | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Supplier | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the created supplier

Status: 400 - Invalid message body

Status: 500 - Server error


createSupplyPlan

Add a new supply plan


/supplyplans

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/supplyplans"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance createSupplyPlanWith:body
              completionHandler: ^(SupplyPlan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SupplyPlan} 


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

namespace Example
{
    public class createSupplyPlanExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SupplyPlan(); // SupplyPlan | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SupplyPlan | 

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SupplyPlan | 

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Details of the newly created object

Status: 400 - Invalid message body

Status: 500 - Server error


createSupplyShipment

Create an supply shipment


/supplyshipments

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/supplyshipments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        SupplyShipment body = ; // SupplyShipment | 
        try {
            apiInstance.createSupplyShipment(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSupplyShipment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createSupplyShipmentWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SupplyShipment} 


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

namespace Example
{
    public class createSupplyShipmentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SupplyShipment(); // SupplyShipment | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SupplyShipment | 

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

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

eval { 
    $api_instance->createSupplyShipment(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createSupplyShipment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SupplyShipment | 

try: 
    api_instance.create_supply_shipment(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createSupplyShipment: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


createSupplyShipmentLine

Create an supply shipment line


/supplyshipmentlines

Usage and SDK Samples

curl -X POST "http://localhost/api/scdata/v1/supplyshipmentlines"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        SupplyShipmentLine body = ; // SupplyShipmentLine | 
        try {
            apiInstance.createSupplyShipmentLine(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSupplyShipmentLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance createSupplyShipmentLineWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var body = ; // {SupplyShipmentLine} 


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

namespace Example
{
    public class createSupplyShipmentLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var body = new SupplyShipmentLine(); // SupplyShipmentLine | 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$body = ; // SupplyShipmentLine | 

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

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

eval { 
    $api_instance->createSupplyShipmentLine(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->createSupplyShipmentLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # SupplyShipmentLine | 

try: 
    api_instance.create_supply_shipment_line(body)
except ApiException as e:
    print("Exception when calling DefaultApi->createSupplyShipmentLine: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Invalid message body

Status: 500 - Server error


deleteBOM

Delete an existing BOM


/billofmaterials/{bomId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/billofmaterials/{bomId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String bomId = bomId_example; // String | Unique ID of the BOM
        try {
            apiInstance.deleteBOM(bomId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteBOM");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String bomId = bomId_example; // String | Unique ID of the BOM
        try {
            apiInstance.deleteBOM(bomId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteBOM");
            e.printStackTrace();
        }
    }
}
String *bomId = bomId_example; // Unique ID of the BOM

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

[apiInstance deleteBOMWith:bomId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var bomId = bomId_example; // {String} Unique ID of the BOM


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

namespace Example
{
    public class deleteBOMExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var bomId = bomId_example;  // String | Unique ID of the BOM

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$bomId = bomId_example; // String | Unique ID of the BOM

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $bomId = bomId_example; # String | Unique ID of the BOM

eval { 
    $api_instance->deleteBOM(bomId => $bomId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteBOM: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
bomId = bomId_example # String | Unique ID of the BOM

try: 
    api_instance.delete_bom(bomId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteBOM: %s\n" % e)

Parameters

Path parameters
Name Description
bomId*
String
Unique ID of the BOM
Required

Responses

Status: 200 - Success

Status: 404 - BOM not found

Status: 500 - Server error


deleteCarrier

Delete an existing carrier


/carriers/{carrierId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/carriers/{carrierId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String carrierId = carrierId_example; // String | Unique ID of the carrier
        try {
            apiInstance.deleteCarrier(carrierId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteCarrier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String carrierId = carrierId_example; // String | Unique ID of the carrier
        try {
            apiInstance.deleteCarrier(carrierId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteCarrier");
            e.printStackTrace();
        }
    }
}
String *carrierId = carrierId_example; // Unique ID of the carrier

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

[apiInstance deleteCarrierWith:carrierId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var carrierId = carrierId_example; // {String} Unique ID of the carrier


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

namespace Example
{
    public class deleteCarrierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var carrierId = carrierId_example;  // String | Unique ID of the carrier

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$carrierId = carrierId_example; // String | Unique ID of the carrier

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $carrierId = carrierId_example; # String | Unique ID of the carrier

eval { 
    $api_instance->deleteCarrier(carrierId => $carrierId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteCarrier: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
carrierId = carrierId_example # String | Unique ID of the carrier

try: 
    api_instance.delete_carrier(carrierId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteCarrier: %s\n" % e)

Parameters

Path parameters
Name Description
carrierId*
String
Unique ID of the carrier
Required

Responses

Status: 200 - Success

Status: 404 - Carrier not found

Status: 500 - Server error


deleteCustomer

Delete existing Customer


/customers/{customerId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/customers/{customerId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | ID of the customer
        try {
            apiInstance.deleteCustomer(customerId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | ID of the customer
        try {
            apiInstance.deleteCustomer(customerId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteCustomer");
            e.printStackTrace();
        }
    }
}
String *customerId = customerId_example; // ID of the customer

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

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

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var customerId = customerId_example; // {String} ID of the customer


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

namespace Example
{
    public class deleteCustomerExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var customerId = customerId_example;  // String | ID of the customer

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$customerId = customerId_example; // String | ID of the customer

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $customerId = customerId_example; # String | ID of the customer

eval { 
    $api_instance->deleteCustomer(customerId => $customerId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteCustomer: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
customerId = customerId_example # String | ID of the customer

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

Parameters

Path parameters
Name Description
customerId*
String
ID of the customer
Required

Responses

Status: 200 - Success

Status: 404 - Customer not found


deleteDemandPlan

Delete an existing demand plan


/demandplans/{planId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/demandplans/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the demand plan
        try {
            apiInstance.deleteDemandPlan(planId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteDemandPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the demand plan
        try {
            apiInstance.deleteDemandPlan(planId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteDemandPlan");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Unique ID of the demand plan

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

[apiInstance deleteDemandPlanWith:planId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var planId = planId_example; // {String} Unique ID of the demand plan


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

namespace Example
{
    public class deleteDemandPlanExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Unique ID of the demand plan

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Unique ID of the demand plan

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Unique ID of the demand plan

eval { 
    $api_instance->deleteDemandPlan(planId => $planId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteDemandPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
planId = planId_example # String | Unique ID of the demand plan

try: 
    api_instance.delete_demand_plan(planId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteDemandPlan: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
String
Unique ID of the demand plan
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteException

Delete an existing exception


/scexceptions/{exceptionId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/scexceptions/{exceptionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String exceptionId = exceptionId_example; // String | Unique ID of the exception
        try {
            apiInstance.deleteException(exceptionId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteException");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String exceptionId = exceptionId_example; // String | Unique ID of the exception
        try {
            apiInstance.deleteException(exceptionId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteException");
            e.printStackTrace();
        }
    }
}
String *exceptionId = exceptionId_example; // Unique ID of the exception

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

[apiInstance deleteExceptionWith:exceptionId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var exceptionId = exceptionId_example; // {String} Unique ID of the exception


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

namespace Example
{
    public class deleteExceptionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var exceptionId = exceptionId_example;  // String | Unique ID of the exception

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$exceptionId = exceptionId_example; // String | Unique ID of the exception

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $exceptionId = exceptionId_example; # String | Unique ID of the exception

eval { 
    $api_instance->deleteException(exceptionId => $exceptionId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteException: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
exceptionId = exceptionId_example # String | Unique ID of the exception

try: 
    api_instance.delete_exception(exceptionId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteException: %s\n" % e)

Parameters

Path parameters
Name Description
exceptionId*
String
Unique ID of the exception
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteInventoryThreshold

Delete an existing inventory threshold


/inventorythresholds/{inventoryThresholdId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/inventorythresholds/{inventoryThresholdId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
        try {
            apiInstance.deleteInventoryThreshold(inventoryThresholdId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteInventoryThreshold");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
        try {
            apiInstance.deleteInventoryThreshold(inventoryThresholdId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteInventoryThreshold");
            e.printStackTrace();
        }
    }
}
String *inventoryThresholdId = inventoryThresholdId_example; // Unique ID of the inventory threshold

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

[apiInstance deleteInventoryThresholdWith:inventoryThresholdId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var inventoryThresholdId = inventoryThresholdId_example; // {String} Unique ID of the inventory threshold


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

namespace Example
{
    public class deleteInventoryThresholdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var inventoryThresholdId = inventoryThresholdId_example;  // String | Unique ID of the inventory threshold

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $inventoryThresholdId = inventoryThresholdId_example; # String | Unique ID of the inventory threshold

eval { 
    $api_instance->deleteInventoryThreshold(inventoryThresholdId => $inventoryThresholdId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteInventoryThreshold: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
inventoryThresholdId = inventoryThresholdId_example # String | Unique ID of the inventory threshold

try: 
    api_instance.delete_inventory_threshold(inventoryThresholdId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteInventoryThreshold: %s\n" % e)

Parameters

Path parameters
Name Description
inventoryThresholdId*
String
Unique ID of the inventory threshold
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteIssue

Delete existing Customer


/issues/{issueId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/issues/{issueId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String issueId = issueId_example; // String | ID of the issue
        try {
            apiInstance.deleteIssue(issueId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteIssue");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String issueId = issueId_example; // String | ID of the issue
        try {
            apiInstance.deleteIssue(issueId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteIssue");
            e.printStackTrace();
        }
    }
}
String *issueId = issueId_example; // ID of the issue

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

[apiInstance deleteIssueWith:issueId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var issueId = issueId_example; // {String} ID of the issue


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

namespace Example
{
    public class deleteIssueExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var issueId = issueId_example;  // String | ID of the issue

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$issueId = issueId_example; // String | ID of the issue

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $issueId = issueId_example; # String | ID of the issue

eval { 
    $api_instance->deleteIssue(issueId => $issueId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteIssue: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
issueId = issueId_example # String | ID of the issue

try: 
    api_instance.delete_issue(issueId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteIssue: %s\n" % e)

Parameters

Path parameters
Name Description
issueId*
String
ID of the issue
Required

Responses

Status: 200 - Success

Status: 404 - Issue not found


deleteLeadtimeVariant

Delete an existing leadtime variant


/leadtimevariants/{leadtimeVariantId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/leadtimevariants/{leadtimeVariantId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
        try {
            apiInstance.deleteLeadtimeVariant(leadtimeVariantId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteLeadtimeVariant");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
        try {
            apiInstance.deleteLeadtimeVariant(leadtimeVariantId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteLeadtimeVariant");
            e.printStackTrace();
        }
    }
}
String *leadtimeVariantId = leadtimeVariantId_example; // Unique ID of the leadtime variant

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

[apiInstance deleteLeadtimeVariantWith:leadtimeVariantId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var leadtimeVariantId = leadtimeVariantId_example; // {String} Unique ID of the leadtime variant


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

namespace Example
{
    public class deleteLeadtimeVariantExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var leadtimeVariantId = leadtimeVariantId_example;  // String | Unique ID of the leadtime variant

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $leadtimeVariantId = leadtimeVariantId_example; # String | Unique ID of the leadtime variant

eval { 
    $api_instance->deleteLeadtimeVariant(leadtimeVariantId => $leadtimeVariantId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteLeadtimeVariant: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
leadtimeVariantId = leadtimeVariantId_example # String | Unique ID of the leadtime variant

try: 
    api_instance.delete_leadtime_variant(leadtimeVariantId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteLeadtimeVariant: %s\n" % e)

Parameters

Path parameters
Name Description
leadtimeVariantId*
String
Unique ID of the leadtime variant
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteLocation

Delete existing location


/locations/{locationId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/locations/{locationId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String locationId = locationId_example; // String | ID of the location
        try {
            apiInstance.deleteLocation(locationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteLocation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String locationId = locationId_example; // String | ID of the location
        try {
            apiInstance.deleteLocation(locationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteLocation");
            e.printStackTrace();
        }
    }
}
String *locationId = locationId_example; // ID of the location

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

[apiInstance deleteLocationWith:locationId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var locationId = locationId_example; // {String} ID of the location


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

namespace Example
{
    public class deleteLocationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var locationId = locationId_example;  // String | ID of the location

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$locationId = locationId_example; // String | ID of the location

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $locationId = locationId_example; # String | ID of the location

eval { 
    $api_instance->deleteLocation(locationId => $locationId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteLocation: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
locationId = locationId_example # String | ID of the location

try: 
    api_instance.delete_location(locationId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteLocation: %s\n" % e)

Parameters

Path parameters
Name Description
locationId*
String
ID of the location
Required

Responses

Status: 200 - Success

Status: 404 - Location not found


deleteMfgOrder

Delete an existing mfg order


/manufacturingorders/{orderId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/manufacturingorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | Unique ID of the mfg order
        try {
            apiInstance.deleteMfgOrder(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteMfgOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | Unique ID of the mfg order
        try {
            apiInstance.deleteMfgOrder(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteMfgOrder");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // Unique ID of the mfg order

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

[apiInstance deleteMfgOrderWith:orderId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} Unique ID of the mfg order


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

namespace Example
{
    public class deleteMfgOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | Unique ID of the mfg order

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | Unique ID of the mfg order

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | Unique ID of the mfg order

eval { 
    $api_instance->deleteMfgOrder(orderId => $orderId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteMfgOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | Unique ID of the mfg order

try: 
    api_instance.delete_mfg_order(orderId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteMfgOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
String
Unique ID of the mfg order
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteMilestone

Delete an existing milestone


/milestones/{milestoneId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/milestones/{milestoneId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String milestoneId = milestoneId_example; // String | Unique ID of the milestone
        try {
            apiInstance.deleteMilestone(milestoneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteMilestone");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String milestoneId = milestoneId_example; // String | Unique ID of the milestone
        try {
            apiInstance.deleteMilestone(milestoneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteMilestone");
            e.printStackTrace();
        }
    }
}
String *milestoneId = milestoneId_example; // Unique ID of the milestone

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

[apiInstance deleteMilestoneWith:milestoneId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var milestoneId = milestoneId_example; // {String} Unique ID of the milestone


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

namespace Example
{
    public class deleteMilestoneExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var milestoneId = milestoneId_example;  // String | Unique ID of the milestone

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$milestoneId = milestoneId_example; // String | Unique ID of the milestone

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $milestoneId = milestoneId_example; # String | Unique ID of the milestone

eval { 
    $api_instance->deleteMilestone(milestoneId => $milestoneId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteMilestone: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
milestoneId = milestoneId_example # String | Unique ID of the milestone

try: 
    api_instance.delete_milestone(milestoneId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteMilestone: %s\n" % e)

Parameters

Path parameters
Name Description
milestoneId*
String
Unique ID of the milestone
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteProduct

Delete an existing product


/products/{productId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/products/{productId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String productId = productId_example; // String | Unique ID of the product
        try {
            apiInstance.deleteProduct(productId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProduct");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String productId = productId_example; // String | Unique ID of the product
        try {
            apiInstance.deleteProduct(productId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProduct");
            e.printStackTrace();
        }
    }
}
String *productId = productId_example; // Unique ID of the product

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

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

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var productId = productId_example; // {String} Unique ID of the product


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

namespace Example
{
    public class deleteProductExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var productId = productId_example;  // String | Unique ID of the product

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$productId = productId_example; // String | Unique ID of the product

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $productId = productId_example; # String | Unique ID of the product

eval { 
    $api_instance->deleteProduct(productId => $productId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteProduct: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
productId = productId_example # String | Unique ID of the product

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

Parameters

Path parameters
Name Description
productId*
String
Unique ID of the product
Required

Responses

Status: 200 - Success

Status: 404 - Product not found


deleteProductInventory

Delete an existing product inventory


/productinventories/{inventoryId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/productinventories/{inventoryId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String inventoryId = inventoryId_example; // String | Unique ID of the product inventory
        try {
            apiInstance.deleteProductInventory(inventoryId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProductInventory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String inventoryId = inventoryId_example; // String | Unique ID of the product inventory
        try {
            apiInstance.deleteProductInventory(inventoryId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProductInventory");
            e.printStackTrace();
        }
    }
}
String *inventoryId = inventoryId_example; // Unique ID of the product inventory

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

[apiInstance deleteProductInventoryWith:inventoryId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var inventoryId = inventoryId_example; // {String} Unique ID of the product inventory


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

namespace Example
{
    public class deleteProductInventoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var inventoryId = inventoryId_example;  // String | Unique ID of the product inventory

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$inventoryId = inventoryId_example; // String | Unique ID of the product inventory

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $inventoryId = inventoryId_example; # String | Unique ID of the product inventory

eval { 
    $api_instance->deleteProductInventory(inventoryId => $inventoryId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteProductInventory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
inventoryId = inventoryId_example # String | Unique ID of the product inventory

try: 
    api_instance.delete_product_inventory(inventoryId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteProductInventory: %s\n" % e)

Parameters

Path parameters
Name Description
inventoryId*
String
Unique ID of the product inventory
Required

Responses

Status: 200 - Success

Status: 404 - product inventory not found

Status: 500 - Server error


deleteProductSupplier

Delete an existing product supplier


/productsuppliers/{prodSuplId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/productsuppliers/{prodSuplId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
        try {
            apiInstance.deleteProductSupplier(prodSuplId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProductSupplier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
        try {
            apiInstance.deleteProductSupplier(prodSuplId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProductSupplier");
            e.printStackTrace();
        }
    }
}
String *prodSuplId = prodSuplId_example; // Unique ID of the product supplier

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

[apiInstance deleteProductSupplierWith:prodSuplId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var prodSuplId = prodSuplId_example; // {String} Unique ID of the product supplier


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

namespace Example
{
    public class deleteProductSupplierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var prodSuplId = prodSuplId_example;  // String | Unique ID of the product supplier

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $prodSuplId = prodSuplId_example; # String | Unique ID of the product supplier

eval { 
    $api_instance->deleteProductSupplier(prodSuplId => $prodSuplId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteProductSupplier: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
prodSuplId = prodSuplId_example # String | Unique ID of the product supplier

try: 
    api_instance.delete_product_supplier(prodSuplId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteProductSupplier: %s\n" % e)

Parameters

Path parameters
Name Description
prodSuplId*
String
Unique ID of the product supplier
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteProductionCapacity

Delete an existing production capacity


/productioncapacities/{productionCapacityId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/productioncapacities/{productionCapacityId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
        try {
            apiInstance.deleteProductionCapacity(productionCapacityId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProductionCapacity");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
        try {
            apiInstance.deleteProductionCapacity(productionCapacityId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteProductionCapacity");
            e.printStackTrace();
        }
    }
}
String *productionCapacityId = productionCapacityId_example; // Unique ID of the production capacity

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

[apiInstance deleteProductionCapacityWith:productionCapacityId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var productionCapacityId = productionCapacityId_example; // {String} Unique ID of the production capacity


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

namespace Example
{
    public class deleteProductionCapacityExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var productionCapacityId = productionCapacityId_example;  // String | Unique ID of the production capacity

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $productionCapacityId = productionCapacityId_example; # String | Unique ID of the production capacity

eval { 
    $api_instance->deleteProductionCapacity(productionCapacityId => $productionCapacityId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteProductionCapacity: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
productionCapacityId = productionCapacityId_example # String | Unique ID of the production capacity

try: 
    api_instance.delete_production_capacity(productionCapacityId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteProductionCapacity: %s\n" % e)

Parameters

Path parameters
Name Description
productionCapacityId*
String
Unique ID of the production capacity
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deletePurchaseOrder

Delete existing purchase order


/purchaseorders/{orderId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/purchaseorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the purchase order
        try {
            apiInstance.deletePurchaseOrder(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deletePurchaseOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the purchase order
        try {
            apiInstance.deletePurchaseOrder(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deletePurchaseOrder");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // ID of the purchase order

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

[apiInstance deletePurchaseOrderWith:orderId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} ID of the purchase order


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

namespace Example
{
    public class deletePurchaseOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | ID of the purchase order

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | ID of the purchase order

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | ID of the purchase order

eval { 
    $api_instance->deletePurchaseOrder(orderId => $orderId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deletePurchaseOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | ID of the purchase order

try: 
    api_instance.delete_purchase_order(orderId)
except ApiException as e:
    print("Exception when calling DefaultApi->deletePurchaseOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
String
ID of the purchase order
Required

Responses

Status: 200 - Success

Status: 404 - purchase order not found


deletePurchaseOrderLine

Delete existing purchase order line


/purchaseorderlines/{lineId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/purchaseorderlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the purchase order line
        try {
            apiInstance.deletePurchaseOrderLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deletePurchaseOrderLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the purchase order line
        try {
            apiInstance.deletePurchaseOrderLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deletePurchaseOrderLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the purchase order line

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

[apiInstance deletePurchaseOrderLineWith:lineId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the purchase order line


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

namespace Example
{
    public class deletePurchaseOrderLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the purchase order line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the purchase order line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the purchase order line

eval { 
    $api_instance->deletePurchaseOrderLine(lineId => $lineId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deletePurchaseOrderLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the purchase order line

try: 
    api_instance.delete_purchase_order_line(lineId)
except ApiException as e:
    print("Exception when calling DefaultApi->deletePurchaseOrderLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the purchase order line
Required

Responses

Status: 200 - Success

Status: 404 - purchase order line not found


deleteRouteLeg

Delete existing route leg


/routelegs/{routeLegId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/routelegs/{routeLegId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String routeLegId = routeLegId_example; // String | ID of the route leg
        try {
            apiInstance.deleteRouteLeg(routeLegId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteRouteLeg");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String routeLegId = routeLegId_example; // String | ID of the route leg
        try {
            apiInstance.deleteRouteLeg(routeLegId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteRouteLeg");
            e.printStackTrace();
        }
    }
}
String *routeLegId = routeLegId_example; // ID of the route leg

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

[apiInstance deleteRouteLegWith:routeLegId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var routeLegId = routeLegId_example; // {String} ID of the route leg


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

namespace Example
{
    public class deleteRouteLegExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var routeLegId = routeLegId_example;  // String | ID of the route leg

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$routeLegId = routeLegId_example; // String | ID of the route leg

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $routeLegId = routeLegId_example; # String | ID of the route leg

eval { 
    $api_instance->deleteRouteLeg(routeLegId => $routeLegId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteRouteLeg: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
routeLegId = routeLegId_example # String | ID of the route leg

try: 
    api_instance.delete_route_leg(routeLegId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteRouteLeg: %s\n" % e)

Parameters

Path parameters
Name Description
routeLegId*
String
ID of the route leg
Required

Responses

Status: 200 - Success

Status: 404 - Route leg not found


deleteSLA

Delete an existing SLA


/slas/{slaId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/slas/{slaId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String slaId = slaId_example; // String | Unique ID of the SLA
        try {
            apiInstance.deleteSLA(slaId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSLA");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String slaId = slaId_example; // String | Unique ID of the SLA
        try {
            apiInstance.deleteSLA(slaId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSLA");
            e.printStackTrace();
        }
    }
}
String *slaId = slaId_example; // Unique ID of the SLA

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

[apiInstance deleteSLAWith:slaId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var slaId = slaId_example; // {String} Unique ID of the SLA


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

namespace Example
{
    public class deleteSLAExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var slaId = slaId_example;  // String | Unique ID of the SLA

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$slaId = slaId_example; // String | Unique ID of the SLA

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $slaId = slaId_example; # String | Unique ID of the SLA

eval { 
    $api_instance->deleteSLA(slaId => $slaId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSLA: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
slaId = slaId_example # String | Unique ID of the SLA

try: 
    api_instance.delete_sla(slaId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSLA: %s\n" % e)

Parameters

Path parameters
Name Description
slaId*
String
Unique ID of the SLA
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteSalesOrder

Delete existing sales order


/salesorders/{orderId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/salesorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the sales order
        try {
            apiInstance.deleteSalesOrder(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the sales order
        try {
            apiInstance.deleteSalesOrder(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesOrder");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // ID of the sales order

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

[apiInstance deleteSalesOrderWith:orderId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} ID of the sales order


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

namespace Example
{
    public class deleteSalesOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | ID of the sales order

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | ID of the sales order

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | ID of the sales order

eval { 
    $api_instance->deleteSalesOrder(orderId => $orderId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSalesOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | ID of the sales order

try: 
    api_instance.delete_sales_order(orderId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSalesOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
String
ID of the sales order
Required

Responses

Status: 200 - Success

Status: 404 - Sales order not found


deleteSalesOrderLine

Delete existing sales order line


/salesorderlines/{lineId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/salesorderlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales order line
        try {
            apiInstance.deleteSalesOrderLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesOrderLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales order line
        try {
            apiInstance.deleteSalesOrderLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesOrderLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the sales order line

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

[apiInstance deleteSalesOrderLineWith:lineId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the sales order line


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

namespace Example
{
    public class deleteSalesOrderLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the sales order line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the sales order line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the sales order line

eval { 
    $api_instance->deleteSalesOrderLine(lineId => $lineId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSalesOrderLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the sales order line

try: 
    api_instance.delete_sales_order_line(lineId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSalesOrderLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the sales order line
Required

Responses

Status: 200 - Success

Status: 404 - Sales order line not found


deleteSalesShipment

Delete existing sales shipment


/salesshipments/{shipmentId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/salesshipments/{shipmentId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the sales shipment
        try {
            apiInstance.deleteSalesShipment(shipmentId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesShipment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the sales shipment
        try {
            apiInstance.deleteSalesShipment(shipmentId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesShipment");
            e.printStackTrace();
        }
    }
}
String *shipmentId = shipmentId_example; // ID of the sales shipment

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

[apiInstance deleteSalesShipmentWith:shipmentId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shipmentId = shipmentId_example; // {String} ID of the sales shipment


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

namespace Example
{
    public class deleteSalesShipmentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shipmentId = shipmentId_example;  // String | ID of the sales shipment

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$shipmentId = shipmentId_example; // String | ID of the sales shipment

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shipmentId = shipmentId_example; # String | ID of the sales shipment

eval { 
    $api_instance->deleteSalesShipment(shipmentId => $shipmentId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSalesShipment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shipmentId = shipmentId_example # String | ID of the sales shipment

try: 
    api_instance.delete_sales_shipment(shipmentId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSalesShipment: %s\n" % e)

Parameters

Path parameters
Name Description
shipmentId*
String
ID of the sales shipment
Required

Responses

Status: 200 - Success

Status: 404 - sales shipment not found


deleteSalesShipmentLine

Delete existing sales shipment line


/salesshipmentlines/{lineId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/salesshipmentlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales shipment line
        try {
            apiInstance.deleteSalesShipmentLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesShipmentLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales shipment line
        try {
            apiInstance.deleteSalesShipmentLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSalesShipmentLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the sales shipment line

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

[apiInstance deleteSalesShipmentLineWith:lineId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the sales shipment line


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

namespace Example
{
    public class deleteSalesShipmentLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the sales shipment line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the sales shipment line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the sales shipment line

eval { 
    $api_instance->deleteSalesShipmentLine(lineId => $lineId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSalesShipmentLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the sales shipment line

try: 
    api_instance.delete_sales_shipment_line(lineId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSalesShipmentLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the sales shipment line
Required

Responses

Status: 200 - Success

Status: 404 - sales shipment line not found


deleteShippingCost

Delete an existing shipping cost


/shippingcosts/{shippingCostId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/shippingcosts/{shippingCostId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
        try {
            apiInstance.deleteShippingCost(shippingCostId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteShippingCost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
        try {
            apiInstance.deleteShippingCost(shippingCostId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteShippingCost");
            e.printStackTrace();
        }
    }
}
String *shippingCostId = shippingCostId_example; // Unique ID of the shipping cost

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

[apiInstance deleteShippingCostWith:shippingCostId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shippingCostId = shippingCostId_example; // {String} Unique ID of the shipping cost


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

namespace Example
{
    public class deleteShippingCostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shippingCostId = shippingCostId_example;  // String | Unique ID of the shipping cost

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shippingCostId = shippingCostId_example; # String | Unique ID of the shipping cost

eval { 
    $api_instance->deleteShippingCost(shippingCostId => $shippingCostId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteShippingCost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shippingCostId = shippingCostId_example # String | Unique ID of the shipping cost

try: 
    api_instance.delete_shipping_cost(shippingCostId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteShippingCost: %s\n" % e)

Parameters

Path parameters
Name Description
shippingCostId*
String
Unique ID of the shipping cost
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteSupplier

Delete an existing supplier


/suppliers/{supplierId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/suppliers/{supplierId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Unique ID of the supplier
        try {
            apiInstance.deleteSupplier(supplierId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Unique ID of the supplier
        try {
            apiInstance.deleteSupplier(supplierId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplier");
            e.printStackTrace();
        }
    }
}
String *supplierId = supplierId_example; // Unique ID of the supplier

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

[apiInstance deleteSupplierWith:supplierId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var supplierId = supplierId_example; // {String} Unique ID of the supplier


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

namespace Example
{
    public class deleteSupplierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String | Unique ID of the supplier

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | Unique ID of the supplier

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | Unique ID of the supplier

eval { 
    $api_instance->deleteSupplier(supplierId => $supplierId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSupplier: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
supplierId = supplierId_example # String | Unique ID of the supplier

try: 
    api_instance.delete_supplier(supplierId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSupplier: %s\n" % e)

Parameters

Path parameters
Name Description
supplierId*
String
Unique ID of the supplier
Required

Responses

Status: 200 - Success

Status: 404 - Supplier not found

Status: 500 - Server error


deleteSupplyPlan

Delete an existing supply plan


/supplyplans/{planId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/supplyplans/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the supply plan
        try {
            apiInstance.deleteSupplyPlan(planId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplyPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the supply plan
        try {
            apiInstance.deleteSupplyPlan(planId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplyPlan");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Unique ID of the supply plan

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

[apiInstance deleteSupplyPlanWith:planId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var planId = planId_example; // {String} Unique ID of the supply plan


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

namespace Example
{
    public class deleteSupplyPlanExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Unique ID of the supply plan

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Unique ID of the supply plan

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Unique ID of the supply plan

eval { 
    $api_instance->deleteSupplyPlan(planId => $planId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSupplyPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
planId = planId_example # String | Unique ID of the supply plan

try: 
    api_instance.delete_supply_plan(planId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSupplyPlan: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
String
Unique ID of the supply plan
Required

Responses

Status: 200 - Success

Status: 404 - Record not found

Status: 500 - Server error


deleteSupplyShipment

Delete existing supply shipment


/supplyshipments/{shipmentId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/supplyshipments/{shipmentId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the supply shipment
        try {
            apiInstance.deleteSupplyShipment(shipmentId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplyShipment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the supply shipment
        try {
            apiInstance.deleteSupplyShipment(shipmentId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplyShipment");
            e.printStackTrace();
        }
    }
}
String *shipmentId = shipmentId_example; // ID of the supply shipment

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

[apiInstance deleteSupplyShipmentWith:shipmentId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shipmentId = shipmentId_example; // {String} ID of the supply shipment


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

namespace Example
{
    public class deleteSupplyShipmentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shipmentId = shipmentId_example;  // String | ID of the supply shipment

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$shipmentId = shipmentId_example; // String | ID of the supply shipment

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shipmentId = shipmentId_example; # String | ID of the supply shipment

eval { 
    $api_instance->deleteSupplyShipment(shipmentId => $shipmentId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSupplyShipment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shipmentId = shipmentId_example # String | ID of the supply shipment

try: 
    api_instance.delete_supply_shipment(shipmentId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSupplyShipment: %s\n" % e)

Parameters

Path parameters
Name Description
shipmentId*
String
ID of the supply shipment
Required

Responses

Status: 200 - Success

Status: 404 - supply shipment not found


deleteSupplyShipmentLine

Delete existing supply shipment line


/supplyshipmentlines/{lineId}

Usage and SDK Samples

curl -X DELETE "http://localhost/api/scdata/v1/supplyshipmentlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the supply shipment line
        try {
            apiInstance.deleteSupplyShipmentLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplyShipmentLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the supply shipment line
        try {
            apiInstance.deleteSupplyShipmentLine(lineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSupplyShipmentLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the supply shipment line

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

[apiInstance deleteSupplyShipmentLineWith:lineId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the supply shipment line


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

namespace Example
{
    public class deleteSupplyShipmentLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the supply shipment line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the supply shipment line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the supply shipment line

eval { 
    $api_instance->deleteSupplyShipmentLine(lineId => $lineId);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSupplyShipmentLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the supply shipment line

try: 
    api_instance.delete_supply_shipment_line(lineId)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSupplyShipmentLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the supply shipment line
Required

Responses

Status: 200 - Success

Status: 404 - supply shipment line not found


getBOMById

Returns details about a particular bill of material


/billofmaterials/{bomId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/billofmaterials/{bomId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String bomId = bomId_example; // String | Unique ID of the BOM
        try {
            BOM result = apiInstance.getBOMById(bomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getBOMById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String bomId = bomId_example; // String | Unique ID of the BOM
        try {
            BOM result = apiInstance.getBOMById(bomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getBOMById");
            e.printStackTrace();
        }
    }
}
String *bomId = bomId_example; // Unique ID of the BOM

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

[apiInstance getBOMByIdWith:bomId
              completionHandler: ^(BOM output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var bomId = bomId_example; // {String} Unique ID of the BOM


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

namespace Example
{
    public class getBOMByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var bomId = bomId_example;  // String | Unique ID of the BOM

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$bomId = bomId_example; // String | Unique ID of the BOM

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $bomId = bomId_example; # String | Unique ID of the BOM

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
bomId = bomId_example # String | Unique ID of the BOM

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

Parameters

Path parameters
Name Description
bomId*
String
Unique ID of the BOM
Required

Responses

Status: 200 - Details about a BOM by ID

Status: 404 - BOM not found

Status: 500 - Server internal error


getBOMs

Get all BOMs in the server, truncate after certain number


/billofmaterials

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/billofmaterials"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[BOM] result = apiInstance.getBOMs();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getBOMs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getBOMsWithCompletionHandler: 
              ^(array[BOM] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getBOMsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getBackendVersion

Returns the version of the backend.


/backend-version

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/backend-version"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            'String' result = apiInstance.getBackendVersion();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getBackendVersion");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getBackendVersionWithCompletionHandler: 
              ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getBackendVersionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - The version of the backend


getCarrierById

Returns details about a particular carrier


/carriers/{carrierId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/carriers/{carrierId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String carrierId = carrierId_example; // String | Unique ID of the carrier
        try {
            Carrier result = apiInstance.getCarrierById(carrierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCarrierById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String carrierId = carrierId_example; // String | Unique ID of the carrier
        try {
            Carrier result = apiInstance.getCarrierById(carrierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCarrierById");
            e.printStackTrace();
        }
    }
}
String *carrierId = carrierId_example; // Unique ID of the carrier

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

[apiInstance getCarrierByIdWith:carrierId
              completionHandler: ^(Carrier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var carrierId = carrierId_example; // {String} Unique ID of the carrier


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

namespace Example
{
    public class getCarrierByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var carrierId = carrierId_example;  // String | Unique ID of the carrier

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$carrierId = carrierId_example; // String | Unique ID of the carrier

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $carrierId = carrierId_example; # String | Unique ID of the carrier

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
carrierId = carrierId_example # String | Unique ID of the carrier

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

Parameters

Path parameters
Name Description
carrierId*
String
Unique ID of the carrier
Required

Responses

Status: 200 - Details about a carrier by ID

Status: 404 - Carrier not found

Status: 500 - Server internal error


getCarriers

Get all carriers in the server, truncate after certain number


/carriers

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/carriers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[Carrier] result = apiInstance.getCarriers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCarriers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getCarriersWithCompletionHandler: 
              ^(array[Carrier] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getCarriersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getCustomerById

Returns details about a particular customer


/customers/{customerId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/customers/{customerId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | ID of the customer
        try {
            array[Customer] result = apiInstance.getCustomerById(customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCustomerById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | ID of the customer
        try {
            array[Customer] result = apiInstance.getCustomerById(customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCustomerById");
            e.printStackTrace();
        }
    }
}
String *customerId = customerId_example; // ID of the customer

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

[apiInstance getCustomerByIdWith:customerId
              completionHandler: ^(array[Customer] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var customerId = customerId_example; // {String} ID of the customer


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

namespace Example
{
    public class getCustomerByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var customerId = customerId_example;  // String | ID of the customer

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$customerId = customerId_example; // String | ID of the customer

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $customerId = customerId_example; # String | ID of the customer

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
customerId = customerId_example # String | ID of the customer

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

Parameters

Path parameters
Name Description
customerId*
String
ID of the customer
Required

Responses

Status: 200 - Details about a customer by ID


getCustomers

Get all customers in the server, truncate after certain number


/customers

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/customers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.getCustomers();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCustomers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getCustomersWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getCustomersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

eval { 
    $api_instance->getCustomers();
};
if ($@) {
    warn "Exception when calling DefaultApi->getCustomers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getDemandPlanById

Returns details about a particular demand plan


/demandplans/{planId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/demandplans/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the demand plan
        try {
            DemandPlan result = apiInstance.getDemandPlanById(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getDemandPlanById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the demand plan
        try {
            DemandPlan result = apiInstance.getDemandPlanById(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getDemandPlanById");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Unique ID of the demand plan

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

[apiInstance getDemandPlanByIdWith:planId
              completionHandler: ^(DemandPlan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var planId = planId_example; // {String} Unique ID of the demand plan


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

namespace Example
{
    public class getDemandPlanByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Unique ID of the demand plan

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Unique ID of the demand plan

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Unique ID of the demand plan

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
planId = planId_example # String | Unique ID of the demand plan

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

Parameters

Path parameters
Name Description
planId*
String
Unique ID of the demand plan
Required

Responses

Status: 200 - Details about a demand plann by ID

Status: 404 - Demand plan not found

Status: 500 - Server internal error


getDemandPlans

Get all demand plans in the server, truncate after certain number


/demandplans

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/demandplans"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[DemandPlan] result = apiInstance.getDemandPlans();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getDemandPlans");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getDemandPlansWithCompletionHandler: 
              ^(array[DemandPlan] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getDemandPlansExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getExceptionById

Returns details about a particular exception


/scexceptions/{exceptionId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/scexceptions/{exceptionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String exceptionId = exceptionId_example; // String | Unique ID of the exception
        try {
            Exception result = apiInstance.getExceptionById(exceptionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getExceptionById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String exceptionId = exceptionId_example; // String | Unique ID of the exception
        try {
            Exception result = apiInstance.getExceptionById(exceptionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getExceptionById");
            e.printStackTrace();
        }
    }
}
String *exceptionId = exceptionId_example; // Unique ID of the exception

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

[apiInstance getExceptionByIdWith:exceptionId
              completionHandler: ^(Exception output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var exceptionId = exceptionId_example; // {String} Unique ID of the exception


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

namespace Example
{
    public class getExceptionByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var exceptionId = exceptionId_example;  // String | Unique ID of the exception

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$exceptionId = exceptionId_example; // String | Unique ID of the exception

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $exceptionId = exceptionId_example; # String | Unique ID of the exception

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
exceptionId = exceptionId_example # String | Unique ID of the exception

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

Parameters

Path parameters
Name Description
exceptionId*
String
Unique ID of the exception
Required

Responses

Status: 200 - Details about a exception by ID

Status: 404 - record not found

Status: 500 - Server internal error


getExceptions

Get all exceptions in the server, truncate after certain number


/scexceptions

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/scexceptions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance getExceptionsWithCompletionHandler: 
              ^(array[Exception] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getExceptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getInventoryThresholdById

Returns details about a particular inventory threshold


/inventorythresholds/{inventoryThresholdId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/inventorythresholds/{inventoryThresholdId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
        try {
            InventoryThreshold result = apiInstance.getInventoryThresholdById(inventoryThresholdId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getInventoryThresholdById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
        try {
            InventoryThreshold result = apiInstance.getInventoryThresholdById(inventoryThresholdId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getInventoryThresholdById");
            e.printStackTrace();
        }
    }
}
String *inventoryThresholdId = inventoryThresholdId_example; // Unique ID of the inventory threshold

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

[apiInstance getInventoryThresholdByIdWith:inventoryThresholdId
              completionHandler: ^(InventoryThreshold output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var inventoryThresholdId = inventoryThresholdId_example; // {String} Unique ID of the inventory threshold


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

namespace Example
{
    public class getInventoryThresholdByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var inventoryThresholdId = inventoryThresholdId_example;  // String | Unique ID of the inventory threshold

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $inventoryThresholdId = inventoryThresholdId_example; # String | Unique ID of the inventory threshold

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
inventoryThresholdId = inventoryThresholdId_example # String | Unique ID of the inventory threshold

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

Parameters

Path parameters
Name Description
inventoryThresholdId*
String
Unique ID of the inventory threshold
Required

Responses

Status: 200 - Details about a inventory threshold by ID

Status: 404 - record not found

Status: 500 - Server internal error


getInventoryThresholds

Get all inventory thresholds in the server, truncate after certain number


/inventorythresholds

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/inventorythresholds"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[InventoryThreshold] result = apiInstance.getInventoryThresholds();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getInventoryThresholds");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getInventoryThresholdsWithCompletionHandler: 
              ^(array[InventoryThreshold] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getInventoryThresholdsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getIssueById

Returns a specific issue by ID


/issues/{issueId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/issues/{issueId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String issueId = issueId_example; // String | issue uid
        try {
            array[issue] result = apiInstance.getIssueById(issueId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getIssueById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getIssueByIdWith:issueId
              completionHandler: ^(array[issue] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var issueId = issueId_example; // {String} issue uid


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

namespace Example
{
    public class getIssueByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var issueId = issueId_example;  // String | issue uid

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$issueId = issueId_example; // String | issue uid

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $issueId = issueId_example; # String | issue uid

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
issueId = issueId_example # String | issue uid

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

Parameters

Path parameters
Name Description
issueId*
String
issue uid
Required

Responses

Status: 200 - Issue details


getIssues

Get all issues in the system


/issues

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/issues"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[issue] result = apiInstance.getIssues();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getIssues");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getIssuesWithCompletionHandler: 
              ^(array[issue] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getIssuesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getLeadtimeVariantById

Returns details about a particular leadtime variant


/leadtimevariants/{leadtimeVariantId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/leadtimevariants/{leadtimeVariantId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
        try {
            LeadtimeVariant result = apiInstance.getLeadtimeVariantById(leadtimeVariantId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLeadtimeVariantById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
        try {
            LeadtimeVariant result = apiInstance.getLeadtimeVariantById(leadtimeVariantId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLeadtimeVariantById");
            e.printStackTrace();
        }
    }
}
String *leadtimeVariantId = leadtimeVariantId_example; // Unique ID of the leadtime variant

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

[apiInstance getLeadtimeVariantByIdWith:leadtimeVariantId
              completionHandler: ^(LeadtimeVariant output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var leadtimeVariantId = leadtimeVariantId_example; // {String} Unique ID of the leadtime variant


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

namespace Example
{
    public class getLeadtimeVariantByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var leadtimeVariantId = leadtimeVariantId_example;  // String | Unique ID of the leadtime variant

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $leadtimeVariantId = leadtimeVariantId_example; # String | Unique ID of the leadtime variant

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
leadtimeVariantId = leadtimeVariantId_example # String | Unique ID of the leadtime variant

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

Parameters

Path parameters
Name Description
leadtimeVariantId*
String
Unique ID of the leadtime variant
Required

Responses

Status: 200 - Details about a leadtime variant by ID

Status: 404 - record not found

Status: 500 - Server internal error


getLeadtimeVariants

Get all leadtime variants in the server, truncate after certain number


/leadtimevariants

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/leadtimevariants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[LeadtimeVariant] result = apiInstance.getLeadtimeVariants();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLeadtimeVariants");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getLeadtimeVariantsWithCompletionHandler: 
              ^(array[LeadtimeVariant] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getLeadtimeVariantsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getLocationById

Returns details about a particular location


/locations/{locationId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/locations/{locationId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String locationId = locationId_example; // String | ID of the Location
        try {
            array[Location] result = apiInstance.getLocationById(locationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLocationById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String locationId = locationId_example; // String | ID of the Location
        try {
            array[Location] result = apiInstance.getLocationById(locationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLocationById");
            e.printStackTrace();
        }
    }
}
String *locationId = locationId_example; // ID of the Location

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

[apiInstance getLocationByIdWith:locationId
              completionHandler: ^(array[Location] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var locationId = locationId_example; // {String} ID of the Location


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

namespace Example
{
    public class getLocationByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var locationId = locationId_example;  // String | ID of the Location

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$locationId = locationId_example; // String | ID of the Location

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $locationId = locationId_example; # String | ID of the Location

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
locationId = locationId_example # String | ID of the Location

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

Parameters

Path parameters
Name Description
locationId*
String
ID of the Location
Required

Responses

Status: 200 - Details about a Location by ID


getLocations

Get all locations


/locations

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/locations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.getLocations();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLocations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getLocationsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getLocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

eval { 
    $api_instance->getLocations();
};
if ($@) {
    warn "Exception when calling DefaultApi->getLocations: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getMfgOrderById

Returns details about a particular mfg order


/manufacturingorders/{orderId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/manufacturingorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | Unique ID of the mfg order
        try {
            MfgOrder result = apiInstance.getMfgOrderById(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getMfgOrderById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | Unique ID of the mfg order
        try {
            MfgOrder result = apiInstance.getMfgOrderById(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getMfgOrderById");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // Unique ID of the mfg order

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

[apiInstance getMfgOrderByIdWith:orderId
              completionHandler: ^(MfgOrder output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} Unique ID of the mfg order


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

namespace Example
{
    public class getMfgOrderByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | Unique ID of the mfg order

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | Unique ID of the mfg order

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | Unique ID of the mfg order

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | Unique ID of the mfg order

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

Parameters

Path parameters
Name Description
orderId*
String
Unique ID of the mfg order
Required

Responses

Status: 200 - Details about a mfg order by ID

Status: 404 - record not found

Status: 500 - Server internal error


getMfgOrders

Get all mfg orders in the server, truncate after certain number


/manufacturingorders

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/manufacturingorders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[MfgOrder] result = apiInstance.getMfgOrders();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getMfgOrders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getMfgOrdersWithCompletionHandler: 
              ^(array[MfgOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getMfgOrdersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getMilestoneById

Returns details about a particular milestone


/milestones/{milestoneId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/milestones/{milestoneId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String milestoneId = milestoneId_example; // String | Unique ID of the milestone
        try {
            Milestone result = apiInstance.getMilestoneById(milestoneId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getMilestoneById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String milestoneId = milestoneId_example; // String | Unique ID of the milestone
        try {
            Milestone result = apiInstance.getMilestoneById(milestoneId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getMilestoneById");
            e.printStackTrace();
        }
    }
}
String *milestoneId = milestoneId_example; // Unique ID of the milestone

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

[apiInstance getMilestoneByIdWith:milestoneId
              completionHandler: ^(Milestone output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var milestoneId = milestoneId_example; // {String} Unique ID of the milestone


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

namespace Example
{
    public class getMilestoneByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var milestoneId = milestoneId_example;  // String | Unique ID of the milestone

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$milestoneId = milestoneId_example; // String | Unique ID of the milestone

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $milestoneId = milestoneId_example; # String | Unique ID of the milestone

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
milestoneId = milestoneId_example # String | Unique ID of the milestone

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

Parameters

Path parameters
Name Description
milestoneId*
String
Unique ID of the milestone
Required

Responses

Status: 200 - Details about a milestone by ID

Status: 404 - record not found

Status: 500 - Server internal error


getMilestones

Get all milestones in the server, truncate after certain number


/milestones

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/milestones"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[Milestone] result = apiInstance.getMilestones();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getMilestones");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getMilestonesWithCompletionHandler: 
              ^(array[Milestone] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getMilestonesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getObjectDefinitionByName

Returns the definition of the specified data objects


/objects/{objectName}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/objects/{objectName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String objectName = objectName_example; // String | object name
        try {
            array[ObjectDefinition] result = apiInstance.getObjectDefinitionByName(objectName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getObjectDefinitionByName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String objectName = objectName_example; // String | object name
        try {
            array[ObjectDefinition] result = apiInstance.getObjectDefinitionByName(objectName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getObjectDefinitionByName");
            e.printStackTrace();
        }
    }
}
String *objectName = objectName_example; // object name

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

[apiInstance getObjectDefinitionByNameWith:objectName
              completionHandler: ^(array[ObjectDefinition] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var objectName = objectName_example; // {String} object name


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

namespace Example
{
    public class getObjectDefinitionByNameExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var objectName = objectName_example;  // String | object name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$objectName = objectName_example; // String | object name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $objectName = objectName_example; # String | object name

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
objectName = objectName_example # String | object name

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

Parameters

Path parameters
Name Description
objectName*
String
object name
Required

Responses

Status: 200 - Object definition


getObjects

Get the list of all objects defined in the system


/objects

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/objects"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.getObjects();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getObjects");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getObjectsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getObjectsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

eval { 
    $api_instance->getObjects();
};
if ($@) {
    warn "Exception when calling DefaultApi->getObjects: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getProductById

Returns details about a particular product


/products/{productId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/products/{productId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String productId = productId_example; // String | Unique ID of the product
        try {
            Product result = apiInstance.getProductById(productId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String productId = productId_example; // String | Unique ID of the product
        try {
            Product result = apiInstance.getProductById(productId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductById");
            e.printStackTrace();
        }
    }
}
String *productId = productId_example; // Unique ID of the product

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

[apiInstance getProductByIdWith:productId
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var productId = productId_example; // {String} Unique ID of the product


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

namespace Example
{
    public class getProductByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var productId = productId_example;  // String | Unique ID of the product

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$productId = productId_example; // String | Unique ID of the product

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $productId = productId_example; # String | Unique ID of the product

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
productId = productId_example # String | Unique ID of the product

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

Parameters

Path parameters
Name Description
productId*
String
Unique ID of the product
Required

Responses

Status: 200 - Details about a product by ID

Status: 404 - product not found

Status: 500 - Server internal error


getProductInventories

Get all product inventories in the server, truncate after certain number


/productinventories

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/productinventories"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[ProductInventory] result = apiInstance.getProductInventories();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductInventories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getProductInventoriesWithCompletionHandler: 
              ^(array[ProductInventory] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getProductInventoriesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getProductInventoryById

Returns details about a particular product inventory


/productinventories/{inventoryId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/productinventories/{inventoryId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String inventoryId = inventoryId_example; // String | Unique ID of the product inventory
        try {
            ProductInventory result = apiInstance.getProductInventoryById(inventoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductInventoryById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String inventoryId = inventoryId_example; // String | Unique ID of the product inventory
        try {
            ProductInventory result = apiInstance.getProductInventoryById(inventoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductInventoryById");
            e.printStackTrace();
        }
    }
}
String *inventoryId = inventoryId_example; // Unique ID of the product inventory

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

[apiInstance getProductInventoryByIdWith:inventoryId
              completionHandler: ^(ProductInventory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var inventoryId = inventoryId_example; // {String} Unique ID of the product inventory


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

namespace Example
{
    public class getProductInventoryByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var inventoryId = inventoryId_example;  // String | Unique ID of the product inventory

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$inventoryId = inventoryId_example; // String | Unique ID of the product inventory

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $inventoryId = inventoryId_example; # String | Unique ID of the product inventory

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
inventoryId = inventoryId_example # String | Unique ID of the product inventory

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

Parameters

Path parameters
Name Description
inventoryId*
String
Unique ID of the product inventory
Required

Responses

Status: 200 - Details about a product inventory by ID

Status: 404 - product inventory not found

Status: 500 - Server internal error


getProductSupplierById

Returns details about a particular product supplier


/productsuppliers/{prodSuplId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/productsuppliers/{prodSuplId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
        try {
            ProductSupplier result = apiInstance.getProductSupplierById(prodSuplId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductSupplierById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
        try {
            ProductSupplier result = apiInstance.getProductSupplierById(prodSuplId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductSupplierById");
            e.printStackTrace();
        }
    }
}
String *prodSuplId = prodSuplId_example; // Unique ID of the product supplier

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

[apiInstance getProductSupplierByIdWith:prodSuplId
              completionHandler: ^(ProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var prodSuplId = prodSuplId_example; // {String} Unique ID of the product supplier


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

namespace Example
{
    public class getProductSupplierByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var prodSuplId = prodSuplId_example;  // String | Unique ID of the product supplier

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $prodSuplId = prodSuplId_example; # String | Unique ID of the product supplier

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
prodSuplId = prodSuplId_example # String | Unique ID of the product supplier

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

Parameters

Path parameters
Name Description
prodSuplId*
String
Unique ID of the product supplier
Required

Responses

Status: 200 - Details about a product supplier by ID

Status: 404 - record not found

Status: 500 - Server internal error


getProductSuppliers

Get all product suppliers in the server, truncate after certain number


/productsuppliers

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/productsuppliers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[ProductSupplier] result = apiInstance.getProductSuppliers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductSuppliers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getProductSuppliersWithCompletionHandler: 
              ^(array[ProductSupplier] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getProductSuppliersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getProductionCapacities

Get all production capacity in the server, truncate after certain number


/productioncapacities

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/productioncapacities"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[ProductionCapacity] result = apiInstance.getProductionCapacities();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductionCapacities");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getProductionCapacitiesWithCompletionHandler: 
              ^(array[ProductionCapacity] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getProductionCapacitiesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getProductionCapacityById

Returns details about a particular production capacity


/productioncapacities/{productionCapacityId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/productioncapacities/{productionCapacityId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
        try {
            ProductionCapacity result = apiInstance.getProductionCapacityById(productionCapacityId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductionCapacityById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
        try {
            ProductionCapacity result = apiInstance.getProductionCapacityById(productionCapacityId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getProductionCapacityById");
            e.printStackTrace();
        }
    }
}
String *productionCapacityId = productionCapacityId_example; // Unique ID of the production capacity

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

[apiInstance getProductionCapacityByIdWith:productionCapacityId
              completionHandler: ^(ProductionCapacity output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var productionCapacityId = productionCapacityId_example; // {String} Unique ID of the production capacity


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

namespace Example
{
    public class getProductionCapacityByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var productionCapacityId = productionCapacityId_example;  // String | Unique ID of the production capacity

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $productionCapacityId = productionCapacityId_example; # String | Unique ID of the production capacity

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
productionCapacityId = productionCapacityId_example # String | Unique ID of the production capacity

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

Parameters

Path parameters
Name Description
productionCapacityId*
String
Unique ID of the production capacity
Required

Responses

Status: 200 - Details about a production capacity

Status: 404 - record not found

Status: 500 - Server internal error


getProducts

Get all products in the server, truncate after certain number


/products

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/products"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

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

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getProductsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getPurchaseOrderById

Returns details about a particular purchase order


/purchaseorders/{orderId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/purchaseorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the order
        try {
            array[PurchaseOrder] result = apiInstance.getPurchaseOrderById(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrderById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the order
        try {
            array[PurchaseOrder] result = apiInstance.getPurchaseOrderById(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrderById");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // ID of the order

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

[apiInstance getPurchaseOrderByIdWith:orderId
              completionHandler: ^(array[PurchaseOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} ID of the order


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

namespace Example
{
    public class getPurchaseOrderByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | ID of the order

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | ID of the order

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | ID of the order

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | ID of the order

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

Parameters

Path parameters
Name Description
orderId*
String
ID of the order
Required

Responses

Status: 200 - Details about a purchase order by ID


getPurchaseOrderLineById

Returns details about a particular purchase order line


/purchaseorderlines/{lineId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/purchaseorderlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the order line
        try {
            array[PurchaseOrderLine] result = apiInstance.getPurchaseOrderLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrderLineById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the order line
        try {
            array[PurchaseOrderLine] result = apiInstance.getPurchaseOrderLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrderLineById");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the order line

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

[apiInstance getPurchaseOrderLineByIdWith:lineId
              completionHandler: ^(array[PurchaseOrderLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the order line


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

namespace Example
{
    public class getPurchaseOrderLineByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the order line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the order line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the order line

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the order line

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

Parameters

Path parameters
Name Description
lineId*
String
ID of the order line
Required

Responses

Status: 200 - Details about a purchase order line by ID


getPurchaseOrderLines

Get all purchase order lines, truncate after certain number


/purchaseorderlines

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/purchaseorderlines?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[PurchaseOrderLine] result = apiInstance.getPurchaseOrderLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrderLines");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[PurchaseOrderLine] result = apiInstance.getPurchaseOrderLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrderLines");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

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

[apiInstance getPurchaseOrderLinesWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[PurchaseOrderLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

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

namespace Example
{
    public class getPurchaseOrderLinesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_purchase_order_lines(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getPurchaseOrderLines: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getPurchaseOrders

Get all purchase orders, truncate after certain number


/purchaseorders

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/purchaseorders?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[PurchaseOrder] result = apiInstance.getPurchaseOrders(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[PurchaseOrder] result = apiInstance.getPurchaseOrders(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPurchaseOrders");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

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

[apiInstance getPurchaseOrdersWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[PurchaseOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

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

namespace Example
{
    public class getPurchaseOrdersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_purchase_orders(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getPurchaseOrders: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getRouteLegById

Returns a specific route leg by ID


/routelegs/{routeLegId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/routelegs/{routeLegId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String routeLegId = routeLegId_example; // String | Route leg uid
        try {
            array[routeLeg] result = apiInstance.getRouteLegById(routeLegId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getRouteLegById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String routeLegId = routeLegId_example; // String | Route leg uid
        try {
            array[routeLeg] result = apiInstance.getRouteLegById(routeLegId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getRouteLegById");
            e.printStackTrace();
        }
    }
}
String *routeLegId = routeLegId_example; // Route leg uid

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

[apiInstance getRouteLegByIdWith:routeLegId
              completionHandler: ^(array[routeLeg] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var routeLegId = routeLegId_example; // {String} Route leg uid


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

namespace Example
{
    public class getRouteLegByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var routeLegId = routeLegId_example;  // String | Route leg uid

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$routeLegId = routeLegId_example; // String | Route leg uid

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $routeLegId = routeLegId_example; # String | Route leg uid

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
routeLegId = routeLegId_example # String | Route leg uid

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

Parameters

Path parameters
Name Description
routeLegId*
String
Route leg uid
Required

Responses

Status: 200 - Route leg details


getRouteLegs

Get all route legs in the system


/routelegs

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/routelegs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[routeLeg] result = apiInstance.getRouteLegs();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getRouteLegs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getRouteLegsWithCompletionHandler: 
              ^(array[routeLeg] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getRouteLegsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getSLAById

Returns details about a particular SLA


/slas/{slaId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/slas/{slaId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String slaId = slaId_example; // String | Unique ID of the SLA
        try {
            SLA result = apiInstance.getSLAById(slaId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSLAById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String slaId = slaId_example; // String | Unique ID of the SLA
        try {
            SLA result = apiInstance.getSLAById(slaId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSLAById");
            e.printStackTrace();
        }
    }
}
String *slaId = slaId_example; // Unique ID of the SLA

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

[apiInstance getSLAByIdWith:slaId
              completionHandler: ^(SLA output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var slaId = slaId_example; // {String} Unique ID of the SLA


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

namespace Example
{
    public class getSLAByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var slaId = slaId_example;  // String | Unique ID of the SLA

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$slaId = slaId_example; // String | Unique ID of the SLA

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $slaId = slaId_example; # String | Unique ID of the SLA

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
slaId = slaId_example # String | Unique ID of the SLA

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

Parameters

Path parameters
Name Description
slaId*
String
Unique ID of the SLA
Required

Responses

Status: 200 - Details about a SLA by ID

Status: 404 - record not found

Status: 500 - Server internal error


getSLAs

Get all SLAs in the server, truncate after certain number


/slas

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/slas"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[SLA] result = apiInstance.getSLAs();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSLAs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getSLAsWithCompletionHandler: 
              ^(array[SLA] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

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

namespace Example
{
    public class getSLAsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getSalesOrderById

Returns details about a particular sales order


/salesorders/{orderId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the order
        try {
            array[SalesOrder] result = apiInstance.getSalesOrderById(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrderById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the order
        try {
            array[SalesOrder] result = apiInstance.getSalesOrderById(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrderById");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // ID of the order

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

[apiInstance getSalesOrderByIdWith:orderId
              completionHandler: ^(array[SalesOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} ID of the order


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

namespace Example
{
    public class getSalesOrderByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | ID of the order

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | ID of the order

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | ID of the order

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | ID of the order

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

Parameters

Path parameters
Name Description
orderId*
String
ID of the order
Required

Responses

Status: 200 - Details about a sales order by ID


getSalesOrderLineById

Returns details about a particular sales order line


/salesorderlines/{lineId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesorderlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the order line
        try {
            array[SalesOrderLine] result = apiInstance.getSalesOrderLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrderLineById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the order line
        try {
            array[SalesOrderLine] result = apiInstance.getSalesOrderLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrderLineById");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the order line

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

[apiInstance getSalesOrderLineByIdWith:lineId
              completionHandler: ^(array[SalesOrderLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the order line


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

namespace Example
{
    public class getSalesOrderLineByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the order line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the order line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the order line

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the order line

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

Parameters

Path parameters
Name Description
lineId*
String
ID of the order line
Required

Responses

Status: 200 - Details about a sales order line by ID


getSalesOrderLines

Get all sales order lines, truncate after certain number


/salesorderlines

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesorderlines?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesOrderLine] result = apiInstance.getSalesOrderLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrderLines");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesOrderLine] result = apiInstance.getSalesOrderLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrderLines");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

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

[apiInstance getSalesOrderLinesWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[SalesOrderLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

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

namespace Example
{
    public class getSalesOrderLinesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_sales_order_lines(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSalesOrderLines: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getSalesOrders

Get all sales orders, truncate after certain number


/salesorders

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesorders?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesOrder] result = apiInstance.getSalesOrders(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesOrder] result = apiInstance.getSalesOrders(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesOrders");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

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

[apiInstance getSalesOrdersWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[SalesOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

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

namespace Example
{
    public class getSalesOrdersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_sales_orders(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSalesOrders: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getSalesShipmentById

Returns details about a particular sales shipment


/salesshipments/{shipmentId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesshipments/{shipmentId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the sales shipment
        try {
            array[SalesShipment] result = apiInstance.getSalesShipmentById(shipmentId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipmentById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the sales shipment
        try {
            array[SalesShipment] result = apiInstance.getSalesShipmentById(shipmentId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipmentById");
            e.printStackTrace();
        }
    }
}
String *shipmentId = shipmentId_example; // ID of the sales shipment

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

[apiInstance getSalesShipmentByIdWith:shipmentId
              completionHandler: ^(array[SalesShipment] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shipmentId = shipmentId_example; // {String} ID of the sales shipment


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

namespace Example
{
    public class getSalesShipmentByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shipmentId = shipmentId_example;  // String | ID of the sales shipment

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$shipmentId = shipmentId_example; // String | ID of the sales shipment

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shipmentId = shipmentId_example; # String | ID of the sales shipment

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shipmentId = shipmentId_example # String | ID of the sales shipment

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

Parameters

Path parameters
Name Description
shipmentId*
String
ID of the sales shipment
Required

Responses

Status: 200 - Details about a sales shipment by ID


getSalesShipmentLineById

Returns details about a particular sales shipment line


/salesshipmentlines/{lineId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesshipmentlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the shipment line
        try {
            array[SalesShipmentLine] result = apiInstance.getSalesShipmentLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipmentLineById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the shipment line
        try {
            array[SalesShipmentLine] result = apiInstance.getSalesShipmentLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipmentLineById");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the shipment line

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

[apiInstance getSalesShipmentLineByIdWith:lineId
              completionHandler: ^(array[SalesShipmentLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the shipment line


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

namespace Example
{
    public class getSalesShipmentLineByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the shipment line

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the shipment line

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the shipment line

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the shipment line

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

Parameters

Path parameters
Name Description
lineId*
String
ID of the shipment line
Required

Responses

Status: 200 - Details about a sales shipment line by ID


getSalesShipmentLines

Get all sales shipment lines, truncate after certain number


/salesshipmentlines

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesshipmentlines?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesShipmentLine] result = apiInstance.getSalesShipmentLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipmentLines");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesShipmentLine] result = apiInstance.getSalesShipmentLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipmentLines");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

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

[apiInstance getSalesShipmentLinesWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[SalesShipmentLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

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

namespace Example
{
    public class getSalesShipmentLinesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_sales_shipment_lines(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSalesShipmentLines: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getSalesShipments

Get all sales shipments, truncate after certain number


/salesshipments

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/salesshipments?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesShipment] result = apiInstance.getSalesShipments(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SalesShipment] result = apiInstance.getSalesShipments(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSalesShipments");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

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

[apiInstance getSalesShipmentsWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[SalesShipment] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

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

namespace Example
{
    public class getSalesShipmentsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

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

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_sales_shipments(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSalesShipments: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getShippingCostById

Returns details about a particular shipping cost


/shippingcosts/{shippingCostId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/shippingcosts/{shippingCostId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
        try {
            ShippingCost result = apiInstance.getShippingCostById(shippingCostId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getShippingCostById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
        try {
            ShippingCost result = apiInstance.getShippingCostById(shippingCostId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getShippingCostById");
            e.printStackTrace();
        }
    }
}
String *shippingCostId = shippingCostId_example; // Unique ID of the shipping cost

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

[apiInstance getShippingCostByIdWith:shippingCostId
              completionHandler: ^(ShippingCost output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shippingCostId = shippingCostId_example; // {String} Unique ID of the shipping cost


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

namespace Example
{
    public class getShippingCostByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shippingCostId = shippingCostId_example;  // String | Unique ID of the shipping cost

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shippingCostId = shippingCostId_example; # String | Unique ID of the shipping cost

eval { 
    my $result = $api_instance->getShippingCostById(shippingCostId => $shippingCostId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getShippingCostById: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shippingCostId = shippingCostId_example # String | Unique ID of the shipping cost

try: 
    api_response = api_instance.get_shipping_cost_by_id(shippingCostId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getShippingCostById: %s\n" % e)

Parameters

Path parameters
Name Description
shippingCostId*
String
Unique ID of the shipping cost
Required

Responses

Status: 200 - Details about a shipping cost

Status: 404 - record not found

Status: 500 - Server internal error


getShippingCosts

Get all shipping cost in the server, truncate after certain number


/shippingcosts

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/shippingcosts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[ShippingCost] result = apiInstance.getShippingCosts();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getShippingCosts");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[ShippingCost] result = apiInstance.getShippingCosts();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getShippingCosts");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getShippingCostsWithCompletionHandler: 
              ^(array[ShippingCost] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getShippingCosts(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getShippingCostsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                array[ShippingCost] result = apiInstance.getShippingCosts();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getShippingCosts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $result = $api_instance->getShippingCosts();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getShippingCosts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->getShippingCosts();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getShippingCosts: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_response = api_instance.get_shipping_costs()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getShippingCosts: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getSupplierById

Returns details about a particular supplier


/suppliers/{supplierId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/suppliers/{supplierId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Unique ID of the supplier
        try {
            Supplier result = apiInstance.getSupplierById(supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplierById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Unique ID of the supplier
        try {
            Supplier result = apiInstance.getSupplierById(supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplierById");
            e.printStackTrace();
        }
    }
}
String *supplierId = supplierId_example; // Unique ID of the supplier

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplierByIdWith:supplierId
              completionHandler: ^(Supplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var supplierId = supplierId_example; // {String} Unique ID of the supplier


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplierById(supplierId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplierByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String | Unique ID of the supplier

            try
            {
                Supplier result = apiInstance.getSupplierById(supplierId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplierById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | Unique ID of the supplier

try {
    $result = $api_instance->getSupplierById($supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplierById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | Unique ID of the supplier

eval { 
    my $result = $api_instance->getSupplierById(supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplierById: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
supplierId = supplierId_example # String | Unique ID of the supplier

try: 
    api_response = api_instance.get_supplier_by_id(supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplierById: %s\n" % e)

Parameters

Path parameters
Name Description
supplierId*
String
Unique ID of the supplier
Required

Responses

Status: 200 - Details about a supplier by ID

Status: 404 - Supplier not found

Status: 500 - Server internal error


getSuppliers

Get all suppliers in the server, truncate after certain number


/suppliers

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/suppliers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[Supplier] result = apiInstance.getSuppliers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSuppliers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[Supplier] result = apiInstance.getSuppliers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSuppliers");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSuppliersWithCompletionHandler: 
              ^(array[Supplier] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSuppliers(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSuppliersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                array[Supplier] result = apiInstance.getSuppliers();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSuppliers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $result = $api_instance->getSuppliers();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSuppliers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->getSuppliers();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSuppliers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_response = api_instance.get_suppliers()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSuppliers: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getSupplyPlanById

Returns details about a particular supply plan


/supplyplans/{planId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/supplyplans/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the supply plan
        try {
            SupplyPlan result = apiInstance.getSupplyPlanById(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyPlanById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the supply plan
        try {
            SupplyPlan result = apiInstance.getSupplyPlanById(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyPlanById");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Unique ID of the supply plan

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplyPlanByIdWith:planId
              completionHandler: ^(SupplyPlan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var planId = planId_example; // {String} Unique ID of the supply plan


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplyPlanById(planId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplyPlanByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Unique ID of the supply plan

            try
            {
                SupplyPlan result = apiInstance.getSupplyPlanById(planId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplyPlanById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Unique ID of the supply plan

try {
    $result = $api_instance->getSupplyPlanById($planId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplyPlanById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Unique ID of the supply plan

eval { 
    my $result = $api_instance->getSupplyPlanById(planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplyPlanById: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
planId = planId_example # String | Unique ID of the supply plan

try: 
    api_response = api_instance.get_supply_plan_by_id(planId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplyPlanById: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
String
Unique ID of the supply plan
Required

Responses

Status: 200 - Details about a supply plann by ID

Status: 404 - Demand plan not found

Status: 500 - Server internal error


getSupplyPlans

Get all supply plans in the server, truncate after certain number


/supplyplans

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/supplyplans"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[SupplyPlan] result = apiInstance.getSupplyPlans();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyPlans");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            array[SupplyPlan] result = apiInstance.getSupplyPlans();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyPlans");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplyPlansWithCompletionHandler: 
              ^(array[SupplyPlan] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplyPlans(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplyPlansExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                array[SupplyPlan] result = apiInstance.getSupplyPlans();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplyPlans: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $result = $api_instance->getSupplyPlans();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplyPlans: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->getSupplyPlans();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplyPlans: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_response = api_instance.get_supply_plans()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplyPlans: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Server error


getSupplyShipmentById

Returns details about a particular supply shipment


/supplyshipments/{shipmentId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/supplyshipments/{shipmentId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the supply shipment
        try {
            array[SupplyShipment] result = apiInstance.getSupplyShipmentById(shipmentId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipmentById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the supply shipment
        try {
            array[SupplyShipment] result = apiInstance.getSupplyShipmentById(shipmentId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipmentById");
            e.printStackTrace();
        }
    }
}
String *shipmentId = shipmentId_example; // ID of the supply shipment

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplyShipmentByIdWith:shipmentId
              completionHandler: ^(array[SupplyShipment] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shipmentId = shipmentId_example; // {String} ID of the supply shipment


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplyShipmentById(shipmentId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplyShipmentByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shipmentId = shipmentId_example;  // String | ID of the supply shipment

            try
            {
                array[SupplyShipment] result = apiInstance.getSupplyShipmentById(shipmentId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplyShipmentById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$shipmentId = shipmentId_example; // String | ID of the supply shipment

try {
    $result = $api_instance->getSupplyShipmentById($shipmentId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplyShipmentById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shipmentId = shipmentId_example; # String | ID of the supply shipment

eval { 
    my $result = $api_instance->getSupplyShipmentById(shipmentId => $shipmentId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplyShipmentById: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shipmentId = shipmentId_example # String | ID of the supply shipment

try: 
    api_response = api_instance.get_supply_shipment_by_id(shipmentId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplyShipmentById: %s\n" % e)

Parameters

Path parameters
Name Description
shipmentId*
String
ID of the supply shipment
Required

Responses

Status: 200 - Details about a supply shipment by ID


getSupplyShipmentLineById

Returns details about a particular supply shipment line


/supplyshipmentlines/{lineId}

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/supplyshipmentlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the shipment line
        try {
            array[SupplyShipmentLine] result = apiInstance.getSupplyShipmentLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipmentLineById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the shipment line
        try {
            array[SupplyShipmentLine] result = apiInstance.getSupplyShipmentLineById(lineId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipmentLineById");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the shipment line

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplyShipmentLineByIdWith:lineId
              completionHandler: ^(array[SupplyShipmentLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the shipment line


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplyShipmentLineById(lineId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplyShipmentLineByIdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the shipment line

            try
            {
                array[SupplyShipmentLine] result = apiInstance.getSupplyShipmentLineById(lineId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplyShipmentLineById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the shipment line

try {
    $result = $api_instance->getSupplyShipmentLineById($lineId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplyShipmentLineById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the shipment line

eval { 
    my $result = $api_instance->getSupplyShipmentLineById(lineId => $lineId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplyShipmentLineById: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the shipment line

try: 
    api_response = api_instance.get_supply_shipment_line_by_id(lineId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplyShipmentLineById: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the shipment line
Required

Responses

Status: 200 - Details about a supply shipment line by ID


getSupplyShipmentLines

Get all supply shipment lines, truncate after certain number


/supplyshipmentlines

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/supplyshipmentlines?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SupplyShipmentLine] result = apiInstance.getSupplyShipmentLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipmentLines");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SupplyShipmentLine] result = apiInstance.getSupplyShipmentLines(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipmentLines");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplyShipmentLinesWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[SupplyShipmentLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplyShipmentLines(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplyShipmentLinesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

            try
            {
                array[SupplyShipmentLine] result = apiInstance.getSupplyShipmentLines(pageSize, pageIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplyShipmentLines: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

try {
    $result = $api_instance->getSupplyShipmentLines($pageSize, $pageIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplyShipmentLines: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

eval { 
    my $result = $api_instance->getSupplyShipmentLines(pageSize => $pageSize, pageIndex => $pageIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplyShipmentLines: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_supply_shipment_lines(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplyShipmentLines: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


getSupplyShipments

Get all supply shipments, truncate after certain number


/supplyshipments

Usage and SDK Samples

curl -X GET "http://localhost/api/scdata/v1/supplyshipments?pageSize=&pageIndex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SupplyShipment] result = apiInstance.getSupplyShipments(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer pageSize = 56; // Integer | Page size for pagination
        Integer pageIndex = 56; // Integer | index of the page, starting from 0
        try {
            array[SupplyShipment] result = apiInstance.getSupplyShipments(pageSize, pageIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSupplyShipments");
            e.printStackTrace();
        }
    }
}
Integer *pageSize = 56; // Page size for pagination (optional)
Integer *pageIndex = 56; // index of the page, starting from 0 (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance getSupplyShipmentsWith:pageSize
    pageIndex:pageIndex
              completionHandler: ^(array[SupplyShipment] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var opts = { 
  'pageSize': 56, // {Integer} Page size for pagination
  'pageIndex': 56 // {Integer} index of the page, starting from 0
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSupplyShipments(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSupplyShipmentsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var pageSize = 56;  // Integer | Page size for pagination (optional) 
            var pageIndex = 56;  // Integer | index of the page, starting from 0 (optional) 

            try
            {
                array[SupplyShipment] result = apiInstance.getSupplyShipments(pageSize, pageIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getSupplyShipments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$pageSize = 56; // Integer | Page size for pagination
$pageIndex = 56; // Integer | index of the page, starting from 0

try {
    $result = $api_instance->getSupplyShipments($pageSize, $pageIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSupplyShipments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $pageSize = 56; # Integer | Page size for pagination
my $pageIndex = 56; # Integer | index of the page, starting from 0

eval { 
    my $result = $api_instance->getSupplyShipments(pageSize => $pageSize, pageIndex => $pageIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSupplyShipments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
pageSize = 56 # Integer | Page size for pagination (optional)
pageIndex = 56 # Integer | index of the page, starting from 0 (optional)

try: 
    api_response = api_instance.get_supply_shipments(pageSize=pageSize, pageIndex=pageIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSupplyShipments: %s\n" % e)

Parameters

Query parameters
Name Description
pageSize
Integer
Page size for pagination
pageIndex
Integer
index of the page, starting from 0

Responses

Status: 200 - Success

Status: 500 - Server error


updateBOM

Update one BOM


/billofmaterials/{bomId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/billofmaterials/{bomId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String bomId = bomId_example; // String | Unique ID of the BOM
        BOM body = ; // BOM | New BOM info
        try {
            BOM result = apiInstance.updateBOM(bomId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateBOM");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String bomId = bomId_example; // String | Unique ID of the BOM
        BOM body = ; // BOM | New BOM info
        try {
            BOM result = apiInstance.updateBOM(bomId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateBOM");
            e.printStackTrace();
        }
    }
}
String *bomId = bomId_example; // Unique ID of the BOM
BOM *body = ; // New BOM info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateBOMWith:bomId
    body:body
              completionHandler: ^(BOM output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var bomId = bomId_example; // {String} Unique ID of the BOM

var body = ; // {BOM} New BOM info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateBOM(bomId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateBOMExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var bomId = bomId_example;  // String | Unique ID of the BOM
            var body = new BOM(); // BOM | New BOM info

            try
            {
                BOM result = apiInstance.updateBOM(bomId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateBOM: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$bomId = bomId_example; // String | Unique ID of the BOM
$body = ; // BOM | New BOM info

try {
    $result = $api_instance->updateBOM($bomId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateBOM: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $bomId = bomId_example; # String | Unique ID of the BOM
my $body = WWW::SwaggerClient::Object::BOM->new(); # BOM | New BOM info

eval { 
    my $result = $api_instance->updateBOM(bomId => $bomId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateBOM: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
bomId = bomId_example # String | Unique ID of the BOM
body =  # BOM | New BOM info

try: 
    api_response = api_instance.update_bom(bomId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateBOM: %s\n" % e)

Parameters

Path parameters
Name Description
bomId*
String
Unique ID of the BOM
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a BOM

Status: 400 - Invalid message body

Status: 404 - BOM not found

Status: 500 - Server error


updateCarrier

Update one carrier


/carriers/{carrierId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/carriers/{carrierId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String carrierId = carrierId_example; // String | Unique ID of the carrier
        Carrier body = ; // Carrier | New carrier info
        try {
            Carrier result = apiInstance.updateCarrier(carrierId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCarrier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String carrierId = carrierId_example; // String | Unique ID of the carrier
        Carrier body = ; // Carrier | New carrier info
        try {
            Carrier result = apiInstance.updateCarrier(carrierId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCarrier");
            e.printStackTrace();
        }
    }
}
String *carrierId = carrierId_example; // Unique ID of the carrier
Carrier *body = ; // New carrier info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateCarrierWith:carrierId
    body:body
              completionHandler: ^(Carrier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var carrierId = carrierId_example; // {String} Unique ID of the carrier

var body = ; // {Carrier} New carrier info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateCarrier(carrierId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateCarrierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var carrierId = carrierId_example;  // String | Unique ID of the carrier
            var body = new Carrier(); // Carrier | New carrier info

            try
            {
                Carrier result = apiInstance.updateCarrier(carrierId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateCarrier: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$carrierId = carrierId_example; // String | Unique ID of the carrier
$body = ; // Carrier | New carrier info

try {
    $result = $api_instance->updateCarrier($carrierId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateCarrier: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $carrierId = carrierId_example; # String | Unique ID of the carrier
my $body = WWW::SwaggerClient::Object::Carrier->new(); # Carrier | New carrier info

eval { 
    my $result = $api_instance->updateCarrier(carrierId => $carrierId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateCarrier: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
carrierId = carrierId_example # String | Unique ID of the carrier
body =  # Carrier | New carrier info

try: 
    api_response = api_instance.update_carrier(carrierId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateCarrier: %s\n" % e)

Parameters

Path parameters
Name Description
carrierId*
String
Unique ID of the carrier
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a carrier

Status: 400 - Invalid message body

Status: 404 - Carrier not found

Status: 500 - Server error


updateCustomer

Update one customer customer


/customers/{customerId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/customers/{customerId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | ID of the customer
        Customer body = ; // Customer | New customer info
        try {
            array[Customer] result = apiInstance.updateCustomer(customerId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | ID of the customer
        Customer body = ; // Customer | New customer info
        try {
            array[Customer] result = apiInstance.updateCustomer(customerId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateCustomer");
            e.printStackTrace();
        }
    }
}
String *customerId = customerId_example; // ID of the customer
Customer *body = ; // New customer info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateCustomerWith:customerId
    body:body
              completionHandler: ^(array[Customer] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var customerId = customerId_example; // {String} ID of the customer

var body = ; // {Customer} New customer info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateCustomer(customerId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateCustomerExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var customerId = customerId_example;  // String | ID of the customer
            var body = new Customer(); // Customer | New customer info

            try
            {
                array[Customer] result = apiInstance.updateCustomer(customerId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$customerId = customerId_example; // String | ID of the customer
$body = ; // Customer | New customer info

try {
    $result = $api_instance->updateCustomer($customerId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateCustomer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $customerId = customerId_example; # String | ID of the customer
my $body = WWW::SwaggerClient::Object::Customer->new(); # Customer | New customer info

eval { 
    my $result = $api_instance->updateCustomer(customerId => $customerId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateCustomer: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
customerId = customerId_example # String | ID of the customer
body =  # Customer | New customer info

try: 
    api_response = api_instance.update_customer(customerId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateCustomer: %s\n" % e)

Parameters

Path parameters
Name Description
customerId*
String
ID of the customer
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a customer by ID

Status: 400 - Invalid message body

Status: 404 - Customer not found

Status: 500 - Server error


updateDemandPlan

Update one demand plan


/demandplans/{planId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/demandplans/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the demand plan
        DemandPlan body = ; // DemandPlan | New demand plan info
        try {
            DemandPlan result = apiInstance.updateDemandPlan(planId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateDemandPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the demand plan
        DemandPlan body = ; // DemandPlan | New demand plan info
        try {
            DemandPlan result = apiInstance.updateDemandPlan(planId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateDemandPlan");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Unique ID of the demand plan
DemandPlan *body = ; // New demand plan info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateDemandPlanWith:planId
    body:body
              completionHandler: ^(DemandPlan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var planId = planId_example; // {String} Unique ID of the demand plan

var body = ; // {DemandPlan} New demand plan info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateDemandPlan(planId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateDemandPlanExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Unique ID of the demand plan
            var body = new DemandPlan(); // DemandPlan | New demand plan info

            try
            {
                DemandPlan result = apiInstance.updateDemandPlan(planId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateDemandPlan: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Unique ID of the demand plan
$body = ; // DemandPlan | New demand plan info

try {
    $result = $api_instance->updateDemandPlan($planId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateDemandPlan: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Unique ID of the demand plan
my $body = WWW::SwaggerClient::Object::DemandPlan->new(); # DemandPlan | New demand plan info

eval { 
    my $result = $api_instance->updateDemandPlan(planId => $planId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateDemandPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
planId = planId_example # String | Unique ID of the demand plan
body =  # DemandPlan | New demand plan info

try: 
    api_response = api_instance.update_demand_plan(planId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateDemandPlan: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
String
Unique ID of the demand plan
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a demand plan

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateException

Update one exception


/scexceptions/{exceptionId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/scexceptions/{exceptionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String exceptionId = exceptionId_example; // String | Unique ID of the exception
        Exception body = ; // Exception | New exception info
        try {
            Exception result = apiInstance.updateException(exceptionId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateException");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String exceptionId = exceptionId_example; // String | Unique ID of the exception
        Exception body = ; // Exception | New exception info
        try {
            Exception result = apiInstance.updateException(exceptionId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateException");
            e.printStackTrace();
        }
    }
}
String *exceptionId = exceptionId_example; // Unique ID of the exception
Exception *body = ; // New exception info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateExceptionWith:exceptionId
    body:body
              completionHandler: ^(Exception output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var exceptionId = exceptionId_example; // {String} Unique ID of the exception

var body = ; // {Exception} New exception info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateException(exceptionId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateExceptionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var exceptionId = exceptionId_example;  // String | Unique ID of the exception
            var body = new Exception(); // Exception | New exception info

            try
            {
                Exception result = apiInstance.updateException(exceptionId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateException: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$exceptionId = exceptionId_example; // String | Unique ID of the exception
$body = ; // Exception | New exception info

try {
    $result = $api_instance->updateException($exceptionId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateException: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $exceptionId = exceptionId_example; # String | Unique ID of the exception
my $body = WWW::SwaggerClient::Object::Exception->new(); # Exception | New exception info

eval { 
    my $result = $api_instance->updateException(exceptionId => $exceptionId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateException: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
exceptionId = exceptionId_example # String | Unique ID of the exception
body =  # Exception | New exception info

try: 
    api_response = api_instance.update_exception(exceptionId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateException: %s\n" % e)

Parameters

Path parameters
Name Description
exceptionId*
String
Unique ID of the exception
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a exception

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateInventoryThreshold

Update one inventory threshold


/inventorythresholds/{inventoryThresholdId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/inventorythresholds/{inventoryThresholdId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
        InventoryThreshold body = ; // InventoryThreshold | New inventory threshold info
        try {
            InventoryThreshold result = apiInstance.updateInventoryThreshold(inventoryThresholdId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateInventoryThreshold");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
        InventoryThreshold body = ; // InventoryThreshold | New inventory threshold info
        try {
            InventoryThreshold result = apiInstance.updateInventoryThreshold(inventoryThresholdId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateInventoryThreshold");
            e.printStackTrace();
        }
    }
}
String *inventoryThresholdId = inventoryThresholdId_example; // Unique ID of the inventory threshold
InventoryThreshold *body = ; // New inventory threshold info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateInventoryThresholdWith:inventoryThresholdId
    body:body
              completionHandler: ^(InventoryThreshold output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var inventoryThresholdId = inventoryThresholdId_example; // {String} Unique ID of the inventory threshold

var body = ; // {InventoryThreshold} New inventory threshold info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateInventoryThreshold(inventoryThresholdId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateInventoryThresholdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var inventoryThresholdId = inventoryThresholdId_example;  // String | Unique ID of the inventory threshold
            var body = new InventoryThreshold(); // InventoryThreshold | New inventory threshold info

            try
            {
                InventoryThreshold result = apiInstance.updateInventoryThreshold(inventoryThresholdId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateInventoryThreshold: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$inventoryThresholdId = inventoryThresholdId_example; // String | Unique ID of the inventory threshold
$body = ; // InventoryThreshold | New inventory threshold info

try {
    $result = $api_instance->updateInventoryThreshold($inventoryThresholdId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateInventoryThreshold: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $inventoryThresholdId = inventoryThresholdId_example; # String | Unique ID of the inventory threshold
my $body = WWW::SwaggerClient::Object::InventoryThreshold->new(); # InventoryThreshold | New inventory threshold info

eval { 
    my $result = $api_instance->updateInventoryThreshold(inventoryThresholdId => $inventoryThresholdId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateInventoryThreshold: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
inventoryThresholdId = inventoryThresholdId_example # String | Unique ID of the inventory threshold
body =  # InventoryThreshold | New inventory threshold info

try: 
    api_response = api_instance.update_inventory_threshold(inventoryThresholdId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateInventoryThreshold: %s\n" % e)

Parameters

Path parameters
Name Description
inventoryThresholdId*
String
Unique ID of the inventory threshold
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a inventory threshold

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateIssue

Update one issuer


/issues/{issueId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/issues/{issueId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String issueId = issueId_example; // String | ID of the issue
        Issue body = ; // Issue | New issue info
        try {
            issue result = apiInstance.updateIssue(issueId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateIssue");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String issueId = issueId_example; // String | ID of the issue
        Issue body = ; // Issue | New issue info
        try {
            issue result = apiInstance.updateIssue(issueId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateIssue");
            e.printStackTrace();
        }
    }
}
String *issueId = issueId_example; // ID of the issue
Issue *body = ; // New issue info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateIssueWith:issueId
    body:body
              completionHandler: ^(issue output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var issueId = issueId_example; // {String} ID of the issue

var body = ; // {Issue} New issue info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateIssue(issueId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateIssueExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var issueId = issueId_example;  // String | ID of the issue
            var body = new Issue(); // Issue | New issue info

            try
            {
                issue result = apiInstance.updateIssue(issueId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateIssue: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$issueId = issueId_example; // String | ID of the issue
$body = ; // Issue | New issue info

try {
    $result = $api_instance->updateIssue($issueId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateIssue: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $issueId = issueId_example; # String | ID of the issue
my $body = WWW::SwaggerClient::Object::Issue->new(); # Issue | New issue info

eval { 
    my $result = $api_instance->updateIssue(issueId => $issueId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateIssue: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
issueId = issueId_example # String | ID of the issue
body =  # Issue | New issue info

try: 
    api_response = api_instance.update_issue(issueId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateIssue: %s\n" % e)

Parameters

Path parameters
Name Description
issueId*
String
ID of the issue
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about an issue by ID

Status: 400 - Invalid message body

Status: 404 - Issue not found

Status: 500 - Server error


updateLeadtimeVariant

Update one leadtime variant


/leadtimevariants/{leadtimeVariantId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/leadtimevariants/{leadtimeVariantId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
        LeadtimeVariant body = ; // LeadtimeVariant | New leadtime variant info
        try {
            LeadtimeVariant result = apiInstance.updateLeadtimeVariant(leadtimeVariantId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateLeadtimeVariant");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
        LeadtimeVariant body = ; // LeadtimeVariant | New leadtime variant info
        try {
            LeadtimeVariant result = apiInstance.updateLeadtimeVariant(leadtimeVariantId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateLeadtimeVariant");
            e.printStackTrace();
        }
    }
}
String *leadtimeVariantId = leadtimeVariantId_example; // Unique ID of the leadtime variant
LeadtimeVariant *body = ; // New leadtime variant info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateLeadtimeVariantWith:leadtimeVariantId
    body:body
              completionHandler: ^(LeadtimeVariant output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var leadtimeVariantId = leadtimeVariantId_example; // {String} Unique ID of the leadtime variant

var body = ; // {LeadtimeVariant} New leadtime variant info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateLeadtimeVariant(leadtimeVariantId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateLeadtimeVariantExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var leadtimeVariantId = leadtimeVariantId_example;  // String | Unique ID of the leadtime variant
            var body = new LeadtimeVariant(); // LeadtimeVariant | New leadtime variant info

            try
            {
                LeadtimeVariant result = apiInstance.updateLeadtimeVariant(leadtimeVariantId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateLeadtimeVariant: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$leadtimeVariantId = leadtimeVariantId_example; // String | Unique ID of the leadtime variant
$body = ; // LeadtimeVariant | New leadtime variant info

try {
    $result = $api_instance->updateLeadtimeVariant($leadtimeVariantId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateLeadtimeVariant: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $leadtimeVariantId = leadtimeVariantId_example; # String | Unique ID of the leadtime variant
my $body = WWW::SwaggerClient::Object::LeadtimeVariant->new(); # LeadtimeVariant | New leadtime variant info

eval { 
    my $result = $api_instance->updateLeadtimeVariant(leadtimeVariantId => $leadtimeVariantId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateLeadtimeVariant: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
leadtimeVariantId = leadtimeVariantId_example # String | Unique ID of the leadtime variant
body =  # LeadtimeVariant | New leadtime variant info

try: 
    api_response = api_instance.update_leadtime_variant(leadtimeVariantId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateLeadtimeVariant: %s\n" % e)

Parameters

Path parameters
Name Description
leadtimeVariantId*
String
Unique ID of the leadtime variant
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a leadtime variant

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateLocation

Update one location


/locations/{locationId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/locations/{locationId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String locationId = locationId_example; // String | ID of the location
        Location body = ; // Location | New location info
        try {
            array[Location] result = apiInstance.updateLocation(locationId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateLocation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String locationId = locationId_example; // String | ID of the location
        Location body = ; // Location | New location info
        try {
            array[Location] result = apiInstance.updateLocation(locationId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateLocation");
            e.printStackTrace();
        }
    }
}
String *locationId = locationId_example; // ID of the location
Location *body = ; // New location info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateLocationWith:locationId
    body:body
              completionHandler: ^(array[Location] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var locationId = locationId_example; // {String} ID of the location

var body = ; // {Location} New location info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateLocation(locationId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateLocationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var locationId = locationId_example;  // String | ID of the location
            var body = new Location(); // Location | New location info

            try
            {
                array[Location] result = apiInstance.updateLocation(locationId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateLocation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$locationId = locationId_example; // String | ID of the location
$body = ; // Location | New location info

try {
    $result = $api_instance->updateLocation($locationId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateLocation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $locationId = locationId_example; # String | ID of the location
my $body = WWW::SwaggerClient::Object::Location->new(); # Location | New location info

eval { 
    my $result = $api_instance->updateLocation(locationId => $locationId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateLocation: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
locationId = locationId_example # String | ID of the location
body =  # Location | New location info

try: 
    api_response = api_instance.update_location(locationId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateLocation: %s\n" % e)

Parameters

Path parameters
Name Description
locationId*
String
ID of the location
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a customer by ID

Status: 400 - Invalid message body

Status: 404 - Location not found

Status: 500 - Server error


updateMfgOrder

Update one mfg order


/manufacturingorders/{orderId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/manufacturingorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | Unique ID of the mfg order
        MfgOrder body = ; // MfgOrder | New mfg order info
        try {
            MfgOrder result = apiInstance.updateMfgOrder(orderId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateMfgOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | Unique ID of the mfg order
        MfgOrder body = ; // MfgOrder | New mfg order info
        try {
            MfgOrder result = apiInstance.updateMfgOrder(orderId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateMfgOrder");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // Unique ID of the mfg order
MfgOrder *body = ; // New mfg order info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateMfgOrderWith:orderId
    body:body
              completionHandler: ^(MfgOrder output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} Unique ID of the mfg order

var body = ; // {MfgOrder} New mfg order info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateMfgOrder(orderId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateMfgOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | Unique ID of the mfg order
            var body = new MfgOrder(); // MfgOrder | New mfg order info

            try
            {
                MfgOrder result = apiInstance.updateMfgOrder(orderId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateMfgOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | Unique ID of the mfg order
$body = ; // MfgOrder | New mfg order info

try {
    $result = $api_instance->updateMfgOrder($orderId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateMfgOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | Unique ID of the mfg order
my $body = WWW::SwaggerClient::Object::MfgOrder->new(); # MfgOrder | New mfg order info

eval { 
    my $result = $api_instance->updateMfgOrder(orderId => $orderId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateMfgOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | Unique ID of the mfg order
body =  # MfgOrder | New mfg order info

try: 
    api_response = api_instance.update_mfg_order(orderId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateMfgOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
String
Unique ID of the mfg order
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a mfg order

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateMilestone

Update one milestone


/milestones/{milestoneId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/milestones/{milestoneId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String milestoneId = milestoneId_example; // String | Unique ID of the milestone
        Milestone body = ; // Milestone | New milestone info
        try {
            Milestone result = apiInstance.updateMilestone(milestoneId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateMilestone");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String milestoneId = milestoneId_example; // String | Unique ID of the milestone
        Milestone body = ; // Milestone | New milestone info
        try {
            Milestone result = apiInstance.updateMilestone(milestoneId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateMilestone");
            e.printStackTrace();
        }
    }
}
String *milestoneId = milestoneId_example; // Unique ID of the milestone
Milestone *body = ; // New milestone info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateMilestoneWith:milestoneId
    body:body
              completionHandler: ^(Milestone output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var milestoneId = milestoneId_example; // {String} Unique ID of the milestone

var body = ; // {Milestone} New milestone info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateMilestone(milestoneId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateMilestoneExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var milestoneId = milestoneId_example;  // String | Unique ID of the milestone
            var body = new Milestone(); // Milestone | New milestone info

            try
            {
                Milestone result = apiInstance.updateMilestone(milestoneId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateMilestone: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$milestoneId = milestoneId_example; // String | Unique ID of the milestone
$body = ; // Milestone | New milestone info

try {
    $result = $api_instance->updateMilestone($milestoneId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateMilestone: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $milestoneId = milestoneId_example; # String | Unique ID of the milestone
my $body = WWW::SwaggerClient::Object::Milestone->new(); # Milestone | New milestone info

eval { 
    my $result = $api_instance->updateMilestone(milestoneId => $milestoneId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateMilestone: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
milestoneId = milestoneId_example # String | Unique ID of the milestone
body =  # Milestone | New milestone info

try: 
    api_response = api_instance.update_milestone(milestoneId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateMilestone: %s\n" % e)

Parameters

Path parameters
Name Description
milestoneId*
String
Unique ID of the milestone
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a milestone

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateProduct

Update one product


/products/{productId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/products/{productId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String productId = productId_example; // String | Unique ID of the product
        Product body = ; // Product | New product info
        try {
            Product result = apiInstance.updateProduct(productId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProduct");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String productId = productId_example; // String | Unique ID of the product
        Product body = ; // Product | New product info
        try {
            Product result = apiInstance.updateProduct(productId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProduct");
            e.printStackTrace();
        }
    }
}
String *productId = productId_example; // Unique ID of the product
Product *body = ; // New product info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateProductWith:productId
    body:body
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var productId = productId_example; // {String} Unique ID of the product

var body = ; // {Product} New product info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateProduct(productId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateProductExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var productId = productId_example;  // String | Unique ID of the product
            var body = new Product(); // Product | New product info

            try
            {
                Product result = apiInstance.updateProduct(productId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateProduct: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$productId = productId_example; // String | Unique ID of the product
$body = ; // Product | New product info

try {
    $result = $api_instance->updateProduct($productId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateProduct: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $productId = productId_example; # String | Unique ID of the product
my $body = WWW::SwaggerClient::Object::Product->new(); # Product | New product info

eval { 
    my $result = $api_instance->updateProduct(productId => $productId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateProduct: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
productId = productId_example # String | Unique ID of the product
body =  # Product | New product info

try: 
    api_response = api_instance.update_product(productId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateProduct: %s\n" % e)

Parameters

Path parameters
Name Description
productId*
String
Unique ID of the product
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a product

Status: 400 - Invalid message body

Status: 404 - product not found

Status: 500 - Server error


updateProductInventory

Update one product inventory


/productinventories/{inventoryId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/productinventories/{inventoryId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String inventoryId = inventoryId_example; // String | Unique ID of the product inventory
        ProductInventory body = ; // ProductInventory | New product inventory info
        try {
            ProductInventory result = apiInstance.updateProductInventory(inventoryId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProductInventory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String inventoryId = inventoryId_example; // String | Unique ID of the product inventory
        ProductInventory body = ; // ProductInventory | New product inventory info
        try {
            ProductInventory result = apiInstance.updateProductInventory(inventoryId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProductInventory");
            e.printStackTrace();
        }
    }
}
String *inventoryId = inventoryId_example; // Unique ID of the product inventory
ProductInventory *body = ; // New product inventory info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateProductInventoryWith:inventoryId
    body:body
              completionHandler: ^(ProductInventory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var inventoryId = inventoryId_example; // {String} Unique ID of the product inventory

var body = ; // {ProductInventory} New product inventory info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateProductInventory(inventoryId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateProductInventoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var inventoryId = inventoryId_example;  // String | Unique ID of the product inventory
            var body = new ProductInventory(); // ProductInventory | New product inventory info

            try
            {
                ProductInventory result = apiInstance.updateProductInventory(inventoryId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateProductInventory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$inventoryId = inventoryId_example; // String | Unique ID of the product inventory
$body = ; // ProductInventory | New product inventory info

try {
    $result = $api_instance->updateProductInventory($inventoryId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateProductInventory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $inventoryId = inventoryId_example; # String | Unique ID of the product inventory
my $body = WWW::SwaggerClient::Object::ProductInventory->new(); # ProductInventory | New product inventory info

eval { 
    my $result = $api_instance->updateProductInventory(inventoryId => $inventoryId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateProductInventory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
inventoryId = inventoryId_example # String | Unique ID of the product inventory
body =  # ProductInventory | New product inventory info

try: 
    api_response = api_instance.update_product_inventory(inventoryId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateProductInventory: %s\n" % e)

Parameters

Path parameters
Name Description
inventoryId*
String
Unique ID of the product inventory
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a product inventory

Status: 400 - Invalid message body

Status: 404 - product inventory not found

Status: 500 - Server error


updateProductSupplier

Update one product supplier


/productsuppliers/{prodSuplId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/productsuppliers/{prodSuplId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
        ProductSupplier body = ; // ProductSupplier | New product supplier info
        try {
            ProductSupplier result = apiInstance.updateProductSupplier(prodSuplId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProductSupplier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
        ProductSupplier body = ; // ProductSupplier | New product supplier info
        try {
            ProductSupplier result = apiInstance.updateProductSupplier(prodSuplId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProductSupplier");
            e.printStackTrace();
        }
    }
}
String *prodSuplId = prodSuplId_example; // Unique ID of the product supplier
ProductSupplier *body = ; // New product supplier info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateProductSupplierWith:prodSuplId
    body:body
              completionHandler: ^(ProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var prodSuplId = prodSuplId_example; // {String} Unique ID of the product supplier

var body = ; // {ProductSupplier} New product supplier info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateProductSupplier(prodSuplId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateProductSupplierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var prodSuplId = prodSuplId_example;  // String | Unique ID of the product supplier
            var body = new ProductSupplier(); // ProductSupplier | New product supplier info

            try
            {
                ProductSupplier result = apiInstance.updateProductSupplier(prodSuplId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateProductSupplier: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$prodSuplId = prodSuplId_example; // String | Unique ID of the product supplier
$body = ; // ProductSupplier | New product supplier info

try {
    $result = $api_instance->updateProductSupplier($prodSuplId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateProductSupplier: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $prodSuplId = prodSuplId_example; # String | Unique ID of the product supplier
my $body = WWW::SwaggerClient::Object::ProductSupplier->new(); # ProductSupplier | New product supplier info

eval { 
    my $result = $api_instance->updateProductSupplier(prodSuplId => $prodSuplId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateProductSupplier: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
prodSuplId = prodSuplId_example # String | Unique ID of the product supplier
body =  # ProductSupplier | New product supplier info

try: 
    api_response = api_instance.update_product_supplier(prodSuplId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateProductSupplier: %s\n" % e)

Parameters

Path parameters
Name Description
prodSuplId*
String
Unique ID of the product supplier
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a product supplier

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateProductionCapacity

Update one production capacity


/productioncapacities/{productionCapacityId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/productioncapacities/{productionCapacityId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
        ProductionCapacity body = ; // ProductionCapacity | New production capacity info
        try {
            ProductionCapacity result = apiInstance.updateProductionCapacity(productionCapacityId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProductionCapacity");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
        ProductionCapacity body = ; // ProductionCapacity | New production capacity info
        try {
            ProductionCapacity result = apiInstance.updateProductionCapacity(productionCapacityId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateProductionCapacity");
            e.printStackTrace();
        }
    }
}
String *productionCapacityId = productionCapacityId_example; // Unique ID of the production capacity
ProductionCapacity *body = ; // New production capacity info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateProductionCapacityWith:productionCapacityId
    body:body
              completionHandler: ^(ProductionCapacity output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var productionCapacityId = productionCapacityId_example; // {String} Unique ID of the production capacity

var body = ; // {ProductionCapacity} New production capacity info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateProductionCapacity(productionCapacityId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateProductionCapacityExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var productionCapacityId = productionCapacityId_example;  // String | Unique ID of the production capacity
            var body = new ProductionCapacity(); // ProductionCapacity | New production capacity info

            try
            {
                ProductionCapacity result = apiInstance.updateProductionCapacity(productionCapacityId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateProductionCapacity: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$productionCapacityId = productionCapacityId_example; // String | Unique ID of the production capacity
$body = ; // ProductionCapacity | New production capacity info

try {
    $result = $api_instance->updateProductionCapacity($productionCapacityId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateProductionCapacity: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $productionCapacityId = productionCapacityId_example; # String | Unique ID of the production capacity
my $body = WWW::SwaggerClient::Object::ProductionCapacity->new(); # ProductionCapacity | New production capacity info

eval { 
    my $result = $api_instance->updateProductionCapacity(productionCapacityId => $productionCapacityId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateProductionCapacity: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
productionCapacityId = productionCapacityId_example # String | Unique ID of the production capacity
body =  # ProductionCapacity | New production capacity info

try: 
    api_response = api_instance.update_production_capacity(productionCapacityId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateProductionCapacity: %s\n" % e)

Parameters

Path parameters
Name Description
productionCapacityId*
String
Unique ID of the production capacity
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details of the new production capacity

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updatePurchaseOrder

Update one purchase order


/purchaseorders/{orderId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/purchaseorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the purchase order
        PurchaseOrder body = ; // PurchaseOrder | New purchase order info
        try {
            array[PurchaseOrder] result = apiInstance.updatePurchaseOrder(orderId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updatePurchaseOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the purchase order
        PurchaseOrder body = ; // PurchaseOrder | New purchase order info
        try {
            array[PurchaseOrder] result = apiInstance.updatePurchaseOrder(orderId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updatePurchaseOrder");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // ID of the purchase order
PurchaseOrder *body = ; // New purchase order info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updatePurchaseOrderWith:orderId
    body:body
              completionHandler: ^(array[PurchaseOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} ID of the purchase order

var body = ; // {PurchaseOrder} New purchase order info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updatePurchaseOrder(orderId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updatePurchaseOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | ID of the purchase order
            var body = new PurchaseOrder(); // PurchaseOrder | New purchase order info

            try
            {
                array[PurchaseOrder] result = apiInstance.updatePurchaseOrder(orderId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updatePurchaseOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | ID of the purchase order
$body = ; // PurchaseOrder | New purchase order info

try {
    $result = $api_instance->updatePurchaseOrder($orderId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updatePurchaseOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | ID of the purchase order
my $body = WWW::SwaggerClient::Object::PurchaseOrder->new(); # PurchaseOrder | New purchase order info

eval { 
    my $result = $api_instance->updatePurchaseOrder(orderId => $orderId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updatePurchaseOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | ID of the purchase order
body =  # PurchaseOrder | New purchase order info

try: 
    api_response = api_instance.update_purchase_order(orderId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updatePurchaseOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
String
ID of the purchase order
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a purchase order by ID

Status: 400 - Invalid message body

Status: 404 - purchase order not found

Status: 500 - Server error


updatePurchaseOrderLine

Update one purchase order line


/purchaseorderlines/{lineId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/purchaseorderlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the purchase order line
        PurchaseOrderLine body = ; // PurchaseOrderLine | New purchase order line info
        try {
            array[PurchaseOrderLine] result = apiInstance.updatePurchaseOrderLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updatePurchaseOrderLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the purchase order line
        PurchaseOrderLine body = ; // PurchaseOrderLine | New purchase order line info
        try {
            array[PurchaseOrderLine] result = apiInstance.updatePurchaseOrderLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updatePurchaseOrderLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the purchase order line
PurchaseOrderLine *body = ; // New purchase order line info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updatePurchaseOrderLineWith:lineId
    body:body
              completionHandler: ^(array[PurchaseOrderLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the purchase order line

var body = ; // {PurchaseOrderLine} New purchase order line info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updatePurchaseOrderLine(lineId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updatePurchaseOrderLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the purchase order line
            var body = new PurchaseOrderLine(); // PurchaseOrderLine | New purchase order line info

            try
            {
                array[PurchaseOrderLine] result = apiInstance.updatePurchaseOrderLine(lineId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updatePurchaseOrderLine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the purchase order line
$body = ; // PurchaseOrderLine | New purchase order line info

try {
    $result = $api_instance->updatePurchaseOrderLine($lineId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updatePurchaseOrderLine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the purchase order line
my $body = WWW::SwaggerClient::Object::PurchaseOrderLine->new(); # PurchaseOrderLine | New purchase order line info

eval { 
    my $result = $api_instance->updatePurchaseOrderLine(lineId => $lineId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updatePurchaseOrderLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the purchase order line
body =  # PurchaseOrderLine | New purchase order line info

try: 
    api_response = api_instance.update_purchase_order_line(lineId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updatePurchaseOrderLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the purchase order line
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a purchase order by ID

Status: 400 - Invalid message body

Status: 404 - purchase rder lie not found

Status: 500 - Server error


updateRouteLeg

Update one route leg


/routelegs/{routeLegId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/routelegs/{routeLegId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String routeLegId = routeLegId_example; // String | Route leg uid
        RouteLeg body = ; // RouteLeg | New route leg info
        try {
            routeLeg result = apiInstance.updateRouteLeg(routeLegId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateRouteLeg");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String routeLegId = routeLegId_example; // String | Route leg uid
        RouteLeg body = ; // RouteLeg | New route leg info
        try {
            routeLeg result = apiInstance.updateRouteLeg(routeLegId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateRouteLeg");
            e.printStackTrace();
        }
    }
}
String *routeLegId = routeLegId_example; // Route leg uid
RouteLeg *body = ; // New route leg info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateRouteLegWith:routeLegId
    body:body
              completionHandler: ^(routeLeg output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var routeLegId = routeLegId_example; // {String} Route leg uid

var body = ; // {RouteLeg} New route leg info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateRouteLeg(routeLegId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateRouteLegExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var routeLegId = routeLegId_example;  // String | Route leg uid
            var body = new RouteLeg(); // RouteLeg | New route leg info

            try
            {
                routeLeg result = apiInstance.updateRouteLeg(routeLegId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateRouteLeg: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$routeLegId = routeLegId_example; // String | Route leg uid
$body = ; // RouteLeg | New route leg info

try {
    $result = $api_instance->updateRouteLeg($routeLegId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateRouteLeg: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $routeLegId = routeLegId_example; # String | Route leg uid
my $body = WWW::SwaggerClient::Object::RouteLeg->new(); # RouteLeg | New route leg info

eval { 
    my $result = $api_instance->updateRouteLeg(routeLegId => $routeLegId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateRouteLeg: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
routeLegId = routeLegId_example # String | Route leg uid
body =  # RouteLeg | New route leg info

try: 
    api_response = api_instance.update_route_leg(routeLegId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateRouteLeg: %s\n" % e)

Parameters

Path parameters
Name Description
routeLegId*
String
Route leg uid
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details of the route leg

Status: 400 - Invalid message body

Status: 404 - Route leg not found

Status: 500 - Server error


updateSLA

Update one SLA


/slas/{slaId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/slas/{slaId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String slaId = slaId_example; // String | Unique ID of the SLA
        SLA body = ; // SLA | New SLA info
        try {
            SLA result = apiInstance.updateSLA(slaId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSLA");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String slaId = slaId_example; // String | Unique ID of the SLA
        SLA body = ; // SLA | New SLA info
        try {
            SLA result = apiInstance.updateSLA(slaId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSLA");
            e.printStackTrace();
        }
    }
}
String *slaId = slaId_example; // Unique ID of the SLA
SLA *body = ; // New SLA info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSLAWith:slaId
    body:body
              completionHandler: ^(SLA output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var slaId = slaId_example; // {String} Unique ID of the SLA

var body = ; // {SLA} New SLA info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSLA(slaId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSLAExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var slaId = slaId_example;  // String | Unique ID of the SLA
            var body = new SLA(); // SLA | New SLA info

            try
            {
                SLA result = apiInstance.updateSLA(slaId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSLA: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$slaId = slaId_example; // String | Unique ID of the SLA
$body = ; // SLA | New SLA info

try {
    $result = $api_instance->updateSLA($slaId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSLA: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $slaId = slaId_example; # String | Unique ID of the SLA
my $body = WWW::SwaggerClient::Object::SLA->new(); # SLA | New SLA info

eval { 
    my $result = $api_instance->updateSLA(slaId => $slaId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSLA: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
slaId = slaId_example # String | Unique ID of the SLA
body =  # SLA | New SLA info

try: 
    api_response = api_instance.update_sla(slaId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSLA: %s\n" % e)

Parameters

Path parameters
Name Description
slaId*
String
Unique ID of the SLA
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a SLA

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateSalesOrder

Update one sales order


/salesorders/{orderId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/salesorders/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the sales order
        SalesOrder body = ; // SalesOrder | New sales order info
        try {
            array[SalesOrder] result = apiInstance.updateSalesOrder(orderId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String orderId = orderId_example; // String | ID of the sales order
        SalesOrder body = ; // SalesOrder | New sales order info
        try {
            array[SalesOrder] result = apiInstance.updateSalesOrder(orderId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesOrder");
            e.printStackTrace();
        }
    }
}
String *orderId = orderId_example; // ID of the sales order
SalesOrder *body = ; // New sales order info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSalesOrderWith:orderId
    body:body
              completionHandler: ^(array[SalesOrder] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var orderId = orderId_example; // {String} ID of the sales order

var body = ; // {SalesOrder} New sales order info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSalesOrder(orderId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSalesOrderExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var orderId = orderId_example;  // String | ID of the sales order
            var body = new SalesOrder(); // SalesOrder | New sales order info

            try
            {
                array[SalesOrder] result = apiInstance.updateSalesOrder(orderId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSalesOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$orderId = orderId_example; // String | ID of the sales order
$body = ; // SalesOrder | New sales order info

try {
    $result = $api_instance->updateSalesOrder($orderId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSalesOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $orderId = orderId_example; # String | ID of the sales order
my $body = WWW::SwaggerClient::Object::SalesOrder->new(); # SalesOrder | New sales order info

eval { 
    my $result = $api_instance->updateSalesOrder(orderId => $orderId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSalesOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
orderId = orderId_example # String | ID of the sales order
body =  # SalesOrder | New sales order info

try: 
    api_response = api_instance.update_sales_order(orderId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSalesOrder: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
String
ID of the sales order
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a sales order by ID

Status: 400 - Invalid message body

Status: 404 - Sales order not found

Status: 500 - Server error


updateSalesOrderLine

Update one sales order line


/salesorderlines/{lineId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/salesorderlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales order line
        SalesOrderLine body = ; // SalesOrderLine | New sales order line info
        try {
            array[SalesOrderLine] result = apiInstance.updateSalesOrderLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesOrderLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales order line
        SalesOrderLine body = ; // SalesOrderLine | New sales order line info
        try {
            array[SalesOrderLine] result = apiInstance.updateSalesOrderLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesOrderLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the sales order line
SalesOrderLine *body = ; // New sales order line info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSalesOrderLineWith:lineId
    body:body
              completionHandler: ^(array[SalesOrderLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the sales order line

var body = ; // {SalesOrderLine} New sales order line info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSalesOrderLine(lineId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSalesOrderLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the sales order line
            var body = new SalesOrderLine(); // SalesOrderLine | New sales order line info

            try
            {
                array[SalesOrderLine] result = apiInstance.updateSalesOrderLine(lineId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSalesOrderLine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the sales order line
$body = ; // SalesOrderLine | New sales order line info

try {
    $result = $api_instance->updateSalesOrderLine($lineId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSalesOrderLine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the sales order line
my $body = WWW::SwaggerClient::Object::SalesOrderLine->new(); # SalesOrderLine | New sales order line info

eval { 
    my $result = $api_instance->updateSalesOrderLine(lineId => $lineId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSalesOrderLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the sales order line
body =  # SalesOrderLine | New sales order line info

try: 
    api_response = api_instance.update_sales_order_line(lineId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSalesOrderLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the sales order line
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a sales order by ID

Status: 400 - Invalid message body

Status: 404 - Sales order lie not found

Status: 500 - Server error


updateSalesShipment

Update one sales shipment


/salesshipments/{shipmentId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/salesshipments/{shipmentId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the sales shipment
        SalesShipment body = ; // SalesShipment | New sales shipment info
        try {
            array[SalesShipment] result = apiInstance.updateSalesShipment(shipmentId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesShipment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the sales shipment
        SalesShipment body = ; // SalesShipment | New sales shipment info
        try {
            array[SalesShipment] result = apiInstance.updateSalesShipment(shipmentId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesShipment");
            e.printStackTrace();
        }
    }
}
String *shipmentId = shipmentId_example; // ID of the sales shipment
SalesShipment *body = ; // New sales shipment info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSalesShipmentWith:shipmentId
    body:body
              completionHandler: ^(array[SalesShipment] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shipmentId = shipmentId_example; // {String} ID of the sales shipment

var body = ; // {SalesShipment} New sales shipment info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSalesShipment(shipmentId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSalesShipmentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shipmentId = shipmentId_example;  // String | ID of the sales shipment
            var body = new SalesShipment(); // SalesShipment | New sales shipment info

            try
            {
                array[SalesShipment] result = apiInstance.updateSalesShipment(shipmentId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSalesShipment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$shipmentId = shipmentId_example; // String | ID of the sales shipment
$body = ; // SalesShipment | New sales shipment info

try {
    $result = $api_instance->updateSalesShipment($shipmentId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSalesShipment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shipmentId = shipmentId_example; # String | ID of the sales shipment
my $body = WWW::SwaggerClient::Object::SalesShipment->new(); # SalesShipment | New sales shipment info

eval { 
    my $result = $api_instance->updateSalesShipment(shipmentId => $shipmentId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSalesShipment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shipmentId = shipmentId_example # String | ID of the sales shipment
body =  # SalesShipment | New sales shipment info

try: 
    api_response = api_instance.update_sales_shipment(shipmentId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSalesShipment: %s\n" % e)

Parameters

Path parameters
Name Description
shipmentId*
String
ID of the sales shipment
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a sales shipment by ID

Status: 400 - Invalid message body

Status: 404 - sales shipment not found

Status: 500 - Server error


updateSalesShipmentLine

Update one sales shipment line


/salesshipmentlines/{lineId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/salesshipmentlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales shipment line
        SalesShipmentLine body = ; // SalesShipmentLine | New sales shipment line info
        try {
            array[SalesShipmentLine] result = apiInstance.updateSalesShipmentLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesShipmentLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the sales shipment line
        SalesShipmentLine body = ; // SalesShipmentLine | New sales shipment line info
        try {
            array[SalesShipmentLine] result = apiInstance.updateSalesShipmentLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSalesShipmentLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the sales shipment line
SalesShipmentLine *body = ; // New sales shipment line info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSalesShipmentLineWith:lineId
    body:body
              completionHandler: ^(array[SalesShipmentLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the sales shipment line

var body = ; // {SalesShipmentLine} New sales shipment line info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSalesShipmentLine(lineId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSalesShipmentLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the sales shipment line
            var body = new SalesShipmentLine(); // SalesShipmentLine | New sales shipment line info

            try
            {
                array[SalesShipmentLine] result = apiInstance.updateSalesShipmentLine(lineId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSalesShipmentLine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the sales shipment line
$body = ; // SalesShipmentLine | New sales shipment line info

try {
    $result = $api_instance->updateSalesShipmentLine($lineId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSalesShipmentLine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the sales shipment line
my $body = WWW::SwaggerClient::Object::SalesShipmentLine->new(); # SalesShipmentLine | New sales shipment line info

eval { 
    my $result = $api_instance->updateSalesShipmentLine(lineId => $lineId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSalesShipmentLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the sales shipment line
body =  # SalesShipmentLine | New sales shipment line info

try: 
    api_response = api_instance.update_sales_shipment_line(lineId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSalesShipmentLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the sales shipment line
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a sales shipment by ID

Status: 400 - Invalid message body

Status: 404 - sales shipment lie not found

Status: 500 - Server error


updateShippingCost

Update one shipping cost


/shippingcosts/{shippingCostId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/shippingcosts/{shippingCostId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
        ShippingCost body = ; // ShippingCost | New shipping cost info
        try {
            ShippingCost result = apiInstance.updateShippingCost(shippingCostId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateShippingCost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
        ShippingCost body = ; // ShippingCost | New shipping cost info
        try {
            ShippingCost result = apiInstance.updateShippingCost(shippingCostId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateShippingCost");
            e.printStackTrace();
        }
    }
}
String *shippingCostId = shippingCostId_example; // Unique ID of the shipping cost
ShippingCost *body = ; // New shipping cost info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateShippingCostWith:shippingCostId
    body:body
              completionHandler: ^(ShippingCost output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shippingCostId = shippingCostId_example; // {String} Unique ID of the shipping cost

var body = ; // {ShippingCost} New shipping cost info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateShippingCost(shippingCostId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateShippingCostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shippingCostId = shippingCostId_example;  // String | Unique ID of the shipping cost
            var body = new ShippingCost(); // ShippingCost | New shipping cost info

            try
            {
                ShippingCost result = apiInstance.updateShippingCost(shippingCostId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateShippingCost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$shippingCostId = shippingCostId_example; // String | Unique ID of the shipping cost
$body = ; // ShippingCost | New shipping cost info

try {
    $result = $api_instance->updateShippingCost($shippingCostId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateShippingCost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shippingCostId = shippingCostId_example; # String | Unique ID of the shipping cost
my $body = WWW::SwaggerClient::Object::ShippingCost->new(); # ShippingCost | New shipping cost info

eval { 
    my $result = $api_instance->updateShippingCost(shippingCostId => $shippingCostId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateShippingCost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shippingCostId = shippingCostId_example # String | Unique ID of the shipping cost
body =  # ShippingCost | New shipping cost info

try: 
    api_response = api_instance.update_shipping_cost(shippingCostId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateShippingCost: %s\n" % e)

Parameters

Path parameters
Name Description
shippingCostId*
String
Unique ID of the shipping cost
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details of the new shipping cost

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateSupplier

Update one supplier


/suppliers/{supplierId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/suppliers/{supplierId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Unique ID of the supplier
        Supplier body = ; // Supplier | New supplier info
        try {
            Supplier result = apiInstance.updateSupplier(supplierId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplier");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Unique ID of the supplier
        Supplier body = ; // Supplier | New supplier info
        try {
            Supplier result = apiInstance.updateSupplier(supplierId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplier");
            e.printStackTrace();
        }
    }
}
String *supplierId = supplierId_example; // Unique ID of the supplier
Supplier *body = ; // New supplier info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSupplierWith:supplierId
    body:body
              completionHandler: ^(Supplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var supplierId = supplierId_example; // {String} Unique ID of the supplier

var body = ; // {Supplier} New supplier info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSupplier(supplierId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSupplierExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String | Unique ID of the supplier
            var body = new Supplier(); // Supplier | New supplier info

            try
            {
                Supplier result = apiInstance.updateSupplier(supplierId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSupplier: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | Unique ID of the supplier
$body = ; // Supplier | New supplier info

try {
    $result = $api_instance->updateSupplier($supplierId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSupplier: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | Unique ID of the supplier
my $body = WWW::SwaggerClient::Object::Supplier->new(); # Supplier | New supplier info

eval { 
    my $result = $api_instance->updateSupplier(supplierId => $supplierId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSupplier: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
supplierId = supplierId_example # String | Unique ID of the supplier
body =  # Supplier | New supplier info

try: 
    api_response = api_instance.update_supplier(supplierId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSupplier: %s\n" % e)

Parameters

Path parameters
Name Description
supplierId*
String
Unique ID of the supplier
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a supplier

Status: 400 - Invalid message body

Status: 404 - Supplier not found

Status: 500 - Server error


updateSupplyPlan

Update one supply plan


/supplyplans/{planId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/supplyplans/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the supply plan
        SupplyPlan body = ; // SupplyPlan | New supply plan info
        try {
            SupplyPlan result = apiInstance.updateSupplyPlan(planId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplyPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Unique ID of the supply plan
        SupplyPlan body = ; // SupplyPlan | New supply plan info
        try {
            SupplyPlan result = apiInstance.updateSupplyPlan(planId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplyPlan");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Unique ID of the supply plan
SupplyPlan *body = ; // New supply plan info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSupplyPlanWith:planId
    body:body
              completionHandler: ^(SupplyPlan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var planId = planId_example; // {String} Unique ID of the supply plan

var body = ; // {SupplyPlan} New supply plan info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSupplyPlan(planId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSupplyPlanExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Unique ID of the supply plan
            var body = new SupplyPlan(); // SupplyPlan | New supply plan info

            try
            {
                SupplyPlan result = apiInstance.updateSupplyPlan(planId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSupplyPlan: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Unique ID of the supply plan
$body = ; // SupplyPlan | New supply plan info

try {
    $result = $api_instance->updateSupplyPlan($planId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSupplyPlan: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Unique ID of the supply plan
my $body = WWW::SwaggerClient::Object::SupplyPlan->new(); # SupplyPlan | New supply plan info

eval { 
    my $result = $api_instance->updateSupplyPlan(planId => $planId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSupplyPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
planId = planId_example # String | Unique ID of the supply plan
body =  # SupplyPlan | New supply plan info

try: 
    api_response = api_instance.update_supply_plan(planId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSupplyPlan: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
String
Unique ID of the supply plan
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a supply plan

Status: 400 - Invalid message body

Status: 404 - Record not found

Status: 500 - Server error


updateSupplyShipment

Update one supply shipment


/supplyshipments/{shipmentId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/supplyshipments/{shipmentId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the supply shipment
        SupplyShipment body = ; // SupplyShipment | New supply shipment info
        try {
            array[SupplyShipment] result = apiInstance.updateSupplyShipment(shipmentId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplyShipment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String shipmentId = shipmentId_example; // String | ID of the supply shipment
        SupplyShipment body = ; // SupplyShipment | New supply shipment info
        try {
            array[SupplyShipment] result = apiInstance.updateSupplyShipment(shipmentId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplyShipment");
            e.printStackTrace();
        }
    }
}
String *shipmentId = shipmentId_example; // ID of the supply shipment
SupplyShipment *body = ; // New supply shipment info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSupplyShipmentWith:shipmentId
    body:body
              completionHandler: ^(array[SupplyShipment] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var shipmentId = shipmentId_example; // {String} ID of the supply shipment

var body = ; // {SupplyShipment} New supply shipment info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSupplyShipment(shipmentId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSupplyShipmentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var shipmentId = shipmentId_example;  // String | ID of the supply shipment
            var body = new SupplyShipment(); // SupplyShipment | New supply shipment info

            try
            {
                array[SupplyShipment] result = apiInstance.updateSupplyShipment(shipmentId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSupplyShipment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$shipmentId = shipmentId_example; // String | ID of the supply shipment
$body = ; // SupplyShipment | New supply shipment info

try {
    $result = $api_instance->updateSupplyShipment($shipmentId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSupplyShipment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $shipmentId = shipmentId_example; # String | ID of the supply shipment
my $body = WWW::SwaggerClient::Object::SupplyShipment->new(); # SupplyShipment | New supply shipment info

eval { 
    my $result = $api_instance->updateSupplyShipment(shipmentId => $shipmentId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSupplyShipment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
shipmentId = shipmentId_example # String | ID of the supply shipment
body =  # SupplyShipment | New supply shipment info

try: 
    api_response = api_instance.update_supply_shipment(shipmentId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSupplyShipment: %s\n" % e)

Parameters

Path parameters
Name Description
shipmentId*
String
ID of the supply shipment
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a supply shipment by ID

Status: 400 - Invalid message body

Status: 404 - supply shipment not found

Status: 500 - Server error


updateSupplyShipmentLine

Update one supply shipment line


/supplyshipmentlines/{lineId}

Usage and SDK Samples

curl -X PUT "http://localhost/api/scdata/v1/supplyshipmentlines/{lineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the supply shipment line
        SupplyShipmentLine body = ; // SupplyShipmentLine | New supply shipment line info
        try {
            array[SupplyShipmentLine] result = apiInstance.updateSupplyShipmentLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplyShipmentLine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String lineId = lineId_example; // String | ID of the supply shipment line
        SupplyShipmentLine body = ; // SupplyShipmentLine | New supply shipment line info
        try {
            array[SupplyShipmentLine] result = apiInstance.updateSupplyShipmentLine(lineId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSupplyShipmentLine");
            e.printStackTrace();
        }
    }
}
String *lineId = lineId_example; // ID of the supply shipment line
SupplyShipmentLine *body = ; // New supply shipment line info

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance updateSupplyShipmentLineWith:lineId
    body:body
              completionHandler: ^(array[SupplyShipmentLine] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IrisSupplyChainDataModelApi = require('iris_supply_chain_data_model_api');

var api = new IrisSupplyChainDataModelApi.DefaultApi()

var lineId = lineId_example; // {String} ID of the supply shipment line

var body = ; // {SupplyShipmentLine} New supply shipment line info


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSupplyShipmentLine(lineId, body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSupplyShipmentLineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var lineId = lineId_example;  // String | ID of the supply shipment line
            var body = new SupplyShipmentLine(); // SupplyShipmentLine | New supply shipment line info

            try
            {
                array[SupplyShipmentLine] result = apiInstance.updateSupplyShipmentLine(lineId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.updateSupplyShipmentLine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$lineId = lineId_example; // String | ID of the supply shipment line
$body = ; // SupplyShipmentLine | New supply shipment line info

try {
    $result = $api_instance->updateSupplyShipmentLine($lineId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateSupplyShipmentLine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $lineId = lineId_example; # String | ID of the supply shipment line
my $body = WWW::SwaggerClient::Object::SupplyShipmentLine->new(); # SupplyShipmentLine | New supply shipment line info

eval { 
    my $result = $api_instance->updateSupplyShipmentLine(lineId => $lineId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSupplyShipmentLine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
lineId = lineId_example # String | ID of the supply shipment line
body =  # SupplyShipmentLine | New supply shipment line info

try: 
    api_response = api_instance.update_supply_shipment_line(lineId, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSupplyShipmentLine: %s\n" % e)

Parameters

Path parameters
Name Description
lineId*
String
ID of the supply shipment line
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Details about a supply shipment by ID

Status: 400 - Invalid message body

Status: 404 - supply shipment lie not found

Status: 500 - Server error


© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.    Privacy & Terms Guarantee Accessibility