Faturanın Statü Bilgilerini Getirir

E-Arşiv Faturanın statü bilgilerini getirir.

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

E-Arşiv Faturanın statü bilgilerini getirir.

Body
StatusDetailnullable string
StatusCodeStatusCode (enum)
unknownwaitingsucceederror
ReportStatusReportStatus (enum)
NotReportedReported
CancelStatusboolean
Request
const response = await fetch('/earchive/Invoices/{UUID}/Status', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "StatusDetail": "text",
  "StatusCode": "unknown",
  "ReportStatus": "NotReported",
  "CancelStatus": false
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/earchive/Invoices/d19ad347-ee9e-401f-8b02-248b09c0c770/Status", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);