Ayarları Getir

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
SignMethodSignMethod (enum)
SmartCardHsm
CurrencyCodenullable string
SplitBillControlboolean
DocumentNumberControlboolean
AutoNumberControlboolean
DateDifferenceValidControlboolean
OpeningVoucherControlboolean
AutoPaymentMethodControlboolean
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-11-21T06:21:16.539Z",
  "FiscalYearEnd": "2024-11-21T06:21:16.539Z",
  "AccountingPeriod": "AccountingPeriod",
  "IsLiquidate": false,
  "LiquidateYearStart": "2024-11-21T06:21:16.539Z",
  "BalanceControl": false,
  "PaymentMethodControl": false,
  "SignMethod": "SmartCard",
  "CurrencyCode": "text",
  "SplitBillControl": false,
  "DocumentNumberControl": false,
  "AutoNumberControl": false,
  "DateDifferenceValidControl": false,
  "OpeningVoucherControl": false,
  "AutoPaymentMethodControl": 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("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);