Brings Mail Transaction History

Mailin işlem geçmişini getirir.

GET/edespatch/Sale/{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('/edespatch/Sale/{UUID}/Mailhistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Email": "text",
    "MessageId": "text",
    "Status": "text",
    "IsSuccess": false,
    "Event": "processed",
    "CreatedDate": "2024-05-19T17:04:09.017Z",
    "EventDate": "2024-05-19T17:04:09.017Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/edespatch/Sale/64eea613-3c5f-434c-9dfd-c6856a938781/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