32 lines
1007 B
C#
32 lines
1007 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)]
|
|
[RequireApiAuthorization(IgnoreTenant = true)]
|
|
string Test();
|
|
|
|
[OperationContract]
|
|
[WebInvoke(UriTemplate = "/Echo/{echo}", Method ="POST", ResponseFormat = WebMessageFormat.Json)]
|
|
[RequireApiAuthorization(IgnoreTenant = true)]
|
|
string Echo(string echo);
|
|
|
|
[OperationContract]
|
|
[WebInvoke(UriTemplate = "/GetGkvSum", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
|
|
[RequireApiAuthorization(IPAddressList = IPAddressList.AdminApi)]
|
|
object GetGkvAbrechnungSumme(AdminServiceSumReqDC request);
|
|
}
|
|
}
|