Taslağın Modeli Getirilir

Model dosyasını indirir.

get
Authorizations
Path parameters
UUIDstring · uuidRequired
Responses
200
Model dosyasını indirir.
application/json
get
GET /einvoice/Draft/{UUID}/model HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "BillInfo": {
    "UUID": "123e4567-e89b-12d3-a456-426614174000",
    "TemplateUUID": "123e4567-e89b-12d3-a456-426614174000",
    "TemplateBase64String": "text",
    "BillSerieOrNumber": "text",
    "IssueDate": "2025-06-25T13:38:09.092Z",
    "CurrencyCode": "text",
    "ExchangeRate": 1,
    "RelatedDocument": {
      "Type": "EFATURA",
      "Code": "text"
    },
    "ValidityPeriod": {
      "StartDate": "2025-06-25T13:38:09.092Z",
      "EndDate": "2025-06-25T13:38:09.092Z"
    }
  },
  "CompanyInfo": {
    "TaxNumber": "text",
    "Name": "text",
    "TaxOffice": "text",
    "PartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "AgentPartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "Address": "text",
    "District": "text",
    "City": "text",
    "Country": "text",
    "PostalCode": "text",
    "Phone": "text",
    "Fax": "text",
    "Mail": "text",
    "WebSite": "text"
  },
  "CustomerInfo": {
    "TaxNumber": "text",
    "Name": "text",
    "TaxOffice": "text",
    "PartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "AgentPartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "Address": "text",
    "District": "text",
    "City": "text",
    "Country": "text",
    "PostalCode": "text",
    "Phone": "text",
    "Fax": "text",
    "Mail": "text",
    "WebSite": "text"
  },
  "SellerInfo": {
    "User": "text",
    "TableNo": "text",
    "Address": "text",
    "District": "text",
    "City": "text",
    "Country": "text",
    "PostalCode": "text",
    "Phone": "text",
    "Fax": "text",
    "Mail": "text",
    "WebSite": "text"
  },
  "BillLines": [
    {
      "Name": "text",
      "Quantity": 1,
      "UnitType": "text",
      "Price": 1,
      "KDVPercent": 1,
      "KDVTotal": 1
    }
  ],
  "Notes": [
    "text"
  ]
}

var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Draft/1357ba09-29e1-4e65-b600-6247ddd57f93/model", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated