inventorySaveT3
Inventory_SaveT3
/v3/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/v3/Inventory/Save" \
-d '{
"WebsiteID" : 6,
"TenantID" : 4,
"UserID" : 9,
"IsQueue" : true,
"Inventory" : {
"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
},
"LinkedSupplierID" : 6,
"IsSaveAutoQueue" : true
}' \
-d 'Custom MIME type example not yet supported: text/json' \
-d '<InventorySaveRequestV3>
<null>
<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>
<ChildInventoryClassID>123</ChildInventoryClassID>
<ChildInventoryClassName>aeiou</ChildInventoryClassName>
<ClassPostingBehaviour>aeiou</ClassPostingBehaviour>
<WarrantyPeriodType>aeiou</WarrantyPeriodType>
<WarrantyPeriod>123</WarrantyPeriod>
<WarrantyDetails>aeiou</WarrantyDetails>
<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>
<VariantMasterInventoryID>123</VariantMasterInventoryID>
<IsUsedInGenericClass>true</IsUsedInGenericClass>
<CountChildVariants>123</CountChildVariants>
</null>
<LinkedSupplierID>123</LinkedSupplierID>
<IsQueue>true</IsQueue>
<IsSaveAutoQueue>true</IsSaveAutoQueue>
<TenantID>123</TenantID>
<WebsiteID>123</WebsiteID>
<UserID>123</UserID>
</InventorySaveRequestV3>' \
-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();
InventorySaveRequestV3 inventorySaveRequestV3 = ; // InventorySaveRequestV3 |
try {
Object result = apiInstance.inventorySaveT3(inventorySaveRequestV3);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#inventorySaveT3");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final InventorySaveRequestV3 inventorySaveRequestV3 = new InventorySaveRequestV3(); // InventorySaveRequestV3 |
try {
final result = await api_instance.inventorySaveT3(inventorySaveRequestV3);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->inventorySaveT3: $e\n');
}
import org.openapitools.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
InventorySaveRequestV3 inventorySaveRequestV3 = ; // InventorySaveRequestV3 |
try {
Object result = apiInstance.inventorySaveT3(inventorySaveRequestV3);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#inventorySaveT3");
e.printStackTrace();
}
}
}
// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
InventorySaveRequestV3 *inventorySaveRequestV3 = ; // (optional)
// Inventory_SaveT3
[apiInstance inventorySaveT3With:inventorySaveRequestV3
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var AsServerApiInventoryV3 = require('as_server_api_inventory_v3');
// Create an instance of the API class
var api = new AsServerApiInventoryV3.DefaultApi()
var opts = {
'inventorySaveRequestV3': // {InventorySaveRequestV3}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.inventorySaveT3(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class inventorySaveT3Example
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var inventorySaveRequestV3 = new InventorySaveRequestV3(); // InventorySaveRequestV3 | (optional)
try {
// Inventory_SaveT3
Object result = apiInstance.inventorySaveT3(inventorySaveRequestV3);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.inventorySaveT3: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$inventorySaveRequestV3 = ; // InventorySaveRequestV3 |
try {
$result = $api_instance->inventorySaveT3($inventorySaveRequestV3);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->inventorySaveT3: ', $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 $inventorySaveRequestV3 = WWW::OPenAPIClient::Object::InventorySaveRequestV3->new(); # InventorySaveRequestV3 |
eval {
my $result = $api_instance->inventorySaveT3(inventorySaveRequestV3 => $inventorySaveRequestV3);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->inventorySaveT3: $@\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()
inventorySaveRequestV3 = # InventorySaveRequestV3 | (optional)
try:
# Inventory_SaveT3
api_response = api_instance.inventory_save_t3(inventorySaveRequestV3=inventorySaveRequestV3)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->inventorySaveT3: %s\n" % e)
extern crate DefaultApi;
pub fn main() {
let inventorySaveRequestV3 = ; // InventorySaveRequestV3
let mut context = DefaultApi::Context::default();
let result = client.inventorySaveT3(inventorySaveRequestV3, &context).wait();
println!("{:?}", result);
}
Scopes
Parameters
Body parameters
| Name | Description |
|---|---|
| inventorySaveRequestV3 |