' Options: 'Date: 2026-08-20 12:56:00 '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: DispatchLogRequest.* '''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 DispatchActionResponse Public Overridable Property Board As DispatchBoardView Public Overridable Property Message As String Public Overridable Property Sent As Integer Public Overridable Property Failed As Integer Public Overridable Property TicketCode As String Public Overridable Property TicketNet As Decimal Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class DispatchAutopilotView Public Overridable Property IsOn As Boolean Public Overridable Property RuleSlot As Boolean Public Overridable Property RuleRoute As Boolean Public Overridable Property RuleRelease As Boolean Public Overridable Property RuleTract As Boolean Public Overridable Property RuleThrottle As Boolean Public Overridable Property RuleOffline As Boolean Public Overridable Property ThStaged As Integer Public Overridable Property ThWait As Integer Public Overridable Property ThBand As Integer Public Overridable Property ThStall As Integer Public Overridable Property ThFeed As Integer End Class Public Partial Class DispatchBoardView Public Overridable Property Pack As DispatchPackConfigView Public Overridable Property Config As DispatchHaulConfigView Public Overridable Property OfflineWindows As List(Of DispatchOfflineWindowView) = New List(Of DispatchOfflineWindowView) Public Overridable Property Suppliers As List(Of DispatchSupplierView) = New List(Of DispatchSupplierView) Public Overridable Property Trucks As List(Of DispatchTruckView) = New List(Of DispatchTruckView) Public Overridable Property Slots As List(Of DispatchSlotView) = New List(Of DispatchSlotView) Public Overridable Property Tickets As List(Of DispatchTicketView) = New List(Of DispatchTicketView) Public Overridable Property Log As List(Of DispatchLogView) = New List(Of DispatchLogView) Public Overridable Property Autopilot As DispatchAutopilotView Public Overridable Property Exceptions As List(Of DispatchExceptionView) = New List(Of DispatchExceptionView) Public Overridable Property Feed As List(Of DispatchFeedView) = New List(Of DispatchFeedView) Public Overridable Property Rigs As List(Of DispatchRigView) = New List(Of DispatchRigView) Public Overridable Property Jobs As List(Of DispatchJobView) = New List(Of DispatchJobView) Public Overridable Property OdDrivers As List(Of DispatchOdDriverView) = New List(Of DispatchOdDriverView) Public Overridable Property OdRequests As List(Of DispatchOdRequestView) = New List(Of DispatchOdRequestView) Public Overridable Property Packs As List(Of DispatchPackView) = New List(Of DispatchPackView) Public Overridable Property PackTerms As List(Of DispatchPackTermView) = New List(Of DispatchPackTermView) Public Overridable Property PackUnits As List(Of DispatchPackUnitView) = New List(Of DispatchPackUnitView) End Class Public Partial Class DispatchExceptionView Public Overridable Property Code As String Public Overridable Property Kind As String Public Overridable Property Severity As String Public Overridable Property TruckCode As String Public Overridable Property SupplierCode As String Public Overridable Property RaisedAt As Date Public Overridable Property RaisedLabel As String Public Overridable Property MinsAgo As Integer End Class Public Partial Class DispatchFeedView Public Overridable Property FeedId As Integer Public Overridable Property EntryAt As Date Public Overridable Property EntryLabel As String Public Overridable Property Channel As String Public Overridable Property Kind As String Public Overridable Property TruckCode As String Public Overridable Property SupplierCode As String Public Overridable Property OverrideText As String Public Overridable Property MinsAgo As Integer End Class Public Partial Class DispatchHaulConfigView Public Overridable Property QueueMax As Integer Public Overridable Property DumpBays As Integer Public Overridable Property SlotCap As Integer Public Overridable Property Paused As Boolean Public Overridable Property FeedRate As Integer End Class Public Partial Class DispatchJobView Public Overridable Property JobId As Integer Public Overridable Property Code As String Public Overridable Property Cargo As String Public Overridable Property Customer As String Public Overridable Property CustomerPhone As String Public Overridable Property HoldContact As String Public Overridable Property HoldPhone As String Public Overridable Property FromLoc As String Public Overridable Property ToLoc As String Public Overridable Property Miles As Integer Public Overridable Property WindowText As String Public Overridable Property Stage As String Public Overridable Property Rate As Decimal? Public Overridable Property RequiredRig As String Public Overridable Property DriverLabel As String Public Overridable Property EtaText As String Public Overridable Property OfferRigIds As String Public Overridable Property OfferExpiresMin As Integer? Public Overridable Property OfferExpired As Boolean Public Overridable Property Declined As Boolean End Class Public Partial Class DispatchLogRequest Implements IReturn(Of DispatchActionResponse) Public Overridable Property LogText As String Public Overridable Property Kind As String Public Overridable Property AtMin As Integer End Class Public Partial Class DispatchLogView Public Overridable Property LogId As Integer Public Overridable Property LoggedAt As Date Public Overridable Property LoggedMin As Integer Public Overridable Property LogText As String Public Overridable Property Kind As String Public Overridable Property MinsAgo As Integer End Class Public Partial Class DispatchOdDriverView Public Overridable Property DriverId As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property Zone As String Public Overridable Property Phone As String Public Overridable Property Status As String Public Overridable Property Tier As String Public Overridable Property DistanceMi As Decimal Public Overridable Property Capabilities As String End Class Public Partial Class DispatchOdRequestView Public Overridable Property RequestId As Integer Public Overridable Property Code As String Public Overridable Property Address As String Public Overridable Property Zone As String Public Overridable Property Bags As Integer Public Overridable Property Stage As String Public Overridable Property DriverCode As String Public Overridable Property Needs As String Public Overridable Property Note As String Public Overridable Property PingExpiresMin As Integer? Public Overridable Property TriedCodes As String Public Overridable Property CandidateCodes As String Public Overridable Property EtaText As String Public Overridable Property NoDriver As String End Class Public Partial Class DispatchOfflineWindowView Public Overridable Property OfflineWindowId As Integer Public Overridable Property FromHour As String Public Overridable Property ToHour As String End Class Public Partial Class DispatchPackConfigView Public Overridable Property PackId As String Public Overridable Property HasQuotas As Boolean Public Overridable Property IsInverted As Boolean Public Overridable Property LoadLimitMins As Integer Public Overridable Property TicketSource As String Public Overridable Property PayBasis As String Public Overridable Property DayBoundary As String End Class Public Partial Class DispatchPackTermView Public Overridable Property PackId As String Public Overridable Property Lang As String Public Overridable Property ModeName As String Public Overridable Property Facility As String Public Overridable Property FacilityShort As String Public Overridable Property SourceSite As String Public Overridable Property Supplier As String Public Overridable Property SupplierPlural As String Public Overridable Property UnloadVerb As String Public Overridable Property TicketNoun As String Public Overridable Property DayNoun As String Public Overridable Property FleetLabel As String Public Overridable Property PageSubtitle As String Public Overridable Property SeasonChip As String Public Overridable Property CampaignNoun As String Public Overridable Property BayNoun As String Public Overridable Property AssignTarget As String End Class Public Partial Class DispatchPackUnitView Public Overridable Property PackId As String Public Overridable Property Unit As String Public Overridable Property LoadQty As Decimal Public Overridable Property VolumeLow As Integer Public Overridable Property VolumeHigh As Integer Public Overridable Property SeasonMultiple As Decimal Public Overridable Property WeeklyFraction As Decimal End Class Public Partial Class DispatchPackView Public Overridable Property PackId As String Public Overridable Property HasQuotas As Boolean Public Overridable Property IsInverted As Boolean Public Overridable Property LoadLimitMins As Integer Public Overridable Property DayBoundary As String Public Overridable Property TicketSource As String Public Overridable Property PayBasis As String Public Overridable Property SortOrder As Integer End Class Public Partial Class DispatchRigView Public Overridable Property RigId As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property DriverName As String Public Overridable Property Phone As String Public Overridable Property RigType As String Public Overridable Property IsFree As Boolean Public Overridable Property MatchRank As Integer End Class Public Partial Class DispatchSiteView Public Overridable Property SiteId As Integer Public Overridable Property SupplierId As Integer Public Overridable Property SupplierCode As String Public Overridable Property Name As String Public Overridable Property Acres As Integer Public Overridable Property StandingVolume As Decimal Public Overridable Property SortOrder As Integer End Class Public Partial Class DispatchSlotView Public Overridable Property SlotId As Integer Public Overridable Property Hour As String Public Overridable Property BaseBooked As Integer Public Overridable Property SortOrder As Integer End Class Public Partial Class DispatchSupplierView Public Overridable Property SupplierId As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property Region As String Public Overridable Property OwnHauler As Boolean Public Overridable Property SeasonAllotment As Decimal Public Overridable Property Delivered As Decimal Public Overridable Property WeekCap As Decimal Public Overridable Property WeekDelivered As Decimal Public Overridable Property SortOrder As Integer Public Overridable Property Sites As List(Of DispatchSiteView) = New List(Of DispatchSiteView) End Class Public Partial Class DispatchTicketView Public Overridable Property TicketId As Integer Public Overridable Property Code As String Public Overridable Property TruckCode As String Public Overridable Property SupplierCode As String Public Overridable Property NetQty As Decimal Public Overridable Property TicketedAt As Date Public Overridable Property TicketedMin As Integer Public Overridable Property Source As String Public Overridable Property MinsAgo As Integer End Class Public Partial Class DispatchTruckView Public Overridable Property TruckId As Integer Public Overridable Property Code As String Public Overridable Property DriverName As String Public Overridable Property Phone As String Public Overridable Property EmployerCode As String Public Overridable Property SupplierCode As String Public Overridable Property SiteName As String Public Overridable Property EstLoad As Decimal Public Overridable Property Stage As String Public Overridable Property StageSince As Integer Public Overridable Property CycleStart As Integer? Public Overridable Property StageMinsAgo As Integer Public Overridable Property CycleMinsAgo As Integer? Public Overridable Property Slot As String Public Overridable Property LoadsToday As Integer Public Overridable Property NetToday As Decimal Public Overridable Property LastPingMins As Integer Public Overridable Property CycleMins As String Public Overridable Property IsInteractive As Boolean Public Overridable Property NextSupplierCode As String Public Overridable Property NextSiteName As String 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