' Options: 'Date: 2026-06-13 03:51:32 '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: ScheduleLastAssignmentRequest.* '''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 Crew Public Overridable Property CrewID As Integer Public Overridable Property CrewName As String Public Overridable Property CrewNumber As String Public Overridable Property CrewManagerContactID As Integer Public Overridable Property CrewManagerContactName As String Public Overridable Property CrewColor As String Public Overridable Property RecordCreatedDate As Date Public Overridable Property Active As Boolean Public Overridable Property CreatedByUID As Guid Public Overridable Property ProjectID As Integer Public Overridable Property CrewMemberCount As Integer Public Overridable Property ProjectCrewID As Integer Public Overridable Property ProjectName As String Public Overridable Property BranchId As Guid Public Overridable Property BranchName As String End Class Public Partial Class SchedulableJob Public Overridable Property JobID As Integer Public Overridable Property JobName As String Public Overridable Property ProjectID As Integer Public Overridable Property ProjectName As String Public Overridable Property StatusID As Integer? Public Overridable Property StatusName As String Public Overridable Property ProjectLocationID As Integer? Public Overridable Property ProjectLocationName As String Public Overridable Property LocationZip As String Public Overridable Property LocationCity As String Public Overridable Property LocationLatitude As Decimal? Public Overridable Property LocationLongitude As Decimal? Public Overridable Property ExpectedStartDate As Date? Public Overridable Property ExpectedCompletionDate As Date? Public Overridable Property IsRecurring As Boolean Public Overridable Property OccurrenceDates As List(Of String) = New List(Of String) End Class Public Partial Class ScheduleAutoFillResult Public Overridable Property JobsFilled As Integer Public Overridable Property JobsSkipped As Integer Public Overridable Property VisitsScheduled As Integer End Class Public Partial Class ScheduleLastAssignment Public Overridable Property JobID As Integer Public Overridable Property ContactIds As List(Of Integer) = New List(Of Integer) Public Overridable Property SourceCrewID As Integer? End Class Public Partial Class ScheduleLastAssignmentRequest Implements IReturn(Of WorkerScheduleResponse) Public Overridable Property JobID As Integer End Class Public Partial Class ScheduleWorker Public Overridable Property ContactId As Integer Public Overridable Property FirstName As String Public Overridable Property LastName As String Public Overridable Property Name As String Public Overridable Property Initials As String Public Overridable Property Rate As Decimal? Public Overridable Property ImageUrl As String Public Overridable Property BranchId As Guid? Public Overridable Property BranchName As String End Class Public Partial Class WorkerScheduleItem Public Overridable Property WorkerScheduleItemID As Integer Public Overridable Property JobID As Integer Public Overridable Property ProjectID As Integer? Public Overridable Property ContactID As Integer Public Overridable Property ScheduledDate As Date? Public Overridable Property SortOrder As Integer Public Overridable Property SourceCrewID As Integer? Public Overridable Property Status As String Public Overridable Property StartedAt As Date? Public Overridable Property CompletedAt As Date? Public Overridable Property WorkerNotes As String Public Overridable Property JobName As String Public Overridable Property ProjectName As String Public Overridable Property FirstName As String Public Overridable Property LastName As String Public Overridable Property WorkerName As String Public Overridable Property SourceCrewName As String Public Overridable Property ProjectLocationID As Integer? Public Overridable Property ProjectLocationName As String Public Overridable Property LocationZip As String Public Overridable Property LocationCity As String Public Overridable Property LocationLatitude As Decimal? Public Overridable Property LocationLongitude As Decimal? Public Overridable Property JobStatusName As String Public Overridable Property BranchId As Guid Public Overridable Property BranchName As String Public Overridable Property WorkerHomeBranchId As Guid? Public Overridable Property WorkerHomeBranchName As String End Class Public Partial Class WorkerScheduleResponse Public Overridable Property Items As List(Of WorkerScheduleItem) = New List(Of WorkerScheduleItem) Public Overridable Property SchedulableJobs As List(Of SchedulableJob) = New List(Of SchedulableJob) Public Overridable Property Workers As List(Of ScheduleWorker) = New List(Of ScheduleWorker) Public Overridable Property Crews As List(Of Crew) = New List(Of Crew) Public Overridable Property BudgetedCrew As List(Of ScheduleWorker) = New List(Of ScheduleWorker) Public Overridable Property LastAssignment As ScheduleLastAssignment Public Overridable Property AutoFill As ScheduleAutoFillResult Public Overridable Property DatesScheduled As Integer? Public Overridable Property WorkersScheduled As Integer? Public Overridable Property ItemsRemoved 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