' Options: 'Date: 2025-12-06 06:26:59 '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: DocumentRequest.* '''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 Document Public Overridable Property DocumentId As Guid Public Overridable Property DocType As String Public Overridable Property DocCategory As String Public Overridable Property DocSubCategory As String Public Overridable Property DocTitle As String Public Overridable Property DocDescription As String Public Overridable Property DocData As Byte() = New Byte(){} Public Overridable Property DocExpiration As Date? Public Overridable Property DocMimeType As String Public Overridable Property DisplayOrder As Integer Public Overridable Property FileSizeInKB As Double Public Overridable Property Link As String Public Overridable Property UploadDate As Date? Public Overridable Property DocKey As String End Class Public Partial Class DocumentRequest Implements IReturn(Of DocumentResponse) Public Overridable Property Document As List(Of Document) = New List(Of Document) Public Overridable Property DocumentId As Guid Public Overridable Property Fields As Dictionary(Of String, String) = New Dictionary(Of String, String) End Class Public Partial Class DocumentResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Document As List(Of Document) = New List(Of Document) 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