' Options: 'Date: 2026-08-01 06:29:04 '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: CostCalcRequest.* '''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 CostBreakdown Public Overridable Property Rrop As Decimal Public Overridable Property St As Decimal Public Overridable Property Ot As Decimal Public Overridable Property Dt As Decimal Public Overridable Property TotalHours As Decimal Public Overridable Property Straight As Decimal Public Overridable Property DiffPay As Decimal Public Overridable Property OtPremium As Decimal Public Overridable Property DtPremium As Decimal Public Overridable Property CashWages As Decimal Public Overridable Property FringeCashPay As Decimal Public Overridable Property FringePlanPay As Decimal Public Overridable Property BurdenPct As Decimal Public Overridable Property BurdenAmount As Decimal Public Overridable Property PerDiemApplies As Boolean Public Overridable Property PerDiemCost As Decimal Public Overridable Property PerDiemTaxable As Decimal Public Overridable Property PerDiemNonTax As Decimal Public Overridable Property Loaded As Decimal Public Overridable Property Revenue As Decimal Public Overridable Property Margin As Decimal Public Overridable Property MarginPct As Decimal Public Overridable Property OtMultiplier As Decimal Public Overridable Property DtMultiplier As Decimal Public Overridable Property PerDiemDaily As Decimal Public Overridable Property Lines As List(Of CostLine) = New List(Of CostLine) Public Overridable Property Notes As List(Of String) = New List(Of String) End Class Public Partial Class CostCalcRequest Implements IReturn(Of CostCalcResponse) Public Overridable Property Input As CostInput Public Overridable Property ContactID As Integer? Public Overridable Property ProjectID As Integer? Public Overridable Property ShiftPatternID As Integer? Public Overridable Property Unit As String End Class Public Partial Class CostCalcResponse Public Overridable Property Result As CostBreakdown Public Overridable Property ResolvedInput As CostInput Public Overridable Property CanSeePay As Boolean Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class CostInput Public Overridable Property Base As Decimal Public Overridable Property BillRate As Decimal Public Overridable Property FringeCash As Decimal Public Overridable Property FringePlan As Decimal Public Overridable Property IsNight As Boolean Public Overridable Property HoursPerDay As Decimal Public Overridable Property OnDays As Integer Public Overridable Property OnDaysExact As Decimal? Public Overridable Property HasTravel As Boolean Public Overridable Property PerDiemEligible As Boolean Public Overridable Property PrevailingWage As Boolean Public Overridable Property Jurisdiction As String Public Overridable Property Unit As String Public Overridable Property PriorHours As Decimal Public Overridable Property BurdenClass As String Public Overridable Property WcRateOverride As Decimal? End Class Public Partial Class CostLine Public Overridable Property Label As String Public Overridable Property Detail As String Public Overridable Property Amount As Decimal Public Overridable Property RuleId As String 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