SMS İşlem Geçmişini Getirir

Sms işlem geçmişini getirir.

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

Sms işlem geçmişini getirir

Body
Packet_Idnullable string
CreatedDatestring (date-time)
Tonullable string
Statusnullable string
TaxNumbernullable string
UUIDnullable string
DateUpdatedstring (date-time)
Request
const response = await fetch('/earchive/Invoices/{UUID}/Smshistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Packet_Id": "text",
    "CreatedDate": "2024-11-21T06:23:56.987Z",
    "To": "text",
    "Status": "text",
    "TaxNumber": "text",
    "UUID": "text",
    "DateUpdated": "2024-11-21T06:23:56.987Z"
  }
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/earchive/Invoices/d564b745-b92e-4552-a10c-e435118c2474/Smshistories", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);