using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.ServiceModel.Web; using System.ServiceModel; using System.Text; using System.Threading.Tasks; using BeWo.Service.Attributes; namespace BeWo.Service.ServiceContracts { [ServiceContract] public interface IApiStreamService { [OperationContract] [WebGet(UriTemplate = "/GetPdf", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] [RequireApiAuthorization(IPAddressList = IPAddressList.AdminApi, IgnoreTenant = true)] Stream GetPdf(); [OperationContract] [WebInvoke(UriTemplate = "/GetPdf", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] [RequireApiAuthorization(IPAddressList = IPAddressList.AdminApi, IgnoreTenant = true)] Stream GetPdf2(); } }