Retrieves SMS Transaction History

Sms işlem geçmişini getirir.

GET/einvoice/Sale/{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
Request
const response = await fetch('/einvoice/Sale/{UUID}/Smshistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Packet_Id": "text",
    "CreatedDate": "2024-12-03T16:59:44.511Z",
    "To": "text",
    "Status": "text",
    "TaxNumber": "text",
    "UUID": "text"
  }
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/einvoice/Sale/d564b745-b92e-4552-a10c-e435118c2474/Smshistories", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);