' Options: 'Date: 2026-10-23 09:41:48 '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: EquipmentDvirSignOffRequest.* '''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 DvirDefectView Public Overridable Property DvirDefectID As Integer Public Overridable Property ClientKey As String Public Overridable Property DvirReportID As Integer? Public Overridable Property ReportNumber As String Public Overridable Property EquipmentID As Integer Public Overridable Property Unit As String Public Overridable Property ItemKey As String Public Overridable Property Label As String Public Overridable Property FormLine As String Public Overridable Property IsCustom As Boolean Public Overridable Property Severity As String Public Overridable Property SeverityText As String Public Overridable Property Note As String Public Overridable Property Source As String Public Overridable Property ReportedByName As String Public Overridable Property ReportedAtUtc As Date? Public Overridable Property EquipmentMaintenanceID As Integer? Public Overridable Property Outcome As String Public Overridable Property OutcomeText As String Public Overridable Property OutcomeNote As String Public Overridable Property ScheduledFor As String Public Overridable Property SignedOffByName As String Public Overridable Property SignedOffAtUtc As Date? Public Overridable Property IsOpen As Boolean Public Overridable Property Withdrawn As Boolean Public Overridable Property PhotoCount As Integer Public Overridable Property Photos As List(Of DvirPhotoView) = New List(Of DvirPhotoView) End Class Public Partial Class DvirPhotoView Public Overridable Property WorkPhotoID As Integer Public Overridable Property DefectKey As String Public Overridable Property Url As String Public Overridable Property MarkedUrl As String Public Overridable Property CapturedAtUtc As Date? Public Overridable Property Lat As Decimal? Public Overridable Property Lng As Decimal? End Class Public Partial Class DvirReportView Public Overridable Property DvirReportID As Integer Public Overridable Property Number As String Public Overridable Property Kind As String Public Overridable Property KindText As String Public Overridable Property EquipmentID As Integer Public Overridable Property Unit As String Public Overridable Property Trailers As List(Of DvirUnitRef) = New List(Of DvirUnitRef) Public Overridable Property ContactID As Integer Public Overridable Property DriverName As String Public Overridable Property Board As String Public Overridable Property ForDate As String Public Overridable Property FiledAtUtc As Date Public Overridable Property SavedAtUtc As Date? Public Overridable Property IsLate As Boolean Public Overridable Property IsAway As Boolean Public Overridable Property IsSatisfactory As Boolean Public Overridable Property Odometer As Integer? Public Overridable Property LocationText As String Public Overridable Property Remarks As String Public Overridable Property ReviewedByName As String Public Overridable Property ReviewedAtUtc As Date? Public Overridable Property Chip As String Public Overridable Property Defects As List(Of DvirDefectView) = New List(Of DvirDefectView) Public Overridable Property Signatures As List(Of DvirSignatureView) = New List(Of DvirSignatureView) End Class Public Partial Class DvirSignatureView Public Overridable Property SignatureRecordID As Integer Public Overridable Property Role As String Public Overridable Property SignerName As String Public Overridable Property SignedAt As Date? Public Overridable Property ImageUrl As String End Class Public Partial Class DvirSignOffItem Public Overridable Property DvirDefectID As Integer Public Overridable Property Outcome As String Public Overridable Property Note As String Public Overridable Property ScheduledFor As String End Class Public Partial Class DvirUnitRef Public Overridable Property EquipmentID As Integer Public Overridable Property Unit As String End Class Public Partial Class DvirVehicleDetail Inherits DvirVehicleView Public Overridable Property Plate As String Public Overridable Property VIN As String Public Overridable Property GvwrLbs As Integer? Public Overridable Property BranchName As String Public Overridable Property InspectionDue As Date? Public Overridable Property InsuranceExpires As Date? Public Overridable Property RecentlyFixed As List(Of DvirDefectView) = New List(Of DvirDefectView) Public Overridable Property ReviewReports As List(Of DvirReportView) = New List(Of DvirReportView) Public Overridable Property History As List(Of DvirReportView) = New List(Of DvirReportView) End Class Public Partial Class DvirVehicleView Public Overridable Property EquipmentID As Integer Public Overridable Property Unit As String Public Overridable Property Name As String Public Overridable Property VehicleType As String Public Overridable Property IsTrailer As Boolean Public Overridable Property VehicleStatus As String Public Overridable Property Status As String Public Overridable Property StatusText As String Public Overridable Property Line As String Public Overridable Property FirstUnsafeReport As String Public Overridable Property OpenCount As Integer Public Overridable Property LocalToday As String Public Overridable Property NeedsPreTrip As Boolean Public Overridable Property NeedsReview As Boolean Public Overridable Property ReviewReportIds As List(Of Integer) = New List(Of Integer) Public Overridable Property Trailers As List(Of DvirUnitRef) = New List(Of DvirUnitRef) Public Overridable Property LastOdometer As Integer? Public Overridable Property InUseBy As String Public Overridable Property DrivingNow As Boolean Public Overridable Property TodayPreTripId As Integer? Public Overridable Property TodayPostTripId As Integer? Public Overridable Property OpenDefects As List(Of DvirDefectView) = New List(Of DvirDefectView) End Class Public Partial Class EquipmentDvirSignOffRequest Implements IReturn(Of EquipmentDvirSignOffResponse) Public Overridable Property EquipmentID As Integer Public Overridable Property Defects As List(Of DvirSignOffItem) = New List(Of DvirSignOffItem) Public Overridable Property MechanicName As String Public Overridable Property SignaturePng As String End Class Public Partial Class EquipmentDvirSignOffResponse Public Overridable Property Vehicle As DvirVehicleDetail Public Overridable Property Returned As Boolean Public Overridable Property ResponseStatus As ResponseStatus 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