Faturayı GTB'den Kontrol Eder

Faturayı Gtb den kontrol eder.

GET/einvoice/Sale/{UUID}/CheckFromGtb
Path parameters
UUID*string (uuid)
Response

Faturayı Gtb den kontrol eder.

Body
UUIDnullable string
GTB_REFNOnullable string
GTB_GCB_TESCILNOnullable string
GTB_FIILI_IHRACAT_TARIHInullable string
GTB_CEVAP_NOTUnullable string
Request
const response = await fetch('/einvoice/Sale/{UUID}/CheckFromGtb', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "text",
  "GTB_REFNO": "text",
  "GTB_GCB_TESCILNO": "text",
  "GTB_FIILI_IHRACAT_TARIHI": "text",
  "GTB_CEVAP_NOTU": "text"
}
var client = new RestClient("https://apitest.nilvera.com/einvoice/Sale/ea047f3a-009f-4811-bf3c-eb87207552cd/CheckFromGtb");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["22d6b2ca-ba6b-47dc-a07e-846cc0e51a0e"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);