Mail Aktivitelerini Getirir

Mail aktivitelerini getirir.

GET/evoucher/Vouchers/{MessageId}/MailActivityhistories
Path parameters
MessageId*string
Response

Mail aktivitelerini getirir.

Body
Emailnullable string
MessageIdnullable string
ipnullable string
MessageIdLongnullable string
EventMailEventType (enum)
processeddeliveredopenclickbouncedroppeddeferredunsubscribe
EventDatestring (date-time)
Request
const response = await fetch('/evoucher/Vouchers/{MessageId}/MailActivityhistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Email": "text",
    "MessageId": "text",
    "ip": "text",
    "MessageIdLong": "text",
    "Event": "processed",
    "EventDate": "2024-06-21T16:21:37.092Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/evoucher/Vouchers/12efc08a-8763/MailActivityhistories");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);