Mükellef Bilgisini Getirir

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

Mükellef bilgisini getirir.

GET/general/GlobalCompany/GetGlobalCustomerInfo/{TaxNumber}
Path parameters
TaxNumber*string
Query parameters
Response

Mükellef bilgisini getirir.

Body
TaxNumbernullable string
Titlenullable string
TaxDepartmentnullable string
Addressnullable string
Countrynullable string
Citynullable string
Districtnullable string
PostalCodenullable string
Phonenullable string
Faxnullable string
Emailnullable string
Typenullable string
WebSitenullable string
ModuleTypenullable string
FirstCreationTimestring (date-time)
Aliasesnullable array of Alias (object)
Request
const response = await fetch('/general/GlobalCompany/GetGlobalCustomerInfo/{TaxNumber}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "TaxNumber": "text",
  "Title": "text",
  "TaxDepartment": "text",
  "Address": "text",
  "Country": "text",
  "City": "text",
  "District": "text",
  "PostalCode": "text",
  "Phone": "text",
  "Fax": "text",
  "Email": "text",
  "Type": "text",
  "WebSite": "text",
  "ModuleType": "text",
  "FirstCreationTime": "2024-11-21T08:35:56.112Z",
  "Aliases": [
    {
      "Name": "text",
      "CreationTime": "2024-11-21T08:35:56.112Z",
      "DeletionTime": "2024-11-21T08:35:56.112Z"
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/general/GlobalCompany/GetGlobalCustomerInfo/34918613960?globalUserType=Invoice");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);