' Options: 'Date: 2026-09-05 07:07:41 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''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: DispatchSettlementDeductionRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class DispatchLoadStageView Public Overridable Property Stage As String Public Overridable Property AtUtc As Date Public Overridable Property Note As String End Class Public Partial Class DispatchLoadView Public Overridable Property LoadId As Integer Public Overridable Property Code As String Public Overridable Property [Module] As String Public Overridable Property TruckLabel As String Public Overridable Property DriverLabel As String Public Overridable Property CarrierLabel As String Public Overridable Property SourceLabel As String Public Overridable Property DestinationLabel As String Public Overridable Property Qty As Decimal? Public Overridable Property Unit As String Public Overridable Property QtyText As String Public Overridable Property TicketCode As String Public Overridable Property RateApplied As Decimal? Public Overridable Property RateBasis As String Public Overridable Property Revenue As Decimal? Public Overridable Property PayPlanLabel As String Public Overridable Property Pay As Decimal? Public Overridable Property Status As String Public Overridable Property OpenedUtc As Date Public Overridable Property ClosedUtc As Date? Public Overridable Property Photos As Integer Public Overridable Property Stages As List(Of DispatchLoadStageView) = New List(Of DispatchLoadStageView) End Class Public Partial Class DispatchSettlementDeductionRequest Implements IReturn(Of DispatchSettlementsResponse) Public Overridable Property SettlementId As Integer Public Overridable Property Deduction As DispatchSettlementDeductionView Public Overridable Property Delete As Boolean End Class Public Partial Class DispatchSettlementDeductionView Public Overridable Property DeductionId As Integer Public Overridable Property Kind As String Public Overridable Property Label As String Public Overridable Property Amount As Decimal Public Overridable Property Note As String End Class Public Partial Class DispatchSettlementsResponse Public Overridable Property Settlements As List(Of DispatchSettlementView) = New List(Of DispatchSettlementView) Public Overridable Property Settlement As DispatchSettlementView Public Overridable Property Suggestions As List(Of DispatchSettlementSuggestView) = New List(Of DispatchSettlementSuggestView) Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class DispatchSettlementSuggestView Public Overridable Property VendorID As Integer Public Overridable Property VendorName As String Public Overridable Property SplitPct As Decimal Public Overridable Property Terms As String Public Overridable Property W9OnFile As Boolean Public Overridable Property CoiExpires As Date? Public Overridable Property PeriodStart As Date Public Overridable Property PeriodEnd As Date Public Overridable Property UnsettledLoads As Integer Public Overridable Property UnpricedLoads As Integer Public Overridable Property UnsettledPay As Decimal End Class Public Partial Class DispatchSettlementView Public Overridable Property SettlementId As Integer Public Overridable Property Code As String Public Overridable Property VendorID As Integer Public Overridable Property VendorName As String Public Overridable Property PeriodStart As Date Public Overridable Property PeriodEnd As Date Public Overridable Property LoadCount As Integer Public Overridable Property GrossRevenue As Decimal Public Overridable Property SplitPct As Decimal Public Overridable Property CarrierShare As Decimal Public Overridable Property DeductionsTotal As Decimal Public Overridable Property Net As Decimal Public Overridable Property Status As String Public Overridable Property Notes As String Public Overridable Property GeneratedUtc As Date Public Overridable Property SentUtc As Date? Public Overridable Property ApprovedUtc As Date? Public Overridable Property ApprovedBy As String Public Overridable Property PaidUtc As Date? Public Overridable Property PaidRef As String Public Overridable Property ContactCount As Integer Public Overridable Property Deductions As List(Of DispatchSettlementDeductionView) = New List(Of DispatchSettlementDeductionView) Public Overridable Property Loads As List(Of DispatchLoadView) = New List(Of DispatchLoadView) End Class End Namespace Namespace ServiceStack Public Partial Class ResponseStatus Implements IMeta Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As List(Of ResponseError) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace