Returns the Year and Period Information of the Last Ledger

Son oluşan defterin yıl ve period bilgisini getirir.

GET/eledger/Uploads/Latest
Query parameters
Response

Son oluşan defterin yıl ve period bilgisini getirir.

Body
Periodnullable string
Yearnullable string
Request
const response = await fetch('/eledger/Uploads/Latest', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Period": "text",
    "Year": "text"
  }
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Uploads/Latest", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);