Mail Aktivitelerini Getirir

Mail aktivitelerini getirir.

GET/einvoice/Purchase/{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('/einvoice/Purchase/{MessageId}/MailActivityhistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Email": "text",
    "MessageId": "text",
    "ip": "text",
    "MessageIdLong": "text",
    "Event": "processed",
    "EventDate": "2024-11-21T06:36:15.677Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase/10c46a27c1/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);