' Options: 'Date: 2025-05-10 03:09:56 '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: SearchCustomersRequest.* '''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 Namespace Global Namespace AIM Public Partial Class CustomerDefaultInfo Public Overridable Property Id As Long Public Overridable Property Desc As String Public Overridable Property ShortDesc As String End Class Public Partial Class CustomerSearchRecord Inherits BindableObject Public Sub New() DependantInfo = New List(Of DependantRecord) End Sub Public Overridable Property Pk As Long Public Overridable Property Acct As Integer Public Overridable Property Last As String Public Overridable Property Name As String Public Overridable Property Addr1 As String Public Overridable Property Addr2 As String Public Overridable Property City As String Public Overridable Property St As String Public Overridable Property Zip As String Public Overridable Property Phone As String Public Overridable Property Email As String Public Overridable Property OpenInvoices As Boolean Public Overridable Property RentalActivity As Boolean Public Overridable Property StLoc As String Public Overridable Property Hold As Boolean Public Overridable Property Barcode As String Public Overridable Property Color As Integer Public Overridable Property DependantInfo As List(Of DependantRecord) Public Overridable Property AdditionalDetails As AdditionalDetail Public Overridable Property MatchedOn As String Public Partial Class DependantRecord Public Overridable Property Name As String Public Overridable Property OnlineId As String Public Overridable Property SchoolDistrict As String Public Overridable Property School As String Public Overridable Property Id As Long End Class Public Partial Class AdditionalDetail Public Overridable Property CreationDate As Date Public Overridable Property LastModifiedDate As Date Public Overridable Property Notes As String Public Overridable Property CustomerDefault As CustomerDefaultInfo Public Overridable Property TaxAuthority As TaxAuthorityInfo Public Overridable Property CanCharge As Boolean Public Overridable Property PopupNotes As String Public Overridable Property DlNumber As String Public Overridable Property Phone2 As String Public Overridable Property Phone3 As String Public Overridable Property Phone4 As String Public Overridable Property Location As LocationInfo End Class End Class 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 Public Partial Class TaxAuthorityInfo Public Overridable Property Id As Long Public Overridable Property Desc As String Public Overridable Property ShortDesc As String End Class End Namespace Namespace AIM.Global.Utils Public Partial Class BindableObject End Class End Namespace Namespace AIM.WebService 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 ''' '''SearchCustomersRequires active-e Customer Service. ''' Public Partial Class SearchCustomersRequest Inherits BaseSecureRequest Implements IReturn(Of SearchCustomersResponse) Public Overridable Property SearchString As String Public Overridable Property IncludeStoreAccounts As Nullable(Of Boolean) Public Overridable Property StartOffset As Nullable(Of Long) Public Overridable Property RecordCount As Nullable(Of Long) Public Overridable Property IncludeDependants As Nullable(Of Boolean) Public Overridable Property IncludeAdditionalDetails As Nullable(Of Boolean) Public Overridable Property ChangedDate As Nullable(Of Date) Public Overridable Property LocId As Nullable(Of Long) End Class Public Partial Class SearchCustomersResponse Inherits BaseResponse Public Sub New() Customers = New List(Of CustomerSearchRecord) 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 Customers As List(Of CustomerSearchRecord) End Class End Namespace End Namespace