Mail Aktivitelerini Getirir

Mail aktivitelerini getirir.

GET/ebill/Bills/{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('/ebill/Bills/{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:29:46.925Z"
  }
]

var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Bills/mnivmkSWUNbA/MailActivityhistories", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);