' Options: 'Date: 2025-05-10 02:56:40 'Version: 8.40 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://active-ewebservice.biz/aeservices30/api ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: SearchInventoryRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports AIM.WebService Imports AIM Imports AIM.Global.Utils Imports AIM.Model.DB Namespace Global Namespace AIM Public Interface IAIMInventoryRecord Property LongDesc As String Property InvDesc_Cat As Integer Property InvDesc_Sub As Integer Property InvDesc_Mfg As String Property InvDesc_Model As String Property InvDesc_Desc As String Property InvDesc_CatDesc As String Property InvDesc_SubDesc As String Property InvDesc_Locator As String Property InvDesc_StockNum As String Property InvDesc_SelDesc As String Property InvDesc_Sku As String Property InvDesc_SelCode As String Property InvDesc_Mpn As String Property InvDesc_Att1 As String Property InvDesc_Att2 As String Property InvDesc_Att3 As String Property InvDesc_Att4 As String Property InvDesc_Att5 As String Property InvDesc_Att6 As String End Interface Public Partial Class LocationInfo Public Overridable Property Id As Long Public Overridable Property Desc As String Public Overridable Property ShortDesc As String Public Overridable Property Region As String Public Overridable Property Latitude As Decimal Public Overridable Property Longitude As Decimal Public Overridable Property InStorePickup As String Public Overridable Property Active As Boolean Public Overridable Property CashSaleAcct As Nullable(Of Integer) End Class End Namespace Namespace AIM.Global.Utils Public Partial Class BindableObject End Class End Namespace Namespace AIM.Model.DB Public Partial Class SearchInventoryResultSet Inherits BindableObject Implements IAIMInventoryRecord Public Overridable Property Pk As Long Public Overridable Property Description As String Public Overridable Property InventoryType As String Public Overridable Property Manufacturer As String Public Overridable Property Model As String Public Overridable Property Category As Nullable(Of Decimal) Public Overridable Property CategoryDescription As String Public Overridable Property SubCategory As Nullable(Of Decimal) Public Overridable Property SubCategoryDescription As String Public Overridable Property SelectionCode As String Public Overridable Property SelectionCodeDescription As String Public Overridable Property Sku As String Public Overridable Property Mpn As String Public Overridable Property Discontinued As Nullable(Of Boolean) Public Overridable Property Attribute1 As String Public Overridable Property Attribute2 As String Public Overridable Property Attribute3 As String Public Overridable Property Attribute4 As String Public Overridable Property Attribute5 As String Public Overridable Property Attribute6 As String Public Overridable Property Attribute7 As String Public Overridable Property Attribute8 As String Public Overridable Property Attribute9 As String Public Overridable Property Attribute10 As String Public Overridable Property Attribute11 As String Public Overridable Property Attribute12 As String Public Overridable Property Attribute13 As String Public Overridable Property Attribute14 As String Public Overridable Property Attribute15 As String Public Overridable Property Attribute16 As String Public Overridable Property Attribute17 As String Public Overridable Property Attribute18 As String Public Overridable Property Attribute19 As String Public Overridable Property Attribute20 As String Public Overridable Property ComputerQuantity As Decimal Public Overridable Property OurPrice As Decimal Public Overridable Property RetailPrice As Decimal Public Overridable Property ActiveePrice As Decimal Public Overridable Property PriceA As Decimal Public Overridable Property PriceB As Decimal Public Overridable Property PriceC As Decimal Public Overridable Property MinPrice As Decimal Public Overridable Property AvailableQuantity As Decimal Public Overridable Property IsMedia As Boolean Public Overridable Property IsPackage As Boolean Public Overridable Property HasImage As Boolean Public Overridable Property SearchTerm As String Public Overridable Property Keywords As String Public Overridable Property KeywordsOrigin As String Public Overridable Property Deleted As Boolean Public Overridable Property TimeStamp As Date End Class End Namespace Namespace AIM.WebService Public Partial Class ActiveEInfo Public Sub New() WebCategoryIds = New List(Of Long) End Sub Public Overridable Property Dimension As String Public Overridable Property WebDescription As String Public Overridable Property Summary As String Public Overridable Property SETitle As String Public Overridable Property SEDescription As String Public Overridable Property SEKeywords As String Public Overridable Property SEAltText As String Public Overridable Property SEHtmlFreeText As String Public Overridable Property Unpublished As Boolean Public Overridable Property FreeShipping As Boolean Public Overridable Property IsFeatured As Boolean Public Overridable Property WebCategoryIds As List(Of Long) End Class Public Partial Class AddOnDetail Public Overridable Property SadPk As Long Public Overridable Property SkuPk As Long Public Overridable Property CatPk As Long Public Overridable Property SubPk As Long Public Overridable Property Item As String Public Overridable Property Description As String Public Overridable Property Price As Decimal End Class Public Partial Class BaseRequest ''' '''This is your AIM API Key provided by Tri-Tech ''' Public Overridable Property ApiKey As String Public Overridable Property OAuthToken As String End Class Public Partial Class BaseResponse ''' ''' ''' Public Overridable Property Status As BaseResponseResult End Class Public Partial Class BaseSecureRequest Inherits BaseRequest ''' ''' ''' Public Overridable Property Token As String ''' ''' ''' Public Overridable Property DeviceId As String ''' ''' ''' Public Overridable Property AppId As String End Class Public Partial Class ImageInfo Public Overridable Property Url As String Public Overridable Property ImageStream As String Public Overridable Property ImageSize As String Public Overridable Property ErrorMessage As String Public Overridable Property UriPk As Nullable(Of Long) End Class Public Partial Class InventoryDetail Public Sub New() Images = New List(Of ImageInfo) VariantDetails = New List(Of InventoryDetailByVariant) AddOns = New List(Of AddOnDetail) End Sub Public Overridable Property SadPk As Long Public Overridable Property InvType As String Public Overridable Property Model As String Public Overridable Property Description As String Public Overridable Property Mfg As String Public Overridable Property Category As Integer Public Overridable Property CategoryDescription As String Public Overridable Property SubCategory As Integer Public Overridable Property SubCategoryDescription As String Public Overridable Property SelectionCode As String Public Overridable Property SelectionCodeDescription As String Public Overridable Property SellSerialsOnline As Boolean Public Overridable Property Notes As String Public Overridable Property Images As List(Of ImageInfo) Public Overridable Property HasImages As Boolean Public Overridable Property VariantDetails As List(Of InventoryDetailByVariant) Public Overridable Property AddOns As List(Of AddOnDetail) Public Overridable Property ActiveEInfo As ActiveEInfo Public Overridable Property Weight As Decimal Public Overridable Property Unit As String End Class Public Partial Class InventoryDetailAttribute Public Overridable Property Name As String Public Overridable Property Value As String Public Overridable Property Priority As Integer ''' '''1 is 'Don't Send to Web', 2 is 'Guided Navigation' ''' Public Overridable Property WebType As Integer End Class Public Partial Class InventoryDetailByLocation Public Sub New() Serials = New List(Of InventoryDetailBySerial) Substitutes = New List(Of InventoryDetailSubstitute) End Sub Public Overridable Property SaqPk As Long Public Overridable Property LocationInfo As LocationInfo Public Overridable Property Serials As List(Of InventoryDetailBySerial) Public Overridable Property Substitutes As List(Of InventoryDetailSubstitute) Public Overridable Property Retail As Decimal Public Overridable Property OurPrice As Decimal Public Overridable Property SalePrice As Nullable(Of Decimal) Public Overridable Property SaleInfo As String Public Overridable Property PriceA As Decimal Public Overridable Property PriceB As Decimal Public Overridable Property PriceC As Decimal Public Overridable Property MinPrice As Decimal Public Overridable Property ActiveEPrice As Decimal Public Overridable Property CustomerPrice As Decimal Public Overridable Property AllowPriceChange As Boolean Public Overridable Property Qty As Decimal Public Overridable Property QtyAvail As Decimal Public Overridable Property ActiveeHoldbackQty As Decimal Public Overridable Property ReorderMin As Integer Public Overridable Property ReorderMax As Integer Public Overridable Property AverageCost As Nullable(Of Decimal) Public Overridable Property WeightedCost As Nullable(Of Decimal) Public Overridable Property Locator As String Public Overridable Property SelectionCode As String Public Overridable Property SelectionCodeDescription As String Public Overridable Property Spiff As Decimal Public Overridable Property CurrentSpotCheckQty As Nullable(Of Decimal) Public Overridable Property QtyOut As Decimal Public Overridable Property QtyOnOrder As Decimal Public Overridable Property AvailableForSTR As Decimal End Class Public Partial Class InventoryDetailBySerial Public Sub New() Attributes = New List(Of InventoryDetailAttribute) Images = New List(Of ImageInfo) End Sub Public Overridable Property SasPk As Long Public Overridable Property Serial As String Public Overridable Property Retail As Decimal Public Overridable Property OurPrice As Decimal Public Overridable Property SalePrice As Nullable(Of Decimal) Public Overridable Property Status As String Public Overridable Property SaleInfo As String Public Overridable Property PriceA As Decimal Public Overridable Property PriceB As Decimal Public Overridable Property PriceC As Decimal Public Overridable Property MinPrice As Decimal Public Overridable Property ActiveEPrice As Decimal Public Overridable Property AllowPriceChange As Boolean Public Overridable Property Cost As Nullable(Of Decimal) Public Overridable Property WeightedCost As Nullable(Of Decimal) Public Overridable Property Notes As String Public Overridable Property Attributes As List(Of InventoryDetailAttribute) Public Overridable Property Images As List(Of ImageInfo) Public Overridable Property HasImages As Boolean Public Overridable Property IsActiveeHoldback As Boolean Public Overridable Property CustomerAcct As Nullable(Of Integer) Public Overridable Property AvailableForSTR As Boolean End Class Public Partial Class InventoryDetailByVariant Public Sub New() Attributes = New List(Of InventoryDetailAttribute) LocationDetails = New List(Of InventoryDetailByLocation) Images = New List(Of ImageInfo) Barcodes = New List(Of String) End Sub Public Overridable Property SkuPk As Long Public Overridable Property Sku As String Public Overridable Property VendorCost As Nullable(Of Decimal) Public Overridable Property VendorName As String Public Overridable Property Attributes As List(Of InventoryDetailAttribute) Public Overridable Property LocationDetails As List(Of InventoryDetailByLocation) Public Overridable Property Images As List(Of ImageInfo) Public Overridable Property HasImages As Boolean Public Overridable Property Barcodes As List(Of String) End Class Public Partial Class InventoryDetailSubstitute Public Overridable Property Model As String Public Overridable Property Sku As String Public Overridable Property Mfg As String Public Overridable Property Description As String Public Overridable Property Price As Decimal Public Overridable Property AvailableQty As Decimal End Class Public Partial Class SearchInventoryApiResult Inherits SearchInventoryResultSet Public Overridable Property Detail As InventoryDetail Public Overridable Property IconImage As ImageInfo Public Overridable Property CustomerPrice As Decimal End Class ''' '''SearchInventoryRequires active-e Inventory Service ''' Public Partial Class SearchInventoryRequest Inherits BaseSecureRequest Implements IReturn(Of SearchInventoryResponse) Public Sub New() CatIdList = New List(Of Long) SubIdList = New List(Of Long) MfgIdList = New List(Of Long) SelIdList = New List(Of Long) End Sub ''' '''If sent, only items from the passed location will be returned ''' Public Overridable Property LocFk As Nullable(Of Integer) ''' '''For Internal Use Only ''' Public Overridable Property MfgFk As Nullable(Of Integer) ''' '''For Internal Use Only ''' Public Overridable Property CatFk As Nullable(Of Integer) ''' '''For Internal Use Only ''' Public Overridable Property SubFk As Nullable(Of Integer) ''' '''For Internal Use Only ''' Public Overridable Property SelFk As Nullable(Of Integer) ''' '''If sent, only items from the passed category# will be returned ''' Public Overridable Property Cat As Nullable(Of Integer) ''' '''If sent, only items from the passed subcategory# will be returned. Must be used in conjunction with the Cat parameter. ''' Public Overridable Property Sub As Nullable(Of Integer) ''' '''If sent, only items with the passed selection code will be returned ''' Public Overridable Property SelectionCode As String ''' '''If sent, only items with the passed mfg code will be returned ''' Public Overridable Property Mfg As String ''' '''Serialized Items will be included in the search results ''' Public Overridable Property IncludeSerials As Nullable(Of Boolean) ''' '''Media Items will be included in the search results ''' Public Overridable Property IncludeMedia As Nullable(Of Boolean) ''' '''Non-Serialized, Non-Media Items will be included in the search results ''' Public Overridable Property IncludeAccessories As Nullable(Of Boolean) ''' '''Package Deal Items will be included in the search results ''' Public Overridable Property IncludePackages As Nullable(Of Boolean) ''' '''The string to be searched for ''' Public Overridable Property SearchStr As String ''' '''If set, only items with the exact model contained in the search string will be returned ''' Public Overridable Property ExactModel As Nullable(Of Boolean) ''' '''The Starting Offse ''' Public Overridable Property StartOffset As Nullable(Of Long) ''' '''The # of records to be returned ''' Public Overridable Property RecordCount As Nullable(Of Long) ''' '''If set, Icon Image Urls will be included in the result, if available ''' Public Overridable Property IncludeIconImage As Nullable(Of Boolean) ''' '''If sent, only items from the passed category IDs will be returned ''' Public Overridable Property CatIdList As List(Of Long) ''' '''If sent, only items from the passed subcategory IDs will be returned ''' Public Overridable Property SubIdList As List(Of Long) ''' '''If sent, only items from the passed mfg IDs will be returned ''' Public Overridable Property MfgIdList As List(Of Long) ''' '''If sent, only items from the passed selection code IDs will be returned ''' Public Overridable Property SelIdList As List(Of Long) ''' '''Deleted Items will be included in the search results ''' Public Overridable Property IncludeDeleted As Nullable(Of Boolean) ''' '''If sent, only inventory changed on or after this date/time will be included ''' Public Overridable Property ChangedDate As Nullable(Of Date) ''' '''Package Deal Line Items will be included ''' Public Overridable Property IncludePackageLineItems As Nullable(Of Boolean) ''' '''If set, the InventoryDetails object for each item will also be returned. This is much slower. ''' Public Overridable Property IncludeDetails As Nullable(Of Boolean) ''' '''If sent, only items with an Available Quantity greater then or equal to the sent value will be returned. Use of this parameter requires that the LocFk parameter also be sent. ''' Public Overridable Property MinimumAvailableQuantity As Nullable(Of Integer) End Class Public Partial Class SearchInventoryResponse Inherits BaseResponse Public Sub New() Records = New List(Of SearchInventoryApiResult) End Sub Public Overridable Property StartOffset As Long Public Overridable Property RecordCount As Long Public Overridable Property RemainingRecords As Long Public Overridable Property TotalRecords As Long Public Overridable Property Records As List(Of SearchInventoryApiResult) End Class End Namespace End Namespace