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/Warehouse/SearchInventoryAndAssets" \
-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.warehouseSearchInventoryAndAssets(inventoryFilter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#warehouseSearchInventoryAndAssets");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final InventoryFilter inventoryFilter = new InventoryFilter(); // InventoryFilter |
try {
final result = await api_instance.warehouseSearchInventoryAndAssets(inventoryFilter);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->warehouseSearchInventoryAndAssets: $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.warehouseSearchInventoryAndAssets(inventoryFilter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#warehouseSearchInventoryAndAssets");
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)
// Warehouse_SearchInventoryAndAssets
[apiInstance warehouseSearchInventoryAndAssetsWith:inventoryFilter
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var AsServerApiWarehouse = require('as_server_api_warehouse');
// Create an instance of the API class
var api = new AsServerApiWarehouse.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.warehouseSearchInventoryAndAssets(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class warehouseSearchInventoryAndAssetsExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var inventoryFilter = new InventoryFilter(); // InventoryFilter | (optional)
try {
// Warehouse_SearchInventoryAndAssets
Object result = apiInstance.warehouseSearchInventoryAndAssets(inventoryFilter);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.warehouseSearchInventoryAndAssets: " + 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->warehouseSearchInventoryAndAssets($inventoryFilter);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->warehouseSearchInventoryAndAssets: ', $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->warehouseSearchInventoryAndAssets(inventoryFilter => $inventoryFilter);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->warehouseSearchInventoryAndAssets: $@\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:
# Warehouse_SearchInventoryAndAssets
api_response = api_instance.warehouse_search_inventory_and_assets(inventoryFilter=inventoryFilter)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->warehouseSearchInventoryAndAssets: %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.warehouseSearchInventoryAndAssets(inventoryFilter, &context).wait();
println!("{:?}", result);
}