Taslak Makbuzları Listeler

Taslak makbuzları listeler.

GET/evoucher/Draft
Query parameters
Response

Taslak makbuzları listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of DraftVoucherResponse (object)
Request
const response = await fetch('/evoucher/Draft', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "TaxNumber": "text",
      "VoucherNumber": "text",
      "IssueDate": "2024-11-21T06:36:34.754Z",
      "CreatedDate": "2024-11-21T06:36:34.754Z",
      "CurrencyCode": "text",
      "PayableAmount": 0,
      "ReceiverName": "text",
      "ReceiverTaxNumber": "text",
      "IsPrint": false,
      "Tags": [
        {
          "UUID": "text",
          "Description": "text",
          "Name": "text",
          "Color": "text"
        }
      ],
      "SpecialCode": "text"
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/evoucher/Draft");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);