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