Defter Ayarlarını Getirir

Defter ayarlarını getirir.

GET/eledger/Properties
Response

Defter ayarlarını getirir.

Body
Nacenullable string
Creatornullable string
LineCountinteger (int32)
TaxTypeTaxType (enum)
IncludeTaxExcludeTax
IsBranchboolean
BranchNamenullable string
BranchNumbernullable string
LedgerPeriodboolean
FiscalYearStartstring (date-time)
FiscalYearEndstring (date-time)
AccountingPeriodAccountingPeriod (enum)
AccountingPeriodInterimAccountingPeriodSpecialAccountingPeriod
IsLiquidateboolean
LiquidateYearStartstring (date-time)
BalanceControlboolean
PaymentMethodControlboolean
Request
const response = await fetch('/eledger/Properties', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Nace": "text",
  "Creator": "text",
  "TaxType": "IncludeTax",
  "IsBranch": false,
  "BranchName": "text",
  "BranchNumber": "text",
  "LedgerPeriod": false,
  "FiscalYearStart": "2024-05-07T15:43:42.518Z",
  "FiscalYearEnd": "2024-05-07T15:43:42.518Z",
  "AccountingPeriod": "AccountingPeriod",
  "IsLiquidate": false,
  "LiquidateYearStart": "2024-05-07T15:43:42.518Z",
  "BalanceControl": false,
  "PaymentMethodControl": false
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Properties", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);