Whatsapp İşlem Geçmişini Getirir

Whatsapp ın işlem geçmişini getirir.

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

Whatsapp ın 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('/earchive/Invoices/{UUID}/Whatsapphistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "SID": "text",
    "CreatedDate": "2024-04-29T19:46:06.906Z",
    "To": "text",
    "Status": "text",
    "TaxNumber": "text",
    "UUID": "text",
    "DateUpdated": "2024-04-29T19:46:06.906Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/earchive/Invoices/2e58440f-9a81-49f3-8b82-7321265fa2f0/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);