Files
BeWoPlaner/Service/ServiceContracts/IApiService.cs

31 lines
925 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 BS.Shared.DataContracts.MikePHPContracts;
using System.IO;
using BS.Shared.Core;
namespace BeWo.Service.ServiceContracts
{
[ServiceContract]
public interface IApiService
{
[OperationContract]
[WebGet(UriTemplate = "/Test", ResponseFormat = WebMessageFormat.Json)]
[RequireNoTenant]
ApiResponse<string> Test();
[OperationContract]
[WebInvoke(UriTemplate = "/GetGkvSum", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[RequireApiKey(WebSecretConfigSetting.GetGkvSumApiKey)]
[RequireIPAddress(IPAddressList.AdminApi)]
ApiResponse<decimal> GetGkvAbrechnungSumme(AdminServiceSumReqDC request);
}
}