Brings Taxpayer Information in List

It is used to bring the TAG information of taxpayers.

Mükellef bilgisini liste halinde getirir.

POST/general/GlobalCompany/GetGlobalCustomerInfo
Query parameters
Body
itemsstring
Response

Mükellef bilgisini liste halinde getirir.

Body
TaxNumbernullable string
Titlenullable string
Typenullable string
ModuleTypenullable string
FirstCreationTimestring (date-time)
Aliasesnullable array of Alias (object)
Request
const response = await fetch('/general/GlobalCompany/GetGlobalCustomerInfo', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify([
      "text"
    ]),
});
const data = await response.json();
Response
[
  {
    "TaxNumber": "text",
    "Title": "text",
    "Type": "text",
    "ModuleType": "text",
    "FirstCreationTime": "2024-05-19T20:15:36.731Z",
    "Aliases": [
      {
        "Name": "text",
        "CreationTime": "2024-05-19T20:15:36.731Z",
        "DeletionTime": "2024-05-19T20:15:36.731Z"
      }
    ]
  }
]
var client = new RestClient("https://apitest.nilvera.com/general/GlobalCompany/GetGlobalCustomerInfo?globalUserType=Invoice");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["string"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated