Firmaya Tanımlı ERP Listesini Getirir

Firmaya tanımlı ERP listesi getirilir.

GET/eledger/Companies/Erp
Query parameters
Response

Firmaya tanımlı ERP listesi getirilir.

Body
IDinteger (int32)
Namenullable string
ErpIDnullable integer (int32)
IsActiveboolean
ConnectionStringnullable string
CreatedDatestring (date-time)
Request
const response = await fetch('/eledger/Companies/Erp', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Name": "text",
    "IsActive": false,
    "ConnectionString": "text",
    "CreatedDate": "2024-11-21T06:28:49.081Z"
  }
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Companies/Erp?IsActive=true", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);