/* Options: Date: 2025-06-08 15:51:03 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: ExportPayableEntityReport.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Enums; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/articles/{InternalReferenceId}/reports", "GET")] [ValidateRequest("IsAuthenticated")] public partial class ExportPayableEntityReport : ICompany { /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } /// ///Id of the internal reference (booking, rebate code, etc) /// [ApiMember(Description="Id of the internal reference (booking, rebate code, etc)", IsRequired=true, ParameterType="path")] public virtual string InternalReferenceId { get; set; } public virtual SendReceiptMethod SendReceiptMethod { get; set; } /// ///Article type (Could be Service, rebate code types, etc.. /// [ApiMember(Description="Article type (Could be Service, rebate code types, etc..", IsRequired=true)] public virtual int ArticleTypeId { get; set; } } } namespace BokaMera.API.ServiceModel.Enums { public enum SendReceiptMethod { Email = 1, PdfExport = 2, } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }