Faturaya Ait ETTN Numarası İle Zarf Bilgisini Getirir

Faturaya ait ETTN numarası ile Zarf bilgilerini getirir.

GET/einvoice/Purchase/{UUID}/EnvelopeInfo
Path parameters
UUID*string (uuid)
Response

Faturaya ait ETTN numarası ile Zarf bilgilerini getirir.

Body
GIBCodenullable string
GIBDescriptionnullable string
EnvelopeUUIDnullable string
Request
const response = await fetch('/einvoice/Purchase/{UUID}/EnvelopeInfo', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "GIBCode": "text",
  "GIBDescription": "text",
  "EnvelopeUUID": "text"
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/einvoice/Purchase/17ae561f-2b79-4c7d-b74e-0aa861b1ad33/EnvelopeInfo", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);