Taslak Adisyonları Listeler

Taslak Adisyonları listeler.

GET/ebill/Draft
Query parameters
Response

Taslak Adisyonları listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of DraftBillResponse (object)
Request
const response = await fetch('/ebill/Draft', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "TaxNumber": "text",
      "BillNumber": "text",
      "IssueDate": "2024-11-21T06:36:29.336Z",
      "CreatedDate": "2024-11-21T06:36:29.336Z",
      "CurrencyCode": "text",
      "PayableAmount": 0,
      "ReceiverName": "text",
      "ReceiverTaxNumber": "text",
      "IsPrint": false,
      "Tags": [
        {
          "UUID": "text",
          "Description": "text",
          "Name": "text",
          "Color": "text"
        }
      ],
      "SpecialCode": "text"
    }
  ]
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Bills", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddParameter("text/plain", body,  ParameterType.RequestBody);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);