Brings Mail Transaction History

Mailin işlem geçmişini getirir.

GET/earchive/Invoices/{UUID}/Mailhistories
Path parameters
UUID*string (uuid)
Response

Mailin işlem geçmişini getirir

Body
Emailnullable string
MessageIdnullable string
Statusnullable string
IsSuccessboolean
EventMailEventType (enum)
processeddeliveredopenclickbouncedroppeddeferredunsubscribe
CreatedDatestring (date-time)
EventDatestring (date-time)
Request
const response = await fetch('/earchive/Invoices/{UUID}/Mailhistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Email": "text",
    "MessageId": "text",
    "Status": "text",
    "IsSuccess": false,
    "Event": "processed",
    "CreatedDate": "2024-11-21T10:21:22.453Z",
    "EventDate": "2024-11-21T10:21:22.453Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/earchive/Invoices/2e58440f-9a81-49f3-8b82-7321265fa2f0/Mailhistories");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);