Mükellef Bilgisini Liste Halinde Getirir

Mükelleflerin ETİKET bilgilerini getirmek için kullanılır.

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-11-21T09:07:24.099Z",
    "Aliases": [
      {
        "Name": "text",
        "CreationTime": "2024-11-21T09:07:24.099Z",
        "DeletionTime": "2024-11-21T09:07:24.099Z"
      }
    ]
  }
]
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);