' Options: 'Date: 2026-11-19 04:06:53 '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: DispatchBoardRequest.* '''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 CourierDeskRow Public Overridable Property Code As String Public Overridable Property CourierProfileId As Integer Public Overridable Property FacilityName As String Public Overridable Property LevelCode As String Public Overridable Property LevelName As String Public Overridable Property DueUtc As Date? Public Overridable Property DueText As String Public Overridable Property Units As Integer Public Overridable Property UnitsFound As Integer? Public Overridable Property UnitMany As String Public Overridable Property Fare As Decimal? Public Overridable Property FinalPrice As Decimal? Public Overridable Property TipAmount As Decimal? Public Overridable Property PayMode As String Public Overridable Property CaptureMode As String Public Overridable Property CustomerName As String Public Overridable Property Area As String Public Overridable Property IntakeUtc As Date? Public Overridable Property IntakeMinAgo As Integer? Public Overridable Property DamageNote As String Public Overridable Property FinalPriceAfterCount As Boolean Public Overridable Property NeedsPrice As Boolean Public Overridable Property ItemCount As Integer Public Overridable Property MissingCount As Integer Public Overridable Property PhotoCount As Integer End Class Public Partial Class CourierDriverOption Public Overridable Property ContactId As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property Online As Boolean Public Overridable Property Zone As String Public Overridable Property VehicleUnit As String Public Overridable Property EquipmentID As Integer? Public Overridable Property SentToFacility As Boolean End Class Public Partial Class CourierFacilityOption Public Overridable Property CourierFacilityID As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property Address As String Public Overridable Property IntakeMin As Integer End Class Public Partial Class CourierHeldView Public Overridable Property Code As String Public Overridable Property Area As String Public Overridable Property Units As Integer Public Overridable Property UnitMany As String Public Overridable Property Miles As Decimal? Public Overridable Property LevelCode As String Public Overridable Property LevelName As String Public Overridable Property DueText As String Public Overridable Property HeldReason As String Public Overridable Property HeldMin As Integer? Public Overridable Property Why As List(Of String) = New List(Of String) Public Overridable Property BestDriverContactId As Integer? Public Overridable Property BestName As String Public Overridable Property BestLeaveByText As String End Class Public Partial Class CourierMoveTarget Public Overridable Property DriverContactId As Integer Public Overridable Property Name As String Public Overridable Property Ok As Boolean Public Overridable Property Why As String Public Overridable Property LeaveByText As String End Class Public Partial Class CourierOfficeVan Public Overridable Property DriverContactId As Integer Public Overridable Property DriverCode As String Public Overridable Property Name As String Public Overridable Property Online As Boolean Public Overridable Property Zone As String Public Overridable Property VehicleUnit As String Public Overridable Property FacilityName As String Public Overridable Property State As String Public Overridable Property LeaveByUtc As Date? Public Overridable Property LeaveByText As String Public Overridable Property SlackMin As Integer? Public Overridable Property InVan As Integer Public Overridable Property Committed As Integer Public Overridable Property Cap As Decimal? Public Overridable Property CapUnit As String Public Overridable Property UnitMany As String Public Overridable Property CriticalCode As String Public Overridable Property DriveMin As Integer Public Overridable Property SendNote As String Public Overridable Property Aboard As List(Of CourierVanChip) = New List(Of CourierVanChip) Public Overridable Property Queued As List(Of CourierVanChip) = New List(Of CourierVanChip) End Class Public Partial Class CourierOfficeView Public Overridable Property ServerUtc As Date Public Overridable Property Vans As List(Of CourierOfficeVan) = New List(Of CourierOfficeVan) Public Overridable Property Held As List(Of CourierHeldView) = New List(Of CourierHeldView) Public Overridable Property Vehicles As List(Of CourierVehicleOption) = New List(Of CourierVehicleOption) Public Overridable Property Profiles As List(Of CourierProfileOption) = New List(Of CourierProfileOption) Public Overridable Property Drivers As List(Of CourierDriverOption) = New List(Of CourierDriverOption) Public Overridable Property Desk As List(Of CourierDeskRow) = New List(Of CourierDeskRow) Public Overridable Property GoCount As Integer Public Overridable Property HeldCount As Integer Public Overridable Property ReadyToOffer As Integer Public Overridable Property IntakeMin As Integer? Public Overridable Property FacilityNoun As String End Class Public Partial Class CourierProfileOption Public Overridable Property CourierProfileID As Integer Public Overridable Property Name As String Public Overridable Property RouteShape As String Public Overridable Property Enabled As Boolean Public Overridable Property UnitOne As String Public Overridable Property UnitMany As String Public Overridable Property FacilityNoun As String Public Overridable Property Facilities As List(Of CourierFacilityOption) = New List(Of CourierFacilityOption) End Class Public Partial Class CourierVanChip Public Overridable Property Code As String Public Overridable Property CourierStep As String Public Overridable Property LevelCode As String Public Overridable Property LevelName As String Public Overridable Property Units As Integer Public Overridable Property Area As String Public Overridable Property DueUtc As Date? Public Overridable Property DueText As String Public Overridable Property Movable As Boolean Public Overridable Property NoMoveWhy As String Public Overridable Property Targets As List(Of CourierMoveTarget) = New List(Of CourierMoveTarget) End Class Public Partial Class CourierVehicleOption Public Overridable Property CourierProfileId As Integer Public Overridable Property EquipmentID As Integer Public Overridable Property UnitNumber As String Public Overridable Property VehicleType As String Public Overridable Property CapacityUnit As String Public Overridable Property CapacityLimit As Decimal? Public Overridable Property IsRefrigerated As Boolean Public Overridable Property Status As String Public Overridable Property Ownership As String Public Overridable Property OwnerContactId As Integer? 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 DispatchBoardIncidentView Public Overridable Property IncidentId As Integer Public Overridable Property Code As String Public Overridable Property Kind As String Public Overridable Property KindDetail As String Public Overridable Property Status As String Public Overridable Property TruckCode As String Public Overridable Property LoadCode As String Public Overridable Property TruckRecovery As String Public Overridable Property LoadRecovery As String Public Overridable Property OpenedUtc As Date End Class Public Partial Class DispatchBoardRequest Implements IReturn(Of DispatchBoardResponse) End Class Public Partial Class DispatchBoardResponse Public Overridable Property Board As DispatchBoardView Public Overridable Property ResponseStatus As ResponseStatus 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) Public Overridable Property Holds As List(Of DispatchHoldView) = New List(Of DispatchHoldView) Public Overridable Property Incidents As List(Of DispatchBoardIncidentView) = New List(Of DispatchBoardIncidentView) Public Overridable Property Courier As CourierOfficeView 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 DispatchHoldView Public Overridable Property HoldId As Integer Public Overridable Property Code As String Public Overridable Property ScopeKind As String Public Overridable Property ScopeKey As String Public Overridable Property ScopeLabel As String Public Overridable Property Reason As String Public Overridable Property Note As String Public Overridable Property StartUtc As Date Public Overridable Property EndUtc As Date Public Overridable Property Source As String Public Overridable Property IncidentRef As String Public Overridable Property LiftedUtc As Date? Public Overridable Property LiftedBy As String Public Overridable Property CreatedUtc As Date? Public Overridable Property CreatedBy As String Public Overridable Property Status As String 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 OfferExpiresInMins As Integer? Public Overridable Property OfferExpired As Boolean Public Overridable Property Declined As Boolean 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 Public Overridable Property DispatchState As String Public Overridable Property DispatchReason 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 PingExpiresInMins 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 Public Overridable Property DispatchState As String Public Overridable Property DispatchReason As String 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 DispatchState As String Public Overridable Property DispatchReason 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