Brings Mail Transaction History

Mailin işlem geçmişini getirir.

GET/evoucher/Vouchers/{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('/evoucher/Vouchers/{UUID}/Mailhistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Email": "text",
    "MessageId": "text",
    "Status": "text",
    "IsSuccess": false,
    "Event": "processed",
    "CreatedDate": "2024-11-21T08:50:32.526Z",
    "EventDate": "2024-11-21T08:50:32.526Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/evoucher/Vouchers/12efc08a-8763-42cd-8876-32463babd5c7/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);

Last updated