' Options: 'Date: 2025-05-10 03:05:28 '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: C2BGetInstrumentInfoRequest.* '''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 Namespace Global Namespace AIM Public Partial Class C2BAccessoryGeneric Public Overridable Property AccessoryDesc As String Public Overridable Property Price As Decimal Public Overridable Property Required As Boolean Public Overridable Property [Default] As Boolean Public Overridable Property RequiresLocation As Boolean Public Overridable Property Type As String Public Overridable Property Topic As String Public Overridable Property Id As Long Public Overridable Property DisplayOrder As Integer Public Overridable Property Sku As String Public Overridable Property TaxAmount As Nullable(Of Decimal) Public Overridable Property CatNum As Nullable(Of Integer) End Class Public Partial Class C2BGradeGeneric Public Overridable Property Level As Integer Public Overridable Property Grade As String Public Overridable Property DownPay As Decimal Public Overridable Property DownMaint As Decimal Public Overridable Property MoPay As Decimal Public Overridable Property MoMaint As Decimal Public Overridable Property Id As Long Public Overridable Property OutOfStock As Boolean Public Overridable Property RentPrice As Decimal Public Overridable Property CashPrice As Decimal Public Overridable Property DownPayTax As Nullable(Of Decimal) Public Overridable Property DownMaintTax As Nullable(Of Decimal) Public Overridable Property MoPayTax As Nullable(Of Decimal) Public Overridable Property MoMaintTax As Nullable(Of Decimal) Public Overridable Property RentPricePlusTax As Decimal Public Overridable Property RentPricePlusTaxLessDownpay As Decimal Public Overridable Property Months As Integer End Class Public Partial Class C2BInstrumentGeneric Public Sub New() GradeList = New List(Of C2BGradeGeneric) AccessoryList = New List(Of C2BAccessoryGeneric) DeliveryList = New List(Of C2BAccessoryGeneric) MaintenanceList = New List(Of C2BAccessoryGeneric) End Sub Public Overridable Property InstrumentName As String Public Overridable Property Sku As String Public Overridable Property Topic As String Public Overridable Property Image As String Public Overridable Property Level As Integer Public Overridable Property RentPrice As Nullable(Of Decimal) Public Overridable Property CashPrice As Nullable(Of Decimal) Public Overridable Property Token As String Public Overridable Property InstrumentId As Long Public Overridable Property InstrumentTeacherId As Long Public Overridable Property GradeList As List(Of C2BGradeGeneric) Public Overridable Property HasGrades As Boolean Public Overridable Property DisplayOrder As Integer Public Overridable Property AccessoryList As List(Of C2BAccessoryGeneric) Public Overridable Property DeliveryList As List(Of C2BAccessoryGeneric) Public Overridable Property MaintenanceList As List(Of C2BAccessoryGeneric) 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 ''' '''C2BGetInstrumentInfoRequires active-e Contracts Service. ''' Public Partial Class C2BGetInstrumentInfoRequest Inherits BaseSecureRequest Implements IReturn(Of C2BGetInstrumentInfoResponse) ''' '''ID of the Teacher/Instrument record. ''' Public Overridable Property RsiPk As Nullable(Of Long) ''' '''ID of the Teacher record. ''' Public Overridable Property TeacherId As Nullable(Of Long) ''' '''Optional Plan Code Override. If not sent, plancode from the school will be used. ''' Public Overridable Property PlanCode As String ''' '''If set to false, less details will be sent. Defaults to True. ''' Public Overridable Property GetDetails As Nullable(Of Boolean) ''' '''If set to true, Out of Stock items will be included. ''' Public Overridable Property IncludeOutOfStockItems As Nullable(Of Boolean) ''' '''If set to true, each instrument will include a list of accessory options. Defaults to False. ''' Public Overridable Property IncludeAccessoryOptions As Nullable(Of Boolean) ''' '''If set to true, each instrument will include a list of delivery options. Defaults to False. ''' Public Overridable Property IncludeDeliveryOptions As Nullable(Of Boolean) ''' '''If set to true, each instrument will include a list of maintenance options. Defaults to False. ''' Public Overridable Property IncludeMaintenanceOptions As Nullable(Of Boolean) End Class Public Partial Class C2BGetInstrumentInfoResponse Inherits BaseResponse Public Sub New() Instruments = New List(Of C2BInstrumentGeneric) End Sub Public Overridable Property Instruments As List(Of C2BInstrumentGeneric) End Class End Namespace End Namespace