Retrieve SMS Transaction History

Sms işlem geçmişini getirir.

GET/einvoice/Purchase/{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/Purchase/{UUID}/Smshistories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Packet_Id": "text",
    "CreatedDate": "2024-11-23T08:01:52.509Z",
    "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/Purchase/f8a567e2-05ef-4b20-b5a6-af0d7c647f7e/Smshistories", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);