Files
BeWoPlaner/Service/ServiceContracts/IApiStreamService.cs

29 lines
935 B
C#
Raw Normal View History

2025-06-03 15:46:41 +02:00
using BS.Shared.DataContracts.AdminService;
using BS.Shared.DataContracts.MikePHPContracts;
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;
2025-06-03 15:46:41 +02:00
using BeWo.Service.Attributes;
namespace BeWo.Service.ServiceContracts
{
[ServiceContract]
public interface IApiStreamService
{
[OperationContract]
2025-06-04 10:58:06 +02:00
[WebGet(UriTemplate = "/GetPdf", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[RequireApiAuthorization(IPAddressList = IPAddressList.AdminApi, IgnoreTenant = true)]
2025-06-04 10:58:06 +02:00
Stream GetPdf();
2025-06-05 14:03:55 +02:00
[OperationContract]
[WebInvoke(UriTemplate = "/GetPdf", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[RequireApiAuthorization(IPAddressList = IPAddressList.AdminApi, IgnoreTenant = true)]
2025-06-05 14:03:55 +02:00
Stream GetPdf2();
}
}