' Options: 'Date: 2024-07-03 12:37:57 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''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: SendNewsLetter.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class SendNewsLetter Implements IReturn(Of SendNewslettersResponse) Implements ICompany Public Sub New() Customers = New List(Of Guid) End Sub ''' '''The newsletter template id. ''' Public Overridable Property Id As Integer ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''The datetime when the newsletters should be sent. ''' Public Overridable Property SendDate As Date ''' '''The customer ids to send newsletters to. ''' Public Overridable Property Customers As List(Of Guid) End Class Public Partial Class SendNewslettersResponse ''' '''The number of messages that are added into queue. ''' Public Overridable Property Total As Integer ''' '''Send Method. 1 = Email, 2 = SMS ''' Public Overridable Property SendMethodId As Integer ''' '''Message example sent (in HTML format) ''' Public Overridable Property MessageExample As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace