AS Server - API - Inventory - v2

Default

inventoryGetDetailedSOHV2

Inventory_GetDetailedSOHV2


/v2/Inventory/{id}/stockonhand

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/v2/Inventory/{id}/stockonhand"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

        try {
            ActionResults_InventoryStockOnHandT_ result = apiInstance.inventoryGetDetailedSOHV2(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryGetDetailedSOHV2");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.inventoryGetDetailedSOHV2(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->inventoryGetDetailedSOHV2: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)

// Inventory_GetDetailedSOHV2
[apiInstance inventoryGetDetailedSOHV2With:id
              completionHandler: ^(ActionResults_InventoryStockOnHandT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiInventoryV2 = require('as_server_api_inventory_v2');

// Create an instance of the API class
var api = new AsServerApiInventoryV2.DefaultApi()
var id = 56; // {Integer} Format - int32.

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | Format - int32.

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer | Format - int32. (default to null)

try:
    # Inventory_GetDetailedSOHV2
    api_response = api_instance.inventory_get_detailed_sohv2(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventoryGetDetailedSOHV2: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.inventoryGetDetailedSOHV2(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required

Responses


inventoryGetInventoryIDFilterBy

Inventory_GetInventoryIDFilterBy


/v2/Inventory/id/filterby

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/v2/Inventory/id/filterby?req.stockKeepingUnit=reqPeriodstockKeepingUnit_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example; // String | 

        try {
            ActionResults_Int32_ result = apiInstance.inventoryGetInventoryIDFilterBy(reqPeriodstockKeepingUnit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryGetInventoryIDFilterBy");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String reqPeriodstockKeepingUnit = new String(); // String | 

try {
    final result = await api_instance.inventoryGetInventoryIDFilterBy(reqPeriodstockKeepingUnit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->inventoryGetInventoryIDFilterBy: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example; // String | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example; //  (optional) (default to null)

// Inventory_GetInventoryIDFilterBy
[apiInstance inventoryGetInventoryIDFilterByWith:reqPeriodstockKeepingUnit
              completionHandler: ^(ActionResults_Int32_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiInventoryV2 = require('as_server_api_inventory_v2');

// Create an instance of the API class
var api = new AsServerApiInventoryV2.DefaultApi()
var opts = {
  'reqPeriodstockKeepingUnit': reqPeriodstockKeepingUnit_example // {String} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example;  // String |  (optional)  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example; // String | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example; # String | 

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example # String |  (optional) (default to null)

try:
    # Inventory_GetInventoryIDFilterBy
    api_response = api_instance.inventory_get_inventory_id_filter_by(reqPeriodstockKeepingUnit=reqPeriodstockKeepingUnit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventoryGetInventoryIDFilterBy: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let reqPeriodstockKeepingUnit = reqPeriodstockKeepingUnit_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.inventoryGetInventoryIDFilterBy(reqPeriodstockKeepingUnit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
req.stockKeepingUnit
String

Responses


inventoryGetT

Inventory_GetT


/v2/Inventory/Get

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/v2/Inventory/Get" \
 -d '{
  "ShowAlternateLocationsFromWarehouseID" : 1,
  "WebsiteID" : 2,
  "TenantID" : 5,
  "UserID" : 7,
  "IsGetExtraInfo" : true,
  "GUID" : "00000000-0000-0000-0000-000000000000",
  "SupplierGUID" : "00000000-0000-0000-0000-000000000000",
  "ID" : 5,
  "ShowSOHFromWarehouseID" : 6,
  "LinkedSupplierID" : 0
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<InventoryEditRequest>
  <SupplierGUID>00000000-0000-0000-0000-000000000000</SupplierGUID>
  <LinkedSupplierID>123</LinkedSupplierID>
  <ShowSOHFromWarehouseID>123</ShowSOHFromWarehouseID>
  <ShowAlternateLocationsFromWarehouseID>123</ShowAlternateLocationsFromWarehouseID>
  <ID>123</ID>
  <GUID>00000000-0000-0000-0000-000000000000</GUID>
  <IsGetExtraInfo>true</IsGetExtraInfo>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</InventoryEditRequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        InventoryEditRequest inventoryEditRequest = {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryEditRequest | 

        try {
            Object result = apiInstance.inventoryGetT(inventoryEditRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryGetT");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final InventoryEditRequest inventoryEditRequest = new InventoryEditRequest(); // InventoryEditRequest | 

try {
    final result = await api_instance.inventoryGetT(inventoryEditRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->inventoryGetT: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        InventoryEditRequest inventoryEditRequest = {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryEditRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
InventoryEditRequest *inventoryEditRequest = {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Inventory_GetT
[apiInstance inventoryGetTWith:inventoryEditRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiInventoryV2 = require('as_server_api_inventory_v2');

// Create an instance of the API class
var api = new AsServerApiInventoryV2.DefaultApi()
var opts = {
  'inventoryEditRequest': {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {InventoryEditRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var inventoryEditRequest = new InventoryEditRequest(); // InventoryEditRequest |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$inventoryEditRequest = {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryEditRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $inventoryEditRequest = WWW::OPenAPIClient::Object::InventoryEditRequest->new(); # InventoryEditRequest | 

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
inventoryEditRequest = {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0} # InventoryEditRequest |  (optional)

try:
    # Inventory_GetT
    api_response = api_instance.inventory_get_t(inventoryEditRequest=inventoryEditRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventoryGetT: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let inventoryEditRequest = {"SupplierGUID":"00000000-0000-0000-0000-000000000000","LinkedSupplierID":0,"ShowSOHFromWarehouseID":0,"ShowAlternateLocationsFromWarehouseID":0,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryEditRequest

    let mut context = DefaultApi::Context::default();
    let result = client.inventoryGetT(inventoryEditRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
inventoryEditRequest

Responses


inventoryIsInventoryCodeUniqueT

Inventory_IsInventoryCodeUniqueT


/v2/Inventory/isinventorycodeunique

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/v2/Inventory/isinventorycodeunique?req.inventoryCode=reqPeriodinventoryCode_example&req.inventoryID=56&req.baseInventoryID=56&req.variantMasterInventoryID=56&req.tenantID=56&req.websiteID=56&req.userID=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String reqPeriodinventoryCode = reqPeriodinventoryCode_example; // String | 
        Integer reqPeriodinventoryID = 56; // Integer | Format - int32.
        Integer reqPeriodbaseInventoryID = 56; // Integer | Format - int32.
        Integer reqPeriodvariantMasterInventoryID = 56; // Integer | Format - int32.
        Integer reqPeriodtenantID = 56; // Integer | Format - int32.
        Integer reqPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer reqPerioduserID = 56; // Integer | Format - int32.

        try {
            ActionResults_Int32_ result = apiInstance.inventoryIsInventoryCodeUniqueT(reqPeriodinventoryCode, reqPeriodinventoryID, reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryIsInventoryCodeUniqueT");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String reqPeriodinventoryCode = new String(); // String | 
final Integer reqPeriodinventoryID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodbaseInventoryID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodvariantMasterInventoryID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodtenantID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodwebsiteID = new Integer(); // Integer | Format - int32.
final Integer reqPerioduserID = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.inventoryIsInventoryCodeUniqueT(reqPeriodinventoryCode, reqPeriodinventoryID, reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->inventoryIsInventoryCodeUniqueT: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String reqPeriodinventoryCode = reqPeriodinventoryCode_example; // String | 
        Integer reqPeriodinventoryID = 56; // Integer | Format - int32.
        Integer reqPeriodbaseInventoryID = 56; // Integer | Format - int32.
        Integer reqPeriodvariantMasterInventoryID = 56; // Integer | Format - int32.
        Integer reqPeriodtenantID = 56; // Integer | Format - int32.
        Integer reqPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer reqPerioduserID = 56; // Integer | Format - int32.

        try {
            ActionResults_Int32_ result = apiInstance.inventoryIsInventoryCodeUniqueT(reqPeriodinventoryCode, reqPeriodinventoryID, reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryIsInventoryCodeUniqueT");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *reqPeriodinventoryCode = reqPeriodinventoryCode_example; //  (optional) (default to null)
Integer *reqPeriodinventoryID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodbaseInventoryID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodvariantMasterInventoryID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodtenantID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodwebsiteID = 56; // Format - int32. (optional) (default to null)
Integer *reqPerioduserID = 56; // Format - int32. (optional) (default to null)

// Inventory_IsInventoryCodeUniqueT
[apiInstance inventoryIsInventoryCodeUniqueTWith:reqPeriodinventoryCode
    reqPeriodinventoryID:reqPeriodinventoryID
    reqPeriodbaseInventoryID:reqPeriodbaseInventoryID
    reqPeriodvariantMasterInventoryID:reqPeriodvariantMasterInventoryID
    reqPeriodtenantID:reqPeriodtenantID
    reqPeriodwebsiteID:reqPeriodwebsiteID
    reqPerioduserID:reqPerioduserID
              completionHandler: ^(ActionResults_Int32_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiInventoryV2 = require('as_server_api_inventory_v2');

// Create an instance of the API class
var api = new AsServerApiInventoryV2.DefaultApi()
var opts = {
  'reqPeriodinventoryCode': reqPeriodinventoryCode_example, // {String} 
  'reqPeriodinventoryID': 56, // {Integer} Format - int32.
  'reqPeriodbaseInventoryID': 56, // {Integer} Format - int32.
  'reqPeriodvariantMasterInventoryID': 56, // {Integer} Format - int32.
  'reqPeriodtenantID': 56, // {Integer} Format - int32.
  'reqPeriodwebsiteID': 56, // {Integer} Format - int32.
  'reqPerioduserID': 56 // {Integer} Format - int32.
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var reqPeriodinventoryCode = reqPeriodinventoryCode_example;  // String |  (optional)  (default to null)
            var reqPeriodinventoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var reqPeriodbaseInventoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var reqPeriodvariantMasterInventoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var reqPeriodtenantID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var reqPeriodwebsiteID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var reqPerioduserID = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // Inventory_IsInventoryCodeUniqueT
                ActionResults_Int32_ result = apiInstance.inventoryIsInventoryCodeUniqueT(reqPeriodinventoryCode, reqPeriodinventoryID, reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.inventoryIsInventoryCodeUniqueT: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reqPeriodinventoryCode = reqPeriodinventoryCode_example; // String | 
$reqPeriodinventoryID = 56; // Integer | Format - int32.
$reqPeriodbaseInventoryID = 56; // Integer | Format - int32.
$reqPeriodvariantMasterInventoryID = 56; // Integer | Format - int32.
$reqPeriodtenantID = 56; // Integer | Format - int32.
$reqPeriodwebsiteID = 56; // Integer | Format - int32.
$reqPerioduserID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->inventoryIsInventoryCodeUniqueT($reqPeriodinventoryCode, $reqPeriodinventoryID, $reqPeriodbaseInventoryID, $reqPeriodvariantMasterInventoryID, $reqPeriodtenantID, $reqPeriodwebsiteID, $reqPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->inventoryIsInventoryCodeUniqueT: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $reqPeriodinventoryCode = reqPeriodinventoryCode_example; # String | 
my $reqPeriodinventoryID = 56; # Integer | Format - int32.
my $reqPeriodbaseInventoryID = 56; # Integer | Format - int32.
my $reqPeriodvariantMasterInventoryID = 56; # Integer | Format - int32.
my $reqPeriodtenantID = 56; # Integer | Format - int32.
my $reqPeriodwebsiteID = 56; # Integer | Format - int32.
my $reqPerioduserID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->inventoryIsInventoryCodeUniqueT(reqPeriodinventoryCode => $reqPeriodinventoryCode, reqPeriodinventoryID => $reqPeriodinventoryID, reqPeriodbaseInventoryID => $reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID => $reqPeriodvariantMasterInventoryID, reqPeriodtenantID => $reqPeriodtenantID, reqPeriodwebsiteID => $reqPeriodwebsiteID, reqPerioduserID => $reqPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->inventoryIsInventoryCodeUniqueT: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
reqPeriodinventoryCode = reqPeriodinventoryCode_example # String |  (optional) (default to null)
reqPeriodinventoryID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodbaseInventoryID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodvariantMasterInventoryID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodtenantID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodwebsiteID = 56 # Integer | Format - int32. (optional) (default to null)
reqPerioduserID = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # Inventory_IsInventoryCodeUniqueT
    api_response = api_instance.inventory_is_inventory_code_unique_t(reqPeriodinventoryCode=reqPeriodinventoryCode, reqPeriodinventoryID=reqPeriodinventoryID, reqPeriodbaseInventoryID=reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID=reqPeriodvariantMasterInventoryID, reqPeriodtenantID=reqPeriodtenantID, reqPeriodwebsiteID=reqPeriodwebsiteID, reqPerioduserID=reqPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventoryIsInventoryCodeUniqueT: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let reqPeriodinventoryCode = reqPeriodinventoryCode_example; // String
    let reqPeriodinventoryID = 56; // Integer
    let reqPeriodbaseInventoryID = 56; // Integer
    let reqPeriodvariantMasterInventoryID = 56; // Integer
    let reqPeriodtenantID = 56; // Integer
    let reqPeriodwebsiteID = 56; // Integer
    let reqPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.inventoryIsInventoryCodeUniqueT(reqPeriodinventoryCode, reqPeriodinventoryID, reqPeriodbaseInventoryID, reqPeriodvariantMasterInventoryID, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
req.inventoryCode
String
req.inventoryID
Integer (int32)
Format - int32.
req.baseInventoryID
Integer (int32)
Format - int32.
req.variantMasterInventoryID
Integer (int32)
Format - int32.
req.tenantID
Integer (int32)
Format - int32.
req.websiteID
Integer (int32)
Format - int32.
req.userID
Integer (int32)
Format - int32.

Responses


inventorySaveT2

Inventory_SaveT2


/v2/Inventory/Save

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/v2/Inventory/Save" \
 -d '{
  "RevenueAccount" : "RevenueAccount",
  "VariantMasterInventoryID" : 4,
  "IsPostingInventoryItem" : true,
  "MetaKeywords" : "MetaKeywords",
  "ChildIsPurchased" : true,
  "ShortDescription" : "ShortDescription",
  "IsApproved" : true,
  "HTMLDescription" : "HTMLDescription",
  "MaxStandardSellPriceEx" : 2.3021358869347655,
  "RRP" : 3.353193347011243,
  "DefaultSupplierRefNumber" : "DefaultSupplierRefNumber",
  "SyncLogs" : [ {
    "Status" : "Status",
    "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
    "AdaptorID" : 1,
    "LastImportDateTime_offset" : 4,
    "LastExportDateTime_offset" : 7,
    "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "BSID" : "BSID",
    "Details" : "Details",
    "SyncCode" : "SyncCode",
    "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
    "LastModifiedDateTime_offset" : 9,
    "ID" : 4,
    "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
  }, {
    "Status" : "Status",
    "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
    "AdaptorID" : 1,
    "LastImportDateTime_offset" : 4,
    "LastExportDateTime_offset" : 7,
    "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "BSID" : "BSID",
    "Details" : "Details",
    "SyncCode" : "SyncCode",
    "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
    "LastModifiedDateTime_offset" : 9,
    "ID" : 4,
    "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
  } ],
  "PageHeading" : "PageHeading",
  "ID" : 6,
  "ChildInventoryClassName" : "ChildInventoryClassName",
  "ChildIsPhysical" : true,
  "Tags" : [ {
    "Description" : "Description",
    "IsActive" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Slug" : "Slug",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "RowNumber" : 9,
    "BSID" : "BSID",
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "Version" : 5.877124706116695,
    "CreatedWith" : "CreatedWith",
    "ID" : 7
  }, {
    "Description" : "Description",
    "IsActive" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Slug" : "Slug",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "RowNumber" : 9,
    "BSID" : "BSID",
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "Version" : 5.877124706116695,
    "CreatedWith" : "CreatedWith",
    "ID" : 7
  } ],
  "MediaFiles" : [ {
    "IsDefault" : true,
    "SizeFriendly" : "SizeFriendly",
    "Description" : "Description",
    "ThumbnailURL" : "ThumbnailURL",
    "Size" : 0,
    "IsActive" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "IsImage" : true,
    "Sequence" : 5,
    "Slug" : "Slug",
    "MimeType" : "MimeType",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "Type" : "Type",
    "RowNumber" : 8,
    "BSID" : "BSID",
    "Version" : 7.606863723092579,
    "IsDownload" : true,
    "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "MediaType" : 5,
    "CreatedWith" : "CreatedWith",
    "ID" : 3
  }, {
    "IsDefault" : true,
    "SizeFriendly" : "SizeFriendly",
    "Description" : "Description",
    "ThumbnailURL" : "ThumbnailURL",
    "Size" : 0,
    "IsActive" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "IsImage" : true,
    "Sequence" : 5,
    "Slug" : "Slug",
    "MimeType" : "MimeType",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "Type" : "Type",
    "RowNumber" : 8,
    "BSID" : "BSID",
    "Version" : 7.606863723092579,
    "IsDownload" : true,
    "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "MediaType" : 5,
    "CreatedWith" : "CreatedWith",
    "ID" : 3
  } ],
  "ManufacturerModel" : "ManufacturerModel",
  "InventoryClass" : {
    "Description" : "Description",
    "IsApprovedForWeb" : true,
    "IsApprovedForPOS" : true,
    "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
    "IsActive" : true,
    "CountOfProducts" : 4,
    "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
    "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "SalesPostingInventoryID" : 6,
    "SalesPostingInventoryName" : "SalesPostingInventoryName",
    "Version" : 5.507386964179881,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "CreatedWith" : "CreatedWith",
    "ServicePostingInventoryID" : 8,
    "InventoryClassGroup" : {
      "IsDefault" : true,
      "Description" : "Description",
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "SupplierID" : 2,
      "InventoryClasses" : [ null, null ],
      "RowNumber" : 4,
      "BSID" : "BSID",
      "Version" : 3.901545264248647,
      "CreatedWith" : "CreatedWith",
      "IsSystem" : true,
      "ID" : 0,
      "InventoryClassGroupType" : {
        "IsDefault" : true,
        "Description" : "Description",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Name" : "Name",
        "GUIDstring" : "GUIDstring",
        "IsGeneric" : true,
        "RowNumber" : 1,
        "BSID" : "BSID",
        "Version" : 8.28965939814297,
        "CreatedWith" : "CreatedWith",
        "IsSystem" : true,
        "ID" : 6,
        "InventoryClassGroups" : [ null, null ]
      }
    },
    "ID" : 4,
    "PostingBehaviour" : "PostingBehaviour",
    "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
    "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
    "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "RowNumber" : 7,
    "BSID" : "BSID",
    "IsAutoCreateGenericAccountInventory" : true,
    "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
    "IsSystem" : true,
    "IsApprovedForService" : true,
    "ServicePostingInventoryName" : "ServicePostingInventoryName"
  },
  "ManufacturerName" : "ManufacturerName",
  "Categories" : [ {
    "ParentID" : 9,
    "Description" : "Description",
    "IsActive" : true,
    "MetaKeywords" : "MetaKeywords",
    "CategoryType" : "CategoryType",
    "ParentName" : "ParentName",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "HTMLDescription" : "HTMLDescription",
    "IsFavourite" : true,
    "Version" : 3.502657762086401,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "PageHeading" : "PageHeading",
    "CreatedWith" : "CreatedWith",
    "MetaDescription" : "MetaDescription",
    "ID" : 8,
    "ChildCategories" : [ null, null ],
    "Route" : "Route",
    "MediaFiles" : [ {
      "IsDefault" : true,
      "SizeFriendly" : "SizeFriendly",
      "Description" : "Description",
      "ThumbnailURL" : "ThumbnailURL",
      "Size" : 0,
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "IsImage" : true,
      "Sequence" : 5,
      "Slug" : "Slug",
      "MimeType" : "MimeType",
      "URL" : "URL",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "Type" : "Type",
      "RowNumber" : 8,
      "BSID" : "BSID",
      "Version" : 7.606863723092579,
      "IsDownload" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "MediaType" : 5,
      "CreatedWith" : "CreatedWith",
      "ID" : 3
    }, {
      "IsDefault" : true,
      "SizeFriendly" : "SizeFriendly",
      "Description" : "Description",
      "ThumbnailURL" : "ThumbnailURL",
      "Size" : 0,
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "IsImage" : true,
      "Sequence" : 5,
      "Slug" : "Slug",
      "MimeType" : "MimeType",
      "URL" : "URL",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "Type" : "Type",
      "RowNumber" : 8,
      "BSID" : "BSID",
      "Version" : 7.606863723092579,
      "IsDownload" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "MediaType" : 5,
      "CreatedWith" : "CreatedWith",
      "ID" : 3
    } ],
    "HierarchyLevel" : 8,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "PageTitle" : "PageTitle",
    "Sequence" : 9,
    "Slug" : "Slug",
    "RowNumber" : 1,
    "CanonicalUrl" : "CanonicalUrl",
    "BSID" : "BSID",
    "InventoryCount" : 3
  }, {
    "ParentID" : 9,
    "Description" : "Description",
    "IsActive" : true,
    "MetaKeywords" : "MetaKeywords",
    "CategoryType" : "CategoryType",
    "ParentName" : "ParentName",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "HTMLDescription" : "HTMLDescription",
    "IsFavourite" : true,
    "Version" : 3.502657762086401,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "PageHeading" : "PageHeading",
    "CreatedWith" : "CreatedWith",
    "MetaDescription" : "MetaDescription",
    "ID" : 8,
    "ChildCategories" : [ null, null ],
    "Route" : "Route",
    "MediaFiles" : [ {
      "IsDefault" : true,
      "SizeFriendly" : "SizeFriendly",
      "Description" : "Description",
      "ThumbnailURL" : "ThumbnailURL",
      "Size" : 0,
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "IsImage" : true,
      "Sequence" : 5,
      "Slug" : "Slug",
      "MimeType" : "MimeType",
      "URL" : "URL",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "Type" : "Type",
      "RowNumber" : 8,
      "BSID" : "BSID",
      "Version" : 7.606863723092579,
      "IsDownload" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "MediaType" : 5,
      "CreatedWith" : "CreatedWith",
      "ID" : 3
    }, {
      "IsDefault" : true,
      "SizeFriendly" : "SizeFriendly",
      "Description" : "Description",
      "ThumbnailURL" : "ThumbnailURL",
      "Size" : 0,
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "IsImage" : true,
      "Sequence" : 5,
      "Slug" : "Slug",
      "MimeType" : "MimeType",
      "URL" : "URL",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "Type" : "Type",
      "RowNumber" : 8,
      "BSID" : "BSID",
      "Version" : 7.606863723092579,
      "IsDownload" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "MediaType" : 5,
      "CreatedWith" : "CreatedWith",
      "ID" : 3
    } ],
    "HierarchyLevel" : 8,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "PageTitle" : "PageTitle",
    "Sequence" : 9,
    "Slug" : "Slug",
    "RowNumber" : 1,
    "CanonicalUrl" : "CanonicalUrl",
    "BSID" : "BSID",
    "InventoryCount" : 3
  } ],
  "DefaultThumbnailURL" : "DefaultThumbnailURL",
  "IsShippable" : true,
  "IsOrderTaxExempt" : true,
  "BaseUoM" : "BaseUoM",
  "IsPublished" : true,
  "ParentSKU" : "ParentSKU",
  "IsOrderable" : true,
  "InventoryClassID" : 1,
  "IsUsingAverageCostPrice" : true,
  "IsDiscontinued" : true,
  "Depth_m" : 6.519180951018382,
  "Length_m" : 7.143538047012306,
  "IsInCatalogue" : true,
  "EAN" : "EAN",
  "BSID" : "BSID",
  "IsSold" : true,
  "Volume" : 0.10263654006109402,
  "Barcode" : "Barcode",
  "Width_m" : 0.8851374739011653,
  "Note" : "Note",
  "InventoryClassName" : "InventoryClassName",
  "COGSAccount" : "COGSAccount",
  "IsSystem" : true,
  "DefaultImageURL" : "DefaultImageURL",
  "IsVariantPriceOverride" : true,
  "StandardSellPriceEx" : 6.778324963048013,
  "WarrantyDetails" : "WarrantyDetails",
  "Description" : "Description",
  "ClassPostingBehaviour" : "ClassPostingBehaviour",
  "MediaCount" : 6,
  "URL" : "URL",
  "DefaultPickingLocation" : {
    "Description" : "Description",
    "Barcode" : "Barcode",
    "IsActive" : true,
    "IsSystem" : true,
    "WarehouseID" : 5,
    "WarehouseLocationID" : 4,
    "AlreadyExists" : true,
    "SerialisedAssetCount" : 6,
    "WarehouseLocationTypeID" : 9,
    "SOH" : 9.369310271410669,
    "Name" : "Name"
  },
  "ChildIsSOHTracked" : true,
  "IsOuterItem" : true,
  "Weight_kg" : 7.058770351582356,
  "MetaDescription" : "MetaDescription",
  "DefaultSupplierName" : "DefaultSupplierName",
  "SupplierInventoryGUIDstring" : "SupplierInventoryGUIDstring",
  "ChildAssetAccount" : "ChildAssetAccount",
  "PageTitle" : "PageTitle",
  "VariantMasterCode" : "VariantMasterCode",
  "RFID" : "RFID",
  "LinkedVariantsCount" : 5,
  "IsVariantMaster" : true,
  "VariantsCount" : 1,
  "Type" : "Type",
  "IsInnerItem" : true,
  "IsUsedInGenericClass" : true,
  "ExpenseAccount" : "ExpenseAccount",
  "ChildIsSold" : true,
  "IsPurchased" : true,
  "Variations" : [ {
    "Options" : [ {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    }, {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    } ],
    "BSID" : "BSID",
    "MasterInventoryID" : 2,
    "IsActive" : true,
    "SequenceNumber" : 8,
    "VariationID" : 3,
    "CreatedWith" : "CreatedWith",
    "Name" : "Name",
    "AbbreviatedName" : "AbbreviatedName"
  }, {
    "Options" : [ {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    }, {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    } ],
    "BSID" : "BSID",
    "MasterInventoryID" : 2,
    "IsActive" : true,
    "SequenceNumber" : 8,
    "VariationID" : 3,
    "CreatedWith" : "CreatedWith",
    "Name" : "Name",
    "AbbreviatedName" : "AbbreviatedName"
  } ],
  "UnlinkedVariantsCount" : 5,
  "GUIDstring" : "GUIDstring",
  "MaxSalesQty" : 8.969578798196912,
  "Prices" : [ {
    "PriceBreaks" : [ {
      "StandardSellPriceEx" : 3.0576100241049344,
      "MaxQty" : 3.2588565619047607,
      "Description" : "Description",
      "MinQty" : 5.533258397034986,
      "PriceInc" : 4.078845849666752,
      "IsOrderTaxExempt" : true,
      "PriceEx" : 6.628464275087742,
      "CurrencyCode" : "CurrencyCode",
      "PriceTax" : 0.2025324113236393,
      "Type" : "Type",
      "TaxRate" : 3.0205796992916243,
      "ID" : 7,
      "Rule" : "Rule"
    }, {
      "StandardSellPriceEx" : 3.0576100241049344,
      "MaxQty" : 3.2588565619047607,
      "Description" : "Description",
      "MinQty" : 5.533258397034986,
      "PriceInc" : 4.078845849666752,
      "IsOrderTaxExempt" : true,
      "PriceEx" : 6.628464275087742,
      "CurrencyCode" : "CurrencyCode",
      "PriceTax" : 0.2025324113236393,
      "Type" : "Type",
      "TaxRate" : 3.0205796992916243,
      "ID" : 7,
      "Rule" : "Rule"
    } ],
    "DebtorBSID" : "DebtorBSID"
  }, {
    "PriceBreaks" : [ {
      "StandardSellPriceEx" : 3.0576100241049344,
      "MaxQty" : 3.2588565619047607,
      "Description" : "Description",
      "MinQty" : 5.533258397034986,
      "PriceInc" : 4.078845849666752,
      "IsOrderTaxExempt" : true,
      "PriceEx" : 6.628464275087742,
      "CurrencyCode" : "CurrencyCode",
      "PriceTax" : 0.2025324113236393,
      "Type" : "Type",
      "TaxRate" : 3.0205796992916243,
      "ID" : 7,
      "Rule" : "Rule"
    }, {
      "StandardSellPriceEx" : 3.0576100241049344,
      "MaxQty" : 3.2588565619047607,
      "Description" : "Description",
      "MinQty" : 5.533258397034986,
      "PriceInc" : 4.078845849666752,
      "IsOrderTaxExempt" : true,
      "PriceEx" : 6.628464275087742,
      "CurrencyCode" : "CurrencyCode",
      "PriceTax" : 0.2025324113236393,
      "Type" : "Type",
      "TaxRate" : 3.0205796992916243,
      "ID" : 7,
      "Rule" : "Rule"
    } ],
    "DebtorBSID" : "DebtorBSID"
  } ],
  "WarrantyPeriodType" : "WarrantyPeriodType",
  "Version" : 3.5571952270680973,
  "ChildInventoryClassID" : 1,
  "CreatedWith" : "CreatedWith",
  "DiscontinuedDate" : "2000-01-23T04:56:07.000+00:00",
  "ModelNumber" : "ModelNumber",
  "IsReducable" : true,
  "MaxStandardSellPriceInc" : 7.061401241503109,
  "StandardSellPriceInc" : 5.944895607614016,
  "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "GUID" : "00000000-0000-0000-0000-000000000000",
  "IsSOHTracked" : true,
  "UoMDescription" : "UoMDescription",
  "WarrantyPeriod" : 8,
  "Brand" : {
    "Description" : "Description",
    "IsActive" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Slug" : "Slug",
    "URL" : "URL",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "RowNumber" : 0,
    "IsFavourite" : true,
    "BSID" : "BSID",
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 1,
      "LastImportDateTime_offset" : 4,
      "LastExportDateTime_offset" : 7,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 9,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "Version" : 9.702963800023566,
    "CreatedWith" : "CreatedWith",
    "ID" : 0
  },
  "ChildCOGSAccount" : "ChildCOGSAccount",
  "WarrantyMediaFiles" : [ {
    "WarrantyMediaFileGUID" : "00000000-0000-0000-0000-000000000000",
    "WarrantMediaType" : "WarrantMediaType",
    "WarrantMediaFileSlug" : "WarrantMediaFileSlug",
    "WarrantMediaFileName" : "WarrantMediaFileName",
    "WarrantMediaFileDescription" : "WarrantMediaFileDescription",
    "WarrantMediaMimeType" : "WarrantMediaMimeType",
    "WarrantyMediaFileID" : 9
  }, {
    "WarrantyMediaFileGUID" : "00000000-0000-0000-0000-000000000000",
    "WarrantMediaType" : "WarrantMediaType",
    "WarrantMediaFileSlug" : "WarrantMediaFileSlug",
    "WarrantMediaFileName" : "WarrantMediaFileName",
    "WarrantMediaFileDescription" : "WarrantMediaFileDescription",
    "WarrantMediaMimeType" : "WarrantMediaMimeType",
    "WarrantyMediaFileID" : 9
  } ],
  "CountChildVariants" : 2,
  "MinSalesQty" : 4.652396432933246,
  "DefaultSupplierID" : 3,
  "CostPriceEx" : 6.878052220127876,
  "IsActive" : true,
  "BaseUoMDescription" : "BaseUoMDescription",
  "ChildExpenseAccount" : "ChildExpenseAccount",
  "VariationOptions" : [ {
    "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
    "StandardSellPriceIncDelta" : 7.386281948385884,
    "VariationAbbreviatedName" : "VariationAbbreviatedName",
    "IsActive" : true,
    "VariationID" : 1,
    "Name" : "Name",
    "AbbreviatedName" : "AbbreviatedName",
    "Colour" : "Colour",
    "MediaFileUrl" : "MediaFileUrl",
    "VariationName" : "VariationName",
    "BSID" : "BSID",
    "SequenceNumber" : 1,
    "Value" : "Value",
    "CreatedWith" : "CreatedWith",
    "VariationOptionID" : 1,
    "StandardSellPriceExDelta" : 6.84685269835264,
    "MediaFileID" : 7
  }, {
    "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
    "StandardSellPriceIncDelta" : 7.386281948385884,
    "VariationAbbreviatedName" : "VariationAbbreviatedName",
    "IsActive" : true,
    "VariationID" : 1,
    "Name" : "Name",
    "AbbreviatedName" : "AbbreviatedName",
    "Colour" : "Colour",
    "MediaFileUrl" : "MediaFileUrl",
    "VariationName" : "VariationName",
    "BSID" : "BSID",
    "SequenceNumber" : 1,
    "Value" : "Value",
    "CreatedWith" : "CreatedWith",
    "VariationOptionID" : 1,
    "StandardSellPriceExDelta" : 6.84685269835264,
    "MediaFileID" : 7
  } ],
  "LastBuyPriceEx" : 6.704019297950036,
  "IsLinkedToSupplierInventory" : true,
  "UoM" : "UoM",
  "IsPhysical" : true,
  "AssetAccount" : "AssetAccount",
  "SupplierBuyPrices" : [ {
    "SupplierID" : 0,
    "BuyPriceEx" : 3.1497903714250555,
    "SupplierInventoryCode" : "SupplierInventoryCode",
    "SupplierBarcode" : "SupplierBarcode",
    "LastPriceUpdateDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
  }, {
    "SupplierID" : 0,
    "BuyPriceEx" : 3.1497903714250555,
    "SupplierInventoryCode" : "SupplierInventoryCode",
    "SupplierBarcode" : "SupplierBarcode",
    "LastPriceUpdateDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
  } ],
  "ChildRevenueAccount" : "ChildRevenueAccount",
  "InventoryCode" : "InventoryCode",
  "BaseUnitQty" : 2,
  "StockOnHands" : [ {
    "OnHand" : 7.740351818741173,
    "WarehouseBSID" : "WarehouseBSID",
    "WarehouseSourceBSID" : "WarehouseSourceBSID"
  }, {
    "OnHand" : 7.740351818741173,
    "WarehouseBSID" : "WarehouseBSID",
    "WarehouseSourceBSID" : "WarehouseSourceBSID"
  } ],
  "DefaultReceiveLocation" : {
    "Description" : "Description",
    "Barcode" : "Barcode",
    "IsActive" : true,
    "IsSystem" : true,
    "WarehouseID" : 5,
    "WarehouseLocationID" : 4,
    "AlreadyExists" : true,
    "SerialisedAssetCount" : 6,
    "WarehouseLocationTypeID" : 9,
    "SOH" : 9.369310271410669,
    "Name" : "Name"
  },
  "AlternateWarehouseLocations" : [ {
    "Description" : "Description",
    "Barcode" : "Barcode",
    "IsActive" : true,
    "IsSystem" : true,
    "WarehouseID" : 5,
    "WarehouseLocationID" : 4,
    "AlreadyExists" : true,
    "SerialisedAssetCount" : 6,
    "WarehouseLocationTypeID" : 9,
    "SOH" : 9.369310271410669,
    "Name" : "Name"
  }, {
    "Description" : "Description",
    "Barcode" : "Barcode",
    "IsActive" : true,
    "IsSystem" : true,
    "WarehouseID" : 5,
    "WarehouseLocationID" : 4,
    "AlreadyExists" : true,
    "SerialisedAssetCount" : 6,
    "WarehouseLocationTypeID" : 9,
    "SOH" : 9.369310271410669,
    "Name" : "Name"
  } ],
  "IsIntegrated" : true,
  "Variants" : [ null, null ],
  "RowNumber" : 6,
  "AssetType" : "AssetType",
  "CanonicalUrl" : "CanonicalUrl",
  "ChildVariants" : [ {
    "StandardSellPriceEx" : 3.616076749251911,
    "InventoryCode" : "InventoryCode",
    "CostPriceEx" : 4.145608029883936,
    "IsActive" : true,
    "StandardSellPriceInc" : 2.027123023002322,
    "VariationOptions" : [ {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    }, {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    } ],
    "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
    "ShortDescription" : "ShortDescription",
    "IsClassInheritedFromMaster" : true,
    "ID" : 9,
    "PostingBehaviour" : "PostingBehaviour",
    "SKU" : "SKU",
    "IsVariantPriceOverride" : true
  }, {
    "StandardSellPriceEx" : 3.616076749251911,
    "InventoryCode" : "InventoryCode",
    "CostPriceEx" : 4.145608029883936,
    "IsActive" : true,
    "StandardSellPriceInc" : 2.027123023002322,
    "VariationOptions" : [ {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    }, {
      "MediaFileThumbnailUrl" : "MediaFileThumbnailUrl",
      "StandardSellPriceIncDelta" : 7.386281948385884,
      "VariationAbbreviatedName" : "VariationAbbreviatedName",
      "IsActive" : true,
      "VariationID" : 1,
      "Name" : "Name",
      "AbbreviatedName" : "AbbreviatedName",
      "Colour" : "Colour",
      "MediaFileUrl" : "MediaFileUrl",
      "VariationName" : "VariationName",
      "BSID" : "BSID",
      "SequenceNumber" : 1,
      "Value" : "Value",
      "CreatedWith" : "CreatedWith",
      "VariationOptionID" : 1,
      "StandardSellPriceExDelta" : 6.84685269835264,
      "MediaFileID" : 7
    } ],
    "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
    "ShortDescription" : "ShortDescription",
    "IsClassInheritedFromMaster" : true,
    "ID" : 9,
    "PostingBehaviour" : "PostingBehaviour",
    "SKU" : "SKU",
    "IsVariantPriceOverride" : true
  } ],
  "MinMaxLevels" : [ {
    "MaxSOHQuantity" : 2.7977867356748476,
    "DefaultPickingLocationID" : 0,
    "TenantID" : 0,
    "InventoryCode" : "InventoryCode",
    "DefaultReceiveLocationName" : "DefaultReceiveLocationName",
    "WarehouseID" : 0,
    "WarehouseName" : "WarehouseName",
    "DefaultReceiveLocationID" : 9,
    "DefaultPickingLocationName" : "DefaultPickingLocationName",
    "InventoryID" : 7,
    "MinSOHQuantity" : 4.332304821875894
  }, {
    "MaxSOHQuantity" : 2.7977867356748476,
    "DefaultPickingLocationID" : 0,
    "TenantID" : 0,
    "InventoryCode" : "InventoryCode",
    "DefaultReceiveLocationName" : "DefaultReceiveLocationName",
    "WarehouseID" : 0,
    "WarehouseName" : "WarehouseName",
    "DefaultReceiveLocationID" : 9,
    "DefaultPickingLocationName" : "DefaultPickingLocationName",
    "InventoryID" : 7,
    "MinSOHQuantity" : 4.332304821875894
  } ],
  "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "TotalSOH" : 0.8008281904610115,
  "SKU" : "SKU",
  "IsAssetItem" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<InventoryItemT>
  <GUID>00000000-0000-0000-0000-000000000000</GUID>
  <IsLinkedToSupplierInventory>true</IsLinkedToSupplierInventory>
  <TotalSOH>3.149</TotalSOH>
  <DefaultImageURL>aeiou</DefaultImageURL>
  <DefaultThumbnailURL>aeiou</DefaultThumbnailURL>
  <MediaCount>123</MediaCount>
  <ParentSKU>aeiou</ParentSKU>
  <VariantMasterCode>aeiou</VariantMasterCode>
  <IsShippable>true</IsShippable>
  <IsReducable>true</IsReducable>
  <IsOrderable>true</IsOrderable>
  <IsInCatalogue>true</IsInCatalogue>
  <IsUsingAverageCostPrice>true</IsUsingAverageCostPrice>
  <IsSystem>true</IsSystem>
  <IsVariantPriceOverride>true</IsVariantPriceOverride>
  <VariantsCount>123</VariantsCount>
  <LinkedVariantsCount>123</LinkedVariantsCount>
  <UnlinkedVariantsCount>123</UnlinkedVariantsCount>
  <IsIntegrated>true</IsIntegrated>
  <MaxStandardSellPriceEx>3.149</MaxStandardSellPriceEx>
  <MaxStandardSellPriceInc>3.149</MaxStandardSellPriceInc>
  <null>
    <ID>123</ID>
    <SKU>aeiou</SKU>
    <ShortDescription>aeiou</ShortDescription>
    <IsVariantPriceOverride>true</IsVariantPriceOverride>
    <IsActive>true</IsActive>
    <StandardSellPriceEx>3.149</StandardSellPriceEx>
    <StandardSellPriceInc>3.149</StandardSellPriceInc>
    <CostPriceEx>3.149</CostPriceEx>
    <InventoryCode>aeiou</InventoryCode>
    <PostingBehaviour>aeiou</PostingBehaviour>
    <SalesPostingInventoryCode>aeiou</SalesPostingInventoryCode>
    <IsClassInheritedFromMaster>true</IsClassInheritedFromMaster>
  </null>
  <ChildInventoryClassID>123</ChildInventoryClassID>
  <ChildInventoryClassName>aeiou</ChildInventoryClassName>
  <null>
    <WarehouseLocationID>123</WarehouseLocationID>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <WarehouseID>123</WarehouseID>
    <Barcode>aeiou</Barcode>
    <WarehouseLocationTypeID>123</WarehouseLocationTypeID>
    <AlreadyExists>true</AlreadyExists>
    <SOH>3.149</SOH>
    <IsActive>true</IsActive>
    <SerialisedAssetCount>123</SerialisedAssetCount>
    <IsSystem>true</IsSystem>
  </null>
  <null>
    <WarehouseLocationID>123</WarehouseLocationID>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <WarehouseID>123</WarehouseID>
    <Barcode>aeiou</Barcode>
    <WarehouseLocationTypeID>123</WarehouseLocationTypeID>
    <AlreadyExists>true</AlreadyExists>
    <SOH>3.149</SOH>
    <IsActive>true</IsActive>
    <SerialisedAssetCount>123</SerialisedAssetCount>
    <IsSystem>true</IsSystem>
  </null>
  <ClassPostingBehaviour>aeiou</ClassPostingBehaviour>
  <null>
    <WarehouseLocationID>123</WarehouseLocationID>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <WarehouseID>123</WarehouseID>
    <Barcode>aeiou</Barcode>
    <WarehouseLocationTypeID>123</WarehouseLocationTypeID>
    <AlreadyExists>true</AlreadyExists>
    <SOH>3.149</SOH>
    <IsActive>true</IsActive>
    <SerialisedAssetCount>123</SerialisedAssetCount>
    <IsSystem>true</IsSystem>
  </null>
  <WarrantyPeriodType>aeiou</WarrantyPeriodType>
  <WarrantyPeriod>123</WarrantyPeriod>
  <WarrantyDetails>aeiou</WarrantyDetails>
  <null>
    <WarrantyMediaFileID>123</WarrantyMediaFileID>
    <WarrantyMediaFileGUID>00000000-0000-0000-0000-000000000000</WarrantyMediaFileGUID>
    <WarrantMediaFileName>aeiou</WarrantMediaFileName>
    <WarrantMediaFileDescription>aeiou</WarrantMediaFileDescription>
    <WarrantMediaFileSlug>aeiou</WarrantMediaFileSlug>
    <WarrantMediaType>aeiou</WarrantMediaType>
    <WarrantMediaMimeType>aeiou</WarrantMediaMimeType>
  </null>
  <RowNumber>123456789</RowNumber>
  <Version>3.149</Version>
  <ID>123</ID>
  <InventoryCode>aeiou</InventoryCode>
  <EAN>aeiou</EAN>
  <Barcode>aeiou</Barcode>
  <SKU>aeiou</SKU>
  <GUIDstring>aeiou</GUIDstring>
  <BSID>aeiou</BSID>
  <CreatedWith>aeiou</CreatedWith>
  <InventoryClassID>123</InventoryClassID>
  <InventoryClassName>aeiou</InventoryClassName>
  <IsActive>true</IsActive>
  <IsDiscontinued>true</IsDiscontinued>
  <DiscontinuedDate>2000-01-23T04:56:07.000Z</DiscontinuedDate>
  <IsAssetItem>true</IsAssetItem>
  <IsSold>true</IsSold>
  <IsOrderTaxExempt>true</IsOrderTaxExempt>
  <IsPhysical>true</IsPhysical>
  <IsSOHTracked>true</IsSOHTracked>
  <IsPurchased>true</IsPurchased>
  <AssetType>aeiou</AssetType>
  <IsOuterItem>true</IsOuterItem>
  <IsInnerItem>true</IsInnerItem>
  <BaseUnitQty>123</BaseUnitQty>
  <BaseUoM>aeiou</BaseUoM>
  <BaseUoMDescription>aeiou</BaseUoMDescription>
  <UoM>aeiou</UoM>
  <UoMDescription>aeiou</UoMDescription>
  <ShortDescription>aeiou</ShortDescription>
  <Description>aeiou</Description>
  <RFID>aeiou</RFID>
  <Note>aeiou</Note>
  <StandardSellPriceEx>3.149</StandardSellPriceEx>
  <CostPriceEx>3.149</CostPriceEx>
  <StandardSellPriceInc>3.149</StandardSellPriceInc>
  <LastBuyPriceEx>3.149</LastBuyPriceEx>
  <RRP>3.149</RRP>
  <ExpenseAccount>aeiou</ExpenseAccount>
  <RevenueAccount>aeiou</RevenueAccount>
  <AssetAccount>aeiou</AssetAccount>
  <COGSAccount>aeiou</COGSAccount>
  <URL>aeiou</URL>
  <ManufacturerName>aeiou</ManufacturerName>
  <ManufacturerModel>aeiou</ManufacturerModel>
  <ModelNumber>aeiou</ModelNumber>
  <DefaultSupplierName>aeiou</DefaultSupplierName>
  <DefaultSupplierRefNumber>aeiou</DefaultSupplierRefNumber>
  <DefaultSupplierID>123</DefaultSupplierID>
  <Length_m>3.149</Length_m>
  <Width_m>3.149</Width_m>
  <Weight_kg>3.149</Weight_kg>
  <Depth_m>3.149</Depth_m>
  <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
  <ModifiedDateTime_utc>2000-01-23T04:56:07.000Z</ModifiedDateTime_utc>
  <IsVariantMaster>true</IsVariantMaster>
  <PageTitle>aeiou</PageTitle>
  <PageHeading>aeiou</PageHeading>
  <MetaDescription>aeiou</MetaDescription>
  <MetaKeywords>aeiou</MetaKeywords>
  <CanonicalUrl>aeiou</CanonicalUrl>
  <HTMLDescription>aeiou</HTMLDescription>
  <Type>aeiou</Type>
  <IsPublished>true</IsPublished>
  <SupplierInventoryGUIDstring>aeiou</SupplierInventoryGUIDstring>
  <IsApproved>true</IsApproved>
  <Volume>3.149</Volume>
  <MinSalesQty>3.149</MinSalesQty>
  <MaxSalesQty>3.149</MaxSalesQty>
  <IsPostingInventoryItem>true</IsPostingInventoryItem>
  <ChildIsSold>true</ChildIsSold>
  <ChildIsPurchased>true</ChildIsPurchased>
  <ChildIsSOHTracked>true</ChildIsSOHTracked>
  <ChildIsPhysical>true</ChildIsPhysical>
  <ChildExpenseAccount>aeiou</ChildExpenseAccount>
  <ChildRevenueAccount>aeiou</ChildRevenueAccount>
  <ChildAssetAccount>aeiou</ChildAssetAccount>
  <ChildCOGSAccount>aeiou</ChildCOGSAccount>
  <null>
    <WarehouseBSID>aeiou</WarehouseBSID>
    <WarehouseSourceBSID>aeiou</WarehouseSourceBSID>
    <OnHand>3.149</OnHand>
  </null>
  <null>
    <DebtorBSID>aeiou</DebtorBSID>
  </null>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <IsFavourite>true</IsFavourite>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <CreatedWith>aeiou</CreatedWith>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <URL>aeiou</URL>
    <Slug>aeiou</Slug>
    <IsActive>true</IsActive>
  </null>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <SalesPostingInventoryName>aeiou</SalesPostingInventoryName>
    <SalesPostingInventoryRevenueAccountCode>aeiou</SalesPostingInventoryRevenueAccountCode>
    <SalesPostingInventoryExpenseAccountCode>aeiou</SalesPostingInventoryExpenseAccountCode>
    <ServicePostingInventoryName>aeiou</ServicePostingInventoryName>
    <ServicePostingInventoryRevenueAccountCode>aeiou</ServicePostingInventoryRevenueAccountCode>
    <ServicePostingInventoryExpenseAccountCode>aeiou</ServicePostingInventoryExpenseAccountCode>
    <IsAutoCreateGenericAccountInventory>true</IsAutoCreateGenericAccountInventory>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <CreatedWith>aeiou</CreatedWith>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <IsActive>true</IsActive>
    <SalesPostingInventoryID>123</SalesPostingInventoryID>
    <ServicePostingInventoryID>123</ServicePostingInventoryID>
    <IsApprovedForWeb>true</IsApprovedForWeb>
    <IsApprovedForService>true</IsApprovedForService>
    <IsApprovedForPOS>true</IsApprovedForPOS>
    <PostingBehaviour>aeiou</PostingBehaviour>
    <CountOfProducts>123</CountOfProducts>
    <IsSystem>true</IsSystem>
    <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
    <ModifiedDateTime_utc>2000-01-23T04:56:07.000Z</ModifiedDateTime_utc>
    <SalesPostingInventoryCode>aeiou</SalesPostingInventoryCode>
    <ServicePostingInventoryCode>aeiou</ServicePostingInventoryCode>
  </null>
  <null>
    <HierarchyLevel>123</HierarchyLevel>
    <CategoryType>aeiou</CategoryType>
    <Sequence>123</Sequence>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ParentID>123</ParentID>
    <ID>123</ID>
    <ParentName>aeiou</ParentName>
    <GUIDstring>aeiou</GUIDstring>
    <Route>aeiou</Route>
    <BSID>aeiou</BSID>
    <PageTitle>aeiou</PageTitle>
    <CreatedWith>aeiou</CreatedWith>
    <PageHeading>aeiou</PageHeading>
    <Name>aeiou</Name>
    <MetaDescription>aeiou</MetaDescription>
    <Description>aeiou</Description>
    <MetaKeywords>aeiou</MetaKeywords>
    <URL>aeiou</URL>
    <CanonicalUrl>aeiou</CanonicalUrl>
    <Slug>aeiou</Slug>
    <HTMLDescription>aeiou</HTMLDescription>
    <IsActive>true</IsActive>
    <InventoryCount>123</InventoryCount>
    <IsFavourite>true</IsFavourite>
  </null>
  <null>
    <Size>123456789</Size>
    <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
    <Type>aeiou</Type>
    <IsImage>true</IsImage>
    <SizeFriendly>aeiou</SizeFriendly>
    <MediaType>123</MediaType>
    <MimeType>aeiou</MimeType>
    <Sequence>123</Sequence>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ID>123</ID>
    <IsDownload>true</IsDownload>
    <GUIDstring>aeiou</GUIDstring>
    <ThumbnailURL>aeiou</ThumbnailURL>
    <BSID>aeiou</BSID>
    <IsDefault>true</IsDefault>
    <CreatedWith>aeiou</CreatedWith>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <URL>aeiou</URL>
    <Slug>aeiou</Slug>
    <IsActive>true</IsActive>
  </null>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <CreatedWith>aeiou</CreatedWith>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <URL>aeiou</URL>
    <Slug>aeiou</Slug>
    <IsActive>true</IsActive>
  </null>
  <null>
    <LastImportDateTime>2000-01-23T04:56:07.000Z</LastImportDateTime>
    <LastExportDateTime>2000-01-23T04:56:07.000Z</LastExportDateTime>
    <ID>123</ID>
    <AdaptorID>123</AdaptorID>
    <BSID>aeiou</BSID>
    <LastImportDateTime_utc>2000-01-23T04:56:07.000Z</LastImportDateTime_utc>
    <LastImportDateTime_offset>123</LastImportDateTime_offset>
    <Status>aeiou</Status>
    <Details>aeiou</Details>
    <LastExportDateTime_utc>2000-01-23T04:56:07.000Z</LastExportDateTime_utc>
    <LastExportDateTime_offset>123</LastExportDateTime_offset>
    <SyncCode>aeiou</SyncCode>
    <LastModifiedDateTime_utc>2000-01-23T04:56:07.000Z</LastModifiedDateTime_utc>
    <LastModifiedDateTime_offset>123</LastModifiedDateTime_offset>
  </null>
  <null>
    <SupplierID>123</SupplierID>
    <SupplierInventoryCode>aeiou</SupplierInventoryCode>
    <SupplierBarcode>aeiou</SupplierBarcode>
    <BuyPriceEx>3.149</BuyPriceEx>
    <LastPriceUpdateDateTime_utc>2000-01-23T04:56:07.000Z</LastPriceUpdateDateTime_utc>
  </null>
  <null>
    <MasterInventoryID>123</MasterInventoryID>
    <VariationID>123</VariationID>
    <BSID>aeiou</BSID>
    <Name>aeiou</Name>
    <AbbreviatedName>aeiou</AbbreviatedName>
    <SequenceNumber>123</SequenceNumber>
    <CreatedWith>aeiou</CreatedWith>
    <IsActive>true</IsActive>
  </null>
  <null>
    <VariationName>aeiou</VariationName>
    <VariationAbbreviatedName>aeiou</VariationAbbreviatedName>
    <MediaFileUrl>aeiou</MediaFileUrl>
    <MediaFileThumbnailUrl>aeiou</MediaFileThumbnailUrl>
    <StandardSellPriceIncDelta>3.149</StandardSellPriceIncDelta>
    <VariationOptionID>123</VariationOptionID>
    <VariationID>123</VariationID>
    <BSID>aeiou</BSID>
    <Name>aeiou</Name>
    <AbbreviatedName>aeiou</AbbreviatedName>
    <Colour>aeiou</Colour>
    <SequenceNumber>123</SequenceNumber>
    <StandardSellPriceExDelta>3.149</StandardSellPriceExDelta>
    <MediaFileID>123</MediaFileID>
    <CreatedWith>aeiou</CreatedWith>
    <IsActive>true</IsActive>
    <Value>aeiou</Value>
  </null>
  <VariantMasterInventoryID>123</VariantMasterInventoryID>
  <null>
    <TenantID>123</TenantID>
    <WarehouseID>123</WarehouseID>
    <WarehouseName>aeiou</WarehouseName>
    <InventoryID>123</InventoryID>
    <InventoryCode>aeiou</InventoryCode>
    <MinSOHQuantity>3.149</MinSOHQuantity>
    <MaxSOHQuantity>3.149</MaxSOHQuantity>
    <DefaultReceiveLocationID>123</DefaultReceiveLocationID>
    <DefaultReceiveLocationName>aeiou</DefaultReceiveLocationName>
    <DefaultPickingLocationID>123</DefaultPickingLocationID>
    <DefaultPickingLocationName>aeiou</DefaultPickingLocationName>
  </null>
  <IsUsedInGenericClass>true</IsUsedInGenericClass>
  <CountChildVariants>123</CountChildVariants>
</InventoryItemT>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        InventoryItemT inventoryItemT = ; // InventoryItemT | 

        try {
            Object result = apiInstance.inventorySaveT2(inventoryItemT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventorySaveT2");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final InventoryItemT inventoryItemT = new InventoryItemT(); // InventoryItemT | 

try {
    final result = await api_instance.inventorySaveT2(inventoryItemT);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->inventorySaveT2: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        InventoryItemT inventoryItemT = ; // InventoryItemT | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
InventoryItemT *inventoryItemT = ; //  (optional)

// Inventory_SaveT2
[apiInstance inventorySaveT2With:inventoryItemT
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiInventoryV2 = require('as_server_api_inventory_v2');

// Create an instance of the API class
var api = new AsServerApiInventoryV2.DefaultApi()
var opts = {
  'inventoryItemT':  // {InventoryItemT} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var inventoryItemT = new InventoryItemT(); // InventoryItemT |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$inventoryItemT = ; // InventoryItemT | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $inventoryItemT = WWW::OPenAPIClient::Object::InventoryItemT->new(); # InventoryItemT | 

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
inventoryItemT =  # InventoryItemT |  (optional)

try:
    # Inventory_SaveT2
    api_response = api_instance.inventory_save_t2(inventoryItemT=inventoryItemT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventorySaveT2: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let inventoryItemT = ; // InventoryItemT

    let mut context = DefaultApi::Context::default();
    let result = client.inventorySaveT2(inventoryItemT, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
inventoryItemT

Responses


inventorySearchT

Inventory_SearchT


/v2/Inventory/Search

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/v2/Inventory/Search" \
 -d '{
  "VariantMasterInventoryID" : 1,
  "ParentID" : 9,
  "Types" : [ "Types", "Types" ],
  "MustHave" : "MustHave",
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "IsPurchased" : true,
  "AdaptorID" : 9,
  "IsShowPublishedOnly" : true,
  "SortField" : "SortField",
  "WarehouseID" : 1,
  "CustomerID" : 9,
  "IsExactMatch" : true,
  "InventoryClassGroupID" : 1,
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "InventoryID" : 2,
  "IsSearchSuppliersCatalog" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "SupplierID" : 3,
  "IncludePickandPackedAssets" : true,
  "TenantID" : 5,
  "IsHierarchicalSort" : true,
  "ViewMode" : "ViewMode",
  "Search" : "Search",
  "PurchaseOrderID" : 5,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 2,
  "TransDatTypeID" : 6,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 8,
  "WebsiteID" : 6,
  "GroupBy" : "GroupBy",
  "BrandList" : [ {
    "IsBool" : true,
    "FeatureValueID" : 0,
    "Value" : "Value",
    "IsSelected" : true,
    "RecordCount" : 6,
    "Name" : "Name"
  }, {
    "IsBool" : true,
    "FeatureValueID" : 0,
    "Value" : "Value",
    "IsSelected" : true,
    "RecordCount" : 6,
    "Name" : "Name"
  } ],
  "BrandIDs" : [ 3, 3 ],
  "LastRowNumber" : 6,
  "MaxResults" : 6,
  "IsSOHTracked" : true,
  "IsShowChildVariants" : true,
  "SupplierGUID" : "00000000-0000-0000-0000-000000000000",
  "InventoryClassID" : 7,
  "ShowSOHFromWarehouseID" : 7,
  "InventoryClassGroupTypeID" : 1,
  "StockTakeID" : 4,
  "IsSold" : true,
  "Statuses" : [ 5, 5 ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 6, 6 ],
  "IsSystem" : true,
  "TransID" : 1,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "Exclusions" : "Exclusions",
  "ShowDeletedItems" : true,
  "CategoryIDs" : [ 6, 6 ],
  "IsShowVariantMaster" : true,
  "CanHave" : "CanHave",
  "ShowAlternateLocationsFromWarehouseID" : 4,
  "IgnoreID" : 9,
  "IsShowFavourites" : true,
  "UserID" : 3,
  "SortAsc" : true,
  "SearchType" : 2,
  "WarehouseLocationID" : 5,
  "LinkedSupplierID" : 1,
  "OrderBy" : "OrderBy",
  "IsHidden" : true,
  "InventoryGUID" : "00000000-0000-0000-0000-000000000000",
  "IsShowPostingInventoryOnly" : true,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "StartRow" : 7,
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "ExcludeItemsInMasterList" : true,
  "IsIncludeCategories" : true,
  "TransactionTypeDatTypeID" : 6
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<InventoryFilter>
  <MustHave>aeiou</MustHave>
  <CanHave>aeiou</CanHave>
  <Exclusions>aeiou</Exclusions>
  <null>
    <FeatureValueID>123</FeatureValueID>
    <Value>aeiou</Value>
    <Name>aeiou</Name>
    <IsBool>true</IsBool>
    <RecordCount>123</RecordCount>
    <IsSelected>true</IsSelected>
  </null>
  <ShowDeletedItems>true</ShowDeletedItems>
  <WarehouseID>123</WarehouseID>
  <WarehouseLocationID>123</WarehouseLocationID>
  <PurchaseOrderID>123</PurchaseOrderID>
  <InventoryID>123</InventoryID>
  <InventoryClassID>123</InventoryClassID>
  <ExcludeItemsInMasterList>true</ExcludeItemsInMasterList>
  <CustomerID>123</CustomerID>
  <SupplierID>123</SupplierID>
  <SearchType>123</SearchType>
  <StockTakeID>123</StockTakeID>
  <StartRow>123</StartRow>
  <OrderBy>aeiou</OrderBy>
  <IsShowPublishedOnly>true</IsShowPublishedOnly>
  <InventoryClassGroupID>123</InventoryClassGroupID>
  <InventoryClassGroupTypeID>123</InventoryClassGroupTypeID>
  <IncludePickandPackedAssets>true</IncludePickandPackedAssets>
  <TransID>123</TransID>
  <TransDatTypeID>123</TransDatTypeID>
  <IsSearchSuppliersCatalog>true</IsSearchSuppliersCatalog>
  <InventoryGUID>00000000-0000-0000-0000-000000000000</InventoryGUID>
  <IsShowChildVariants>true</IsShowChildVariants>
  <IsIncludeCategories>true</IsIncludeCategories>
  <IsShowPostingInventoryOnly>true</IsShowPostingInventoryOnly>
  <ShowSOHFromWarehouseID>123</ShowSOHFromWarehouseID>
  <IsPurchased>true</IsPurchased>
  <IsSold>true</IsSold>
  <IsSOHTracked>true</IsSOHTracked>
  <ViewMode>aeiou</ViewMode>
  <VariantMasterInventoryID>123</VariantMasterInventoryID>
  <ShowAlternateLocationsFromWarehouseID>123</ShowAlternateLocationsFromWarehouseID>
  <SupplierGUID>00000000-0000-0000-0000-000000000000</SupplierGUID>
  <IsShowVariantMaster>true</IsShowVariantMaster>
  <Statuses>123</Statuses>
  <StatusStrings>aeiou</StatusStrings>
  <Status>aeiou</Status>
  <SearchString>aeiou</SearchString>
  <SearchNameOnly>true</SearchNameOnly>
  <Search>aeiou</Search>
  <StartDate>2000-01-23T04:56:07.000Z</StartDate>
  <EndDate>2000-01-23T04:56:07.000Z</EndDate>
  <DatePeriod>aeiou</DatePeriod>
  <IsExactMatch>true</IsExactMatch>
  <IsGetBasicInfo>true</IsGetBasicInfo>
  <IncludeDeleted>true</IncludeDeleted>
  <IncludeLogs>true</IncludeLogs>
  <IgnoreID>123</IgnoreID>
  <ParentID>123</ParentID>
  <GetCountOnly>true</GetCountOnly>
  <TransactionTypeDatTypeID>123</TransactionTypeDatTypeID>
  <CategoryID>123</CategoryID>
  <AdaptorID>123</AdaptorID>
  <CategoryIDs>123</CategoryIDs>
  <BrandIDs>123</BrandIDs>
  <IDs>123</IDs>
  <GUIDs>aeiou</GUIDs>
  <LinkedSupplierID>123</LinkedSupplierID>
  <IsApprovedForPOS>true</IsApprovedForPOS>
  <IsApprovedForWeb>true</IsApprovedForWeb>
  <IsApprovedForService>true</IsApprovedForService>
  <ID>123</ID>
  <IsHierarchicalSort>true</IsHierarchicalSort>
  <Types>aeiou</Types>
  <IsShowFavourites>true</IsShowFavourites>
  <IsHidden>true</IsHidden>
  <IncludeSystemTasks>true</IncludeSystemTasks>
  <IsSystem>true</IsSystem>
  <BatchStatus>aeiou</BatchStatus>
  <SortField>aeiou</SortField>
  <SortAsc>true</SortAsc>
  <GroupBy>aeiou</GroupBy>
  <LastRowNumber>123456789</LastRowNumber>
  <MaxResults>123</MaxResults>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</InventoryFilter>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        InventoryFilter inventoryFilter = {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryFilter | 

        try {
            Object result = apiInstance.inventorySearchT(inventoryFilter);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventorySearchT");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final InventoryFilter inventoryFilter = new InventoryFilter(); // InventoryFilter | 

try {
    final result = await api_instance.inventorySearchT(inventoryFilter);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->inventorySearchT: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        InventoryFilter inventoryFilter = {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
InventoryFilter *inventoryFilter = {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Inventory_SearchT
[apiInstance inventorySearchTWith:inventoryFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiInventoryV2 = require('as_server_api_inventory_v2');

// Create an instance of the API class
var api = new AsServerApiInventoryV2.DefaultApi()
var opts = {
  'inventoryFilter': {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {InventoryFilter} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var inventoryFilter = new InventoryFilter(); // InventoryFilter |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$inventoryFilter = {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryFilter | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $inventoryFilter = WWW::OPenAPIClient::Object::InventoryFilter->new(); # InventoryFilter | 

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
inventoryFilter = {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} # InventoryFilter |  (optional)

try:
    # Inventory_SearchT
    api_response = api_instance.inventory_search_t(inventoryFilter=inventoryFilter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventorySearchT: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let inventoryFilter = {"MustHave":"string","CanHave":"string","Exclusions":"string","BrandList":[{"FeatureValueID":0,"Value":"string","Name":"string","IsBool":true,"RecordCount":0,"IsSelected":true}],"ShowDeletedItems":true,"WarehouseID":0,"WarehouseLocationID":0,"PurchaseOrderID":0,"InventoryID":0,"InventoryClassID":0,"ExcludeItemsInMasterList":true,"CustomerID":0,"SupplierID":0,"SearchType":0,"StockTakeID":0,"StartRow":0,"OrderBy":"string","IsShowPublishedOnly":true,"InventoryClassGroupID":0,"InventoryClassGroupTypeID":0,"IncludePickandPackedAssets":true,"TransID":0,"TransDatTypeID":0,"IsSearchSuppliersCatalog":true,"InventoryGUID":"00000000-0000-0000-0000-000000000000","IsShowChildVariants":true,"IsIncludeCategories":true,"IsShowPostingInventoryOnly":true,"ShowSOHFromWarehouseID":0,"IsPurchased":true,"IsSold":true,"IsSOHTracked":true,"ViewMode":"string","VariantMasterInventoryID":0,"ShowAlternateLocationsFromWarehouseID":0,"SupplierGUID":"00000000-0000-0000-0000-000000000000","IsShowVariantMaster":true,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // InventoryFilter

    let mut context = DefaultApi::Context::default();
    let result = client.inventorySearchT(inventoryFilter, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
inventoryFilter

Responses