Whatsapp İşlem Geçmişini Getirir

Whatsapp işlem geçmişini getirir.

GET/evoucher/Vouchers/{UUID}/Whatsapphistories
Path parameters
UUID*string (uuid)
Response

Whatsapp işlem geçmişini getirir.

Body
SIDnullable string
CreatedDatestring (date-time)
Tonullable string
Statusnullable string
TaxNumbernullable string
UUIDnullable string
DateUpdatedstring (date-time)
Request
const response = await fetch('/evoucher/Vouchers/{UUID}/Whatsapphistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "SID": "text",
    "CreatedDate": "2024-04-29T23:34:33.953Z",
    "To": "text",
    "Status": "text",
    "TaxNumber": "text",
    "UUID": "text",
    "DateUpdated": "2024-04-29T23:34:33.953Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/evoucher/Vouchers/12efc08a-8763-42cd-8876-32463babd5c7/Whatsapphistories");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);