Defterleri Getirir

Defterleri Getirir.

GET/eledger/Documents
Query parameters
Response

Defterleri Getirir.

Body
Periodnullable string
Yearnullable string
FiscalYearStartstring (date-time)
FiscalYearEndstring (date-time)
StatusCodeboolean
Sizenumber (double)
LedgerCountinteger (int32)
IsSignboolean
TotalCreditAmountnumber (double)
TotalDebitAmountnumber (double)
FirstEntryNumberinteger (int32)
LastEntryNumberinteger (int32)
Request
const response = await fetch('/eledger/Documents', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Period": "text",
    "Year": "text",
    "FiscalYearStart": "2024-11-21T06:27:15.305Z",
    "FiscalYearEnd": "2024-11-21T06:27:15.305Z",
    "StatusCode": false,
    "Size": 0,
    "IsSign": false,
    "TotalCreditAmount": 0,
    "TotalDebitAmount": 0
  }
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Documents?Year=2222", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);