25 lines
654 B
C#
25 lines
654 B
C#
using BS.Shared.Attributes;
|
|
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;
|
|
|
|
namespace BeWo.Service.ServiceContracts
|
|
{
|
|
[ServiceContract]
|
|
public interface IApiStreamService
|
|
{
|
|
[OperationContract]
|
|
[WebGet(UriTemplate = "/DownloadReport", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
|
|
[RequireApiKey("DownloadReportApiKey")]
|
|
[RequireNoTenant]
|
|
Stream DownloadReport();
|
|
}
|
|
}
|