Whatsapp İşlem Geçmişini Getirir

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

GET/eproducer/Draft/{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('/eproducer/Draft/{UUID}/Whatsapphistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "SID": "text",
    "CreatedDate": "2024-11-21T06:36:55.636Z",
    "To": "text",
    "Status": "text",
    "TaxNumber": "text",
    "UUID": "text",
    "DateUpdated": "2024-11-21T06:36:55.636Z"
  }
]
var client = new RestClient("https://apitest.nilvera.com/eproducer/Draft/72d5252d-5c6b-461a-b960-d6f0021cbaa9/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);