' Options: 'Date: 2025-05-10 01:37:46 '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: AddCustomerRequest.* '''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 ''' '''AddCustomerRequires active-e Customer Service. ''' Public Partial Class AddCustomerRequest Inherits BaseSecureRequest Implements IReturn(Of AddCustomerResponse) Public Sub New() FormInputList = New List(Of FormInput) End Sub ''' '''Location ID ''' Public Overridable Property LocationId As Nullable(Of Long) ''' '''Customer Default Id ''' Public Overridable Property CustomerDefaultId As Nullable(Of Long) ''' '''Tax Authority Id ''' Public Overridable Property TaxAuthorityId As Nullable(Of Long) Public Overridable Property Name As String Public Overridable Property Attn As String Public Overridable Property Address1 As String Public Overridable Property Address2 As String Public Overridable Property City As String Public Overridable Property State As String Public Overridable Property Zip As String Public Overridable Property Country As String Public Overridable Property HomePhone As String Public Overridable Property WorkPhone As String Public Overridable Property CellPhone As String Public Overridable Property Employer As String Public Overridable Property SS As String Public Overridable Property Email As String ''' '''Email Method. Set this to Word, PDF, HTML, or None ''' Public Overridable Property EmailMethod As String Public Overridable Property Notes As String Public Overridable Property DriversLicenseInfo As LicenseInfo ''' ''' ''' Public Overridable Property FormInputList As List(Of FormInput) ''' '''Can be SKIP, CHECK, or CHECKONLY. Defaults to SKIP. SKIP will not do a duplicate check. CHECK will do a duplicate check and the customer will not added if duplicates are found. CHECKONLY will just do a duplicate check; the customer will not be added. Duplicate check logic is based on the AIM system variable CustDupCheck. ''' Public Overridable Property DuplicateCheckMode As String Public Partial Class LicenseInfo Public Overridable Property Number As String Public Overridable Property Height As String Public Overridable Property Weight As String Public Overridable Property Hair As String Public Overridable Property Eyes As String Public Overridable Property Expiration As String Public Overridable Property Birthday As String Public Overridable Property Ethnicity As String Public Overridable Property Gender As String Public Overridable Property State As String End Class End Class Public Partial Class AddCustomerResponse Inherits BaseResponse Public Sub New() PossibleDuplicates = New List(Of CustomerSearchRecord) End Sub Public Overridable Property Id As Nullable(Of Integer) ''' '''Only returned if PerformDuplicateCheck parameter was passed in and possible duplicates were found. If this is returned, the customer record was *not* created. ''' Public Overridable Property PossibleDuplicates As List(Of CustomerSearchRecord) 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 FormInput ''' '''Field Name of the Input Field ''' Public Overridable Property Key As String ''' '''Value of the Input Field. ''' Public Overridable Property Value As String ''' '''Whether or not the field is encryped with the C2B encryption key. ''' Public Overridable Property Encrypted As Boolean End Class End Namespace End Namespace