' Options: 'Date: 2026-10-16 00:20:30 '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: KpiV2VisitsRequest.* '''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 KpiV2VisitsRequest Implements IReturn(Of KpiV2VisitsResponse) Public Overridable Property BranchId As Guid Public Overridable Property FromDate As Date Public Overridable Property ToDate As Date Public Overridable Property StationId As Guid? Public Overridable Property EmployeeId As Guid? Public Overridable Property Outcome As String Public Overridable Property LineId As Guid? Public Overridable Property Page As Integer Public Overridable Property PageSize As Integer End Class Public Partial Class KpiV2VisitsResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Visits As SvcVisitPage End Class Public Partial Class SvcChip Public Overridable Property LineId As Guid Public Overridable Property Name As String Public Overridable Property N As Integer End Class Public Partial Class SvcVisitPage Public Overridable Property Rows As List(Of SvcVisitRow) = New List(Of SvcVisitRow) Public Overridable Property TotalRows As Integer Public Overridable Property Page As Integer Public Overridable Property PageSize As Integer Public Overridable Property OutcomeCounts As Dictionary(Of String, Integer) = New Dictionary(Of String, Integer) Public Overridable Property Services As List(Of SvcChip) = New List(Of SvcChip) Public Overridable Property CanSeeStaff As Boolean Public Overridable Property CanSeeFinancial As Boolean End Class Public Partial Class SvcVisitRow Public Overridable Property CheckinId As Guid Public Overridable Property TicketLabel As String Public Overridable Property LocalDate As Date Public Overridable Property LineId As Guid Public Overridable Property ServiceName As String Public Overridable Property StationId As Guid? Public Overridable Property StationName As String Public Overridable Property EmployeeId As Guid? Public Overridable Property EmployeeName As String Public Overridable Property CustomerName As String Public Overridable Property ContactId As Integer? Public Overridable Property ContactAgentId As Integer? Public Overridable Property CustomerId As Guid Public Overridable Property IsAppointment As Boolean Public Overridable Property LocalHere As Date? Public Overridable Property LocalCalled As Date? Public Overridable Property LocalStart As Date? Public Overridable Property LocalEnd As Date? Public Overridable Property WaitSec As Integer? Public Overridable Property ServeSec As Integer? Public Overridable Property Outcome As String Public Overridable Property Fee As Decimal? 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