Muhasebe Rapor Şablonu Oluşturur

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-06-25T02:16:02.631Z",
  "Columns": "text",
  "Type": 1,
  "ID": 1
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};

var client = new RestClient(options);
var request = new RestRequest("/report/Accounting/Template", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "APIKEY");

var body = new
{
    Name = "string",
    Type = 0,
    Columns = new List<object>
    {
        new
        {
            Name = "string",
            ID = 0
        }
    },
    ReportType = "Invoice"
};

request.AddJsonBody(body);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated