(* Options: Date: 2025-10-21 14:57:06 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: AddReference.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.Net open System.Net.Http.Headers [] type ICompany = abstract CompanyId:Nullable with get,set [] type ReferenceQueryResponse() = member val CompanyId:Guid = new Guid() with get,set member val Id:Guid = new Guid() with get,set member val OwnerId:Guid = new Guid() with get,set member val ReferenceType:String = null with get,set member val ReferenceTypeId:Int32 = new Int32() with get,set member val ExternalData:String = null with get,set member val Updated:DateTime = new DateTime() with get,set member val Created:DateTime = new DateTime() with get,set member val CreatedBy:String = null with get,set member val UpdatedBy:String = null with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] type AddReference() = interface IReturn /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Internal Id of the reference. Example could be the Booking Id /// [] member val OwnerId:Guid = new Guid() with get,set /// ///The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system /// [] member val ReferenceType:String = null with get,set /// ///External reference type id - can we fetched from /externalreferencestypes endpoint /// [] member val ReferenceTypeId:Int32 = new Int32() with get,set /// ///The external data. Could be a Id or a JSON object or anything /// [] member val ExternalData:String = null with get,set /// ///Will show who created the reference. /// [] member val CreatedBy:String = null with get,set