/* Options: Date: 2024-06-26 16:33:01 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.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: NewsletterCustomerQuery.* //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 System.IO; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class NewsletterCustomerInfo { public virtual Guid Id { get; set; } public virtual string Firstname { get; set; } public virtual string Lastname { get; set; } public virtual string Email { get; set; } public virtual string Phone { get; set; } public virtual string FacebookUserName { get; set; } public virtual Uri ImageUrl { get; set; } } [Route("/newsletter/customers", "GET")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class NewsletterCustomerQuery : IReturn, ICompany { public NewsletterCustomerQuery() { BookedServiceIds = new int[]{}; } /// ///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; } /// ///Search for customer has done minimum number of bookings. /// [ApiMember(Description="Search for customer has done minimum number of bookings.")] public virtual int? CustomerMinBookings { get; set; } /// ///Search for customer has done maximum number of bookings. /// [ApiMember(Description="Search for customer has done maximum number of bookings.")] public virtual int? CustomerMaxBookings { get; set; } /// ///Search for customer has booked any of the service in the list (List contain service id's). /// [ApiMember(Description="Search for customer has booked any of the service in the list (List contain service id's).")] public virtual int[] BookedServiceIds { get; set; } /// ///Search interval From datetime . /// [ApiMember(Description="Search interval From datetime .")] public virtual DateTime? From { get; set; } /// ///Search interval To datetime . /// [ApiMember(Description="Search interval To datetime .")] public virtual DateTime? To { get; set; } /// ///The max number of records you want to collect /// [ApiMember(Description="The max number of records you want to collect")] public virtual int? MaxRecords { get; set; } /// ///If you want to include the full customer information in the response /// [ApiMember(Description="If you want to include the full customer information in the response")] public virtual bool IncludeCustomerInformation { get; set; } } public partial class NewsletterCustomerQueryResponse { public virtual Guid Id { get; set; } public virtual NewsletterCustomerInfo Customer { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }