' Options: 'Date: 2025-10-21 08:37:48 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: AddReference.* '''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.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class AddReference Implements IReturn(Of ReferenceQueryResponse) Implements ICompany ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Guid? Implements ICompany.CompanyId ''' '''Internal Id of the reference. Example could be the Booking Id ''' Public Overridable Property OwnerId As Guid ''' '''The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system ''' Public Overridable Property ReferenceType As String ''' '''External reference type id - can we fetched from /externalreferencestypes endpoint ''' Public Overridable Property ReferenceTypeId As Integer ''' '''The external data. Could be a Id or a JSON object or anything ''' Public Overridable Property ExternalData As String ''' '''Will show who created the reference. ''' Public Overridable Property CreatedBy As String End Class Public Partial Class ReferenceQueryResponse Public Overridable Property CompanyId As Guid Public Overridable Property Id As Guid Public Overridable Property OwnerId As Guid Public Overridable Property ReferenceType As String Public Overridable Property ReferenceTypeId As Integer Public Overridable Property ExternalData As String Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property CreatedBy As String Public Overridable Property UpdatedBy As String Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace