' Options: 'Date: 2025-05-10 04:28:04 '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: InvoiceDetailRequest.* '''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 Namespace Global 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 ''' '''InvoiceDetailRequires active-e Customer Service. ''' Public Partial Class InvoiceDetailRequest Inherits BaseSecureRequest Implements IReturn(Of InvoiceDetailResponse) Public Overridable Property Acct As Nullable(Of Integer) Public Overridable Property InvoiceStartDate As Nullable(Of Date) Public Overridable Property InvoiceEndDate As Nullable(Of Date) ''' '''The Starting Offset. Defaults to 0 if not sent. ''' Public Overridable Property StartOffset As Nullable(Of Long) ''' '''The # of records to be returned. Defaults to 100 if not sent. ''' Public Overridable Property RecordCount As Nullable(Of Long) ''' '''The Invoice Ref# to be looked up. If sent, do not send WebRef, Acct, InvoiceStartDate, InvoiceEndDate, StartOffset, or RecordCount ''' Public Overridable Property AIMRef As String ''' '''The WebRef to be looked up. If sent, do not send AIMRef, Acct, InvoiceStartDate, InvoiceEndDate, StartOffset, or RecordCount ''' Public Overridable Property WebRef As String End Class Public Partial Class InvoiceDetailResponse Inherits BaseResponse Public Sub New() Invoices = New List(Of InvoiceInfo) End Sub Public Overridable Property Invoices As List(Of InvoiceInfo) Public Overridable Property RemainingRecords As Long End Class Public Partial Class InvoiceInfo Public Sub New() LineItems = New List(Of InvoiceLineItem) Payments = New List(Of InvoicePaymentItem) End Sub Public Overridable Property InvoiceNumber As String Public Overridable Property DateTime As Date Public Overridable Property SoldToAcct As Integer Public Overridable Property SoldToName As String Public Overridable Property BillToAcct As Integer Public Overridable Property BillToName As String Public Overridable Property Type As String Public Overridable Property PO As String Public Overridable Property OriginalAmount As Decimal Public Overridable Property Balance As Decimal Public Overridable Property Location As String Public Overridable Property ShipToName As String Public Overridable Property ShipToAddress As String Public Overridable Property ShipToId As Nullable(Of Long) Public Overridable Property LineItems As List(Of InvoiceLineItem) Public Overridable Property Payments As List(Of InvoicePaymentItem) End Class Public Partial Class InvoiceLineItem Public Overridable Property Quantity As Decimal Public Overridable Property Sku As String Public Overridable Property Description As String Public Overridable Property PriceEach As Decimal Public Overridable Property Extended As Decimal Public Overridable Property Discount As Decimal Public Overridable Property Total As Decimal Public Overridable Property OriginalRef As String Public Overridable Property Notes As String Public Overridable Property Source As String End Class Public Partial Class InvoicePaymentItem Public Overridable Property PayRef As String Public Overridable Property DateTime As Date Public Overridable Property Amount As Decimal Public Overridable Property Notes As String Public Overridable Property Source As String End Class End Namespace End Namespace