Firma Bilgileri Getirir

Firma bilgilerini getirir.

GET/general/Company
Response

Firma bilgilerini getirir.

Body
Namenullable string
TaxNumbernullable string
TaxOfficenullable string
Addressnullable string
Districtnullable string
Citynullable string
Countrynullable string
PostalCodenullable string
PhoneNumbernullable string
Faxnullable string
Emailnullable string
WebSitenullable string
IsActivenullable boolean
IsDeletednullable boolean
PayeeFinancialAccountIDnullable string
PaymentMeansChannelCodenullable string
PaymentMeansCodenullable string
Aliasesnullable array of CompanyAliases (object)
Request
const response = await fetch('/general/Company', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Name": "text",
  "TaxNumber": "text",
  "TaxOffice": "text",
  "Address": "text",
  "District": "text",
  "City": "text",
  "Country": "text",
  "PostalCode": "text",
  "PhoneNumber": "text",
  "Fax": "text",
  "Email": "text",
  "WebSite": "text",
  "IsActive": false,
  "IsDeleted": false,
  "PayeeFinancialAccountID": "text",
  "PaymentMeansChannelCode": "text",
  "PaymentMeansCode": "text",
  "Aliases": [
    {
      "Alias": "text"
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/general/Company");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated