Creates Accounting Report Template

Muhasebe rapor şablonu oluşturur.

post
Authorizations
Body
Namestring | nullableOptional
Typeinteger · int32Optional
ReportTypestring · enumRequiredPossible values:
Responses
200
Muhasebe rapor şablonu oluşturur.
application/json
post
POST /report/Accounting/Template HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 82

{
  "Name": "text",
  "Type": 1,
  "Columns": [
    {
      "Name": "text",
      "ID": 1
    }
  ],
  "ReportType": "Invoice"
}
{
  "Name": "text",
  "CreatedDate": "2025-07-01T00:33:37.315Z",
  "Columns": "text",
  "Type": 1,
  "ID": 1
}
var client = new RestClient("https://apitest.nilvera.com/general/AccountingReport/Template");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"{"Name": "string",
"Type": 0,
"Columns": ["Name": "string","ID": 0"}";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated