Files
BeWoPlaner/Service/ServiceContracts/IApiService.cs
2026-07-14 14:40:39 +02:00

29 lines
941 B
C#

using BS.Shared.DataContracts.AdminService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Web;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using BeWo.Service.Attributes;
using System.IO;
using BS.Shared.DataContracts;
namespace BeWo.Service.ServiceContracts
{
[ServiceContract]
public interface IApiService
{
//[OperationContract]
//[WebGet(UriTemplate = "/Test", ResponseFormat = WebMessageFormat.Json)]
//[RequireApiAuthorization(IgnoreTenant = true)]
//ApiResponse<string> Test();
[OperationContract]
[WebInvoke(UriTemplate = "/GetGkvSum", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[RequireApiAuthorization(ApiKeyName = WebSecretConfigSetting.GetGkvSumApiKey, IPAddressList = IPAddressList.AdminApi)]
ApiResponse<decimal> GetGkvAbrechnungSumme(AdminServiceSumReqDC request);
}
}