E-Fatura Mükelleflerini Listeler

GIB'de kayıtlı bütün E-Fatura mükelleflerini çekmek için kullanılır.

Mükellef listesi getirir.

GET/general/GlobalCompany
Query parameters
Response

Mükellef listesi getirir.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of GlobalCustomerResponse (object)
Request
const response = await fetch('/general/GlobalCompany', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "TaxNumber": "text",
      "Title": "text",
      "AccountType": "text",
      "FirstCreationTime": "2024-11-21T06:36:48.099Z",
      "Type": "text",
      "Aliases": [
        {
          "Name": "text",
          "CreationTime": "2024-11-21T06:36:48.099Z",
          "DeletionTime": "2024-11-21T06:36:48.099Z"
        }
      ]
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/general/GlobalCompany");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);