' Options: 'Date: 2026-07-08 20:17:46 '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: DepartmentRequest.* '''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 Department Public Overridable Property DepartmentID As Integer Public Overridable Property DepartmentUID As Guid Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Code As String Public Overridable Property Color As String Public Overridable Property Budget As Decimal Public Overridable Property BillingMethod As String Public Overridable Property CostCenter As String Public Overridable Property BillingContact As String Public Overridable Property BillingEmail As String Public Overridable Property ApprovalOn As Boolean Public Overridable Property Threshold As Decimal Public Overridable Property Active As Boolean Public Overridable Property CreatedBy As String Public Overridable Property CreatedAt As Date Public Overridable Property Members As Integer End Class Public Partial Class DepartmentRequest Implements IReturn(Of DepartmentResponse) Public Overridable Property DepartmentID As Integer Public Overridable Property Department As Department End Class Public Partial Class DepartmentResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Department As List(Of Department) = New List(Of Department) 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