Files
BeWoPlaner/Service/ServiceContracts/IAdminService.cs

32 lines
926 B
C#

using BS.Shared.DataContracts.AdminService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;
using BeWo.Service.Attributes;
namespace BeWo.Service.ServiceContracts
{
[ServiceContract]
public interface IAdminService
{
[OperationContract]
[WebGet(UriTemplate = "/Test", ResponseFormat = WebMessageFormat.Json)]
[RequireNoTenant]
string Test();
[OperationContract]
[WebInvoke(UriTemplate = "/Echo/{echo}", Method ="POST", ResponseFormat = WebMessageFormat.Json)]
[RequireNoTenant]
string Echo(string echo);
[OperationContract]
[WebInvoke(UriTemplate = "/GetGkvSum", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[RequireIPAddress(IPAddressList.AdminApi)]
object GetGkvAbrechnungSumme(AdminServiceSumReqDC request);
}
}