' Options: 'Date: 2026-09-22 23:39:34 '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: InspectionActionRequest.* '''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 Inspection Public Overridable Property InspectionID As Integer Public Overridable Property InspectionUID As Guid Public Overridable Property ProjectID As Integer Public Overridable Property ProjectName As String Public Overridable Property JobID As Integer? Public Overridable Property JobName As String Public Overridable Property InspectionNo As String Public Overridable Property Type As String Public Overridable Property Title As String Public Overridable Property Status As String Public Overridable Property TemplateUID As Guid? Public Overridable Property TemplateVersionNo As Integer? Public Overridable Property ScheduledFor As Date? Public Overridable Property StartedAt As Date? Public Overridable Property CompletedAt As Date? Public Overridable Property ClosedAt As Date? Public Overridable Property InspectorContactID As Integer? Public Overridable Property InspectorName As String Public Overridable Property AgencyName As String Public Overridable Property PermitNo As String Public Overridable Property LocationText As String Public Overridable Property Notes As String Public Overridable Property WeatherJson As String Public Overridable Property ItemsTotal As Integer Public Overridable Property ItemsPassed As Integer Public Overridable Property ItemsFailed As Integer Public Overridable Property Outcome As String Public Overridable Property OutcomeNotes As String Public Overridable Property ReinspectionOfInspectionID As Integer? Public Overridable Property QcHoldPointID As Integer? Public Overridable Property ReportAttachmentId As Guid? Public Overridable Property RequestCount As Integer Public Overridable Property SignatureCount As Integer Public Overridable Property CreatedBy As String Public Overridable Property CreatedAt As Date? Public Overridable Property UpdatedAt As Date? Public Overridable Property Items As List(Of InspectionItem) = New List(Of InspectionItem) Public Overridable Property Requests As List(Of InspectionRequest) = New List(Of InspectionRequest) Public Overridable Property Signatures As List(Of SignatureRecord) = New List(Of SignatureRecord) Public Overridable Property Actions As List(Of String) = New List(Of String) End Class Public Partial Class InspectionActionRequest Implements IReturn(Of InspectionResponse) Public Overridable Property InspectionUID As Guid Public Overridable Property Action As String Public Overridable Property OutcomeNotes As String Public Overridable Property ReleaseHoldPoint As Boolean Public Overridable Property ScheduledFor As Date? End Class Public Partial Class InspectionItem Public Overridable Property InspectionItemID As Integer Public Overridable Property InspectionID As Integer Public Overridable Property Seq As Integer Public Overridable Property Section As String Public Overridable Property Prompt As String Public Overridable Property ResponseType As String Public Overridable Property IsRequired As Boolean Public Overridable Property Unit As String Public Overridable Property Guidance As String Public Overridable Property Result As String Public Overridable Property Value As String Public Overridable Property Notes As String Public Overridable Property PhotoCount As Integer Public Overridable Property LinkedPunchItemID As Integer? Public Overridable Property LinkedPunchNo As String Public Overridable Property LinkedPunchStatus As String Public Overridable Property LinkedNcrID As Integer? Public Overridable Property LinkedNcrNo As String Public Overridable Property LinkedActionID As Integer? Public Overridable Property AnsweredBy As String Public Overridable Property AnsweredAt As Date? Public Overridable Property Photos As List(Of InspectionPhoto) = New List(Of InspectionPhoto) End Class Public Partial Class InspectionPhoto Public Overridable Property AttachmentId As Guid Public Overridable Property FileName As String Public Overridable Property Url As String Public Overridable Property CreatedBy As String Public Overridable Property CreatedDate As Date? Public Overridable Property HasAnnotation As Boolean Public Overridable Property AnnotatedAttachmentId As Guid? Public Overridable Property AnnotatedUrl As String End Class Public Partial Class InspectionRequest Public Overridable Property InspectionRequestID As Integer Public Overridable Property InspectionID As Integer Public Overridable Property Agency As String Public Overridable Property ContactName As String Public Overridable Property ContactPhone As String Public Overridable Property PermitNo As String Public Overridable Property RequestedDate As Date? Public Overridable Property RequestedWindow As String Public Overridable Property Status As String Public Overridable Property ConfirmationNo As String Public Overridable Property Outcome As String Public Overridable Property CreatedBy As String Public Overridable Property CreatedAt As Date? Public Overridable Property UpdatedAt As Date? End Class Public Partial Class InspectionResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Inspection As Inspection End Class Public Partial Class SignatureRecord Public Overridable Property SignatureRecordID As Integer Public Overridable Property EntityType As String Public Overridable Property EntityID As Integer Public Overridable Property Role As String Public Overridable Property SignerName As String Public Overridable Property SignerContactID As Integer? Public Overridable Property SignerUserId As String Public Overridable Property Method As String Public Overridable Property ImageAttachmentId As Guid? Public Overridable Property ImageUrl As String Public Overridable Property ImageHash As String Public Overridable Property DocumentHash As String Public Overridable Property ConsentText As String Public Overridable Property IpAddress As String Public Overridable Property UserAgent As String Public Overridable Property SignedAt As Date? 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