Api-PWA/DocuMed.Infrastructure/RestServices/IKaveNegarRestApi.cs

12 lines
557 B
C#
Raw Normal View History

2023-10-19 21:28:09 +03:30
namespace DocuMed.Infrastructure.RestServices;
public interface IKaveNegarRestApi
{
[Post("/{apiKey}/verify/lookup.json")]
2024-09-28 12:34:36 +03:30
Task<KaveNegarResponse> SendLookUp(string apiKey, [Query] string receptor, [Query] string template, [Query] string token, [Query] string? token2 = null,
[Query] string? token3 = null, [Query] string? token10 = null, [Query] string? token20 = null);
2023-10-19 21:28:09 +03:30
[Post("/{apiKey}/sms/send.json")]
Task<KaveNegarResponse> SendSms(string apiKey, [Query] string receptor, [Query] string message, [Query] string sender);
}