' Options: 'Date: 2026-10-12 00:48:36 '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: CourierRunBuildRequest.* '''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 CourierItemView Public Overridable Property CourierItemID As Integer Public Overridable Property DispatchOdRequestID As Integer Public Overridable Property Seq As Integer Public Overridable Property TagCode As String Public Overridable Property Custody As String Public Overridable Property IsOpen As Boolean Public Overridable Property IsMissing As Boolean Public Overridable Property MissingReason As String Public Overridable Property IsManual As Boolean Public Overridable Property ReTagFlag As Boolean Public Overridable Property Scanned As Boolean End Class Public Partial Class CourierRunBuildRequest Implements IReturn(Of CourierRunResponse) Public Overridable Property ProfileId As Integer Public Overridable Property FacilityCode As String Public Overridable Property Codes As List(Of String) = New List(Of String) Public Overridable Property DriverContactId As Integer? Public Overridable Property EquipmentID As Integer? End Class Public Partial Class CourierRunResponse Public Overridable Property Runs As List(Of CourierRunView) = New List(Of CourierRunView) Public Overridable Property Run As CourierRunView Public Overridable Property Message As String Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class CourierRunView Public Overridable Property CourierRunID As Integer Public Overridable Property Code As String Public Overridable Property Status As String Public Overridable Property CourierProfileId As Integer Public Overridable Property ProfileName As String Public Overridable Property CourierFacilityId As Integer Public Overridable Property FacilityName As String Public Overridable Property FacilityAddress As String Public Overridable Property DriverContactId As Integer? Public Overridable Property DriverName As String Public Overridable Property EquipmentID As Integer? Public Overridable Property VehicleUnit As String Public Overridable Property UnitOne As String Public Overridable Property UnitMany As String Public Overridable Property Units As Integer Public Overridable Property StopCount As Integer Public Overridable Property StopsDone As Integer Public Overridable Property Pay As Decimal? Public Overridable Property BuiltUtc As Date? Public Overridable Property StartedUtc As Date? Public Overridable Property CompletedUtc As Date? Public Overridable Property ToLoad As Integer Public Overridable Property ToReturn As Integer Public Overridable Property Stops As List(Of CourierStopView) = New List(Of CourierStopView) End Class Public Partial Class CourierStopView Public Overridable Property Sequence As Integer Public Overridable Property Status As String Public Overridable Property DispatchOdRequestID As Integer Public Overridable Property Code As String Public Overridable Property CourierStep As String Public Overridable Property Address As String Public Overridable Property Unit As String Public Overridable Property City As String Public Overridable Property Zip As String Public Overridable Property Lat As Decimal? Public Overridable Property Lng As Decimal? Public Overridable Property CustomerName As String Public Overridable Property CustomerPhone As String Public Overridable Property Handoff As String Public Overridable Property GateCode As String Public Overridable Property Instructions As String Public Overridable Property Units As Integer Public Overridable Property DueText As String Public Overridable Property Note As String Public Overridable Property Needs As List(Of String) = New List(Of String) Public Overridable Property Items As List(Of CourierItemView) = New List(Of CourierItemView) 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