Taslağın Pdf'i Getirilir

Pdf dosyasını indirir.

GET/ebill/Draft/{UUID}/pdf
Path parameters
UUID*string (uuid)
Response

Pdf dosyasını indirir.

Body
string (byte)
Request
const response = await fetch('/ebill/Draft/{UUID}/pdf', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
"Ynl0ZXM="

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/pdf", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);