' Options: 'Date: 2026-06-23 01:24:43 '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: VisitExceptionsRequest.* '''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 ExceptionItem Public Overridable Property Kind As String Public Overridable Property VisitKey As String Public Overridable Property JobID As Integer Public Overridable Property ProjectID As Integer Public Overridable Property AgreementID As Integer? Public Overridable Property AgreementJobID As Integer? Public Overridable Property OccurrenceDate As String Public Overridable Property CustomerName As String Public Overridable Property LocationName As String Public Overridable Property City As String Public Overridable Property Lat As Double? Public Overridable Property Lng As Double? Public Overridable Property AgeDays As Integer Public Overridable Property Reason As String Public Overridable Property DurationMinutes As Integer Public Overridable Property IsCommercial As Boolean Public Overridable Property PreferredCrewID As Integer? End Class Public Partial Class VisitExceptionsRequest Implements IReturn(Of VisitExceptionsResponse) End Class Public Partial Class VisitExceptionsResponse Public Overridable Property Items As List(Of ExceptionItem) = New List(Of ExceptionItem) Public Overridable Property MissedCount As Integer Public Overridable Property SlaCount As Integer Public Overridable Property SkippedCount As Integer Public Overridable Property AtRiskCount As Integer 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