Accounting

Accounting_GetCompanyFinancialReportAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
request.from
string <date-time>
request.to
string <date-time>

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/financial?api-version=string&request.from=2019-08-24T14%3A15%3A22Z&request.to=2019-08-24T14%3A15%3A22Z");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

Accounting_GetFinancialReport

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var PayrollUid = "YOUR_payrollUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/financial?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Accounting_GetCompanyFinancialReportDocumentAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
request.from
string <date-time>
request.to
string <date-time>

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/financial/document?api-version=string&request.from=2019-08-24T14%3A15%3A22Z&request.to=2019-08-24T14%3A15%3A22Z");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Accounting_GetFinancialReportDocument

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
query Parameters
isEmployeesReport
required
boolean
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var PayrollUid = "YOUR_payrollUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/financial/document?isEmployeesReport=true&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Accounting_GetBruttoAccountingFinancialReportDocumentAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
query Parameters
isEmployeesReport
required
boolean
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var PayrollUid = "YOUR_payrollUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/brutto-financial/document?isEmployeesReport=true&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }