Files
BeWoPlaner/Service/ServiceContracts/IApiService.cs

30 lines
972 B
C#
Raw Normal View History

2025-06-03 15:46:41 +02:00
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;
2025-06-03 15:46:41 +02:00
using BeWo.Service.Attributes;
using BS.Shared.DataContracts.MikePHPContracts;
using System.IO;
2025-06-04 10:58:06 +02:00
using BS.Shared.Core;
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);
}
}