CompanyBruttoAccounting

CompanyBruttoAccounting_GetCompanyBruttoAccountingTypesAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/brutto-accountings/types?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

CompanyBruttoAccounting_GetCompanyAccountingTypeAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
excludeHours
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/brutto-accountings/hour-rate?excludeHours=true&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanyBruttoAccounting_GetCompanyAccountingTypeForSupplementRatesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
supplementType
required
integer <int32>
Enum: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/brutto-accountings/supplement-rate?supplementType=0&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanyBruttoAccounting_GetCompanyBruttoAccountingOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
searchPhrase
string
accountingType
Array of strings
type
Array of strings
override
Array of booleans
postings
Array of integers <int32>
Items Enum: 0 1 2 3

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanyBruttoAccounting_GetCompanyBruttoAccountingOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
search
string
sourceType
Array of strings
types
Array of strings
bookingGroupUids
Array of strings <uuid>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanyBruttoAccounting_InsertCompanyAccountingDepartmentOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
companyDepartmentUids
required
Array of strings <uuid>
required
object (Zalary.Models.CompanyBruttoAccounting.BruttoAccountingType)
description
string [ 0 .. 500 ] characters
wageCode
string
debitAccountNumber
string
creditAccountNumber
string

Responses

Request samples

Content type
{
}

CompanyBruttoAccounting_BulkDeleteCompanyBruttoAccountingOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
companyBruttoAccountingOverrideUids
required
Array of strings <uuid>

Responses

Request samples

Content type
{
}

CompanyBruttoAccounting_GetCompanyBruttoAccountingPostingOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
searchPhrase
string
accountingType
Array of strings
postings
Array of integers <int32>
Items Enum: 0 1 2 3
sourceType
Array of strings

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanyBruttoAccounting_UpdateCompanyBruttoAccountingAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyAccountingUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
description
string
wageCode
string [ 0 .. 20 ] characters
debitAccountNumber
string
creditAccountNumber
string
isPostingDebitEnabled
boolean
isPostingCreditEnabled
boolean

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanyBruttoAccounting_BulkDeleteCompanyBruttoAccountingPostingOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
Array ()
string <uuid>

Responses

Request samples

Content type
[
]

CompanyBruttoAccounting_DeleteCompanyBruttoAccountingOverrideAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
accountingOverrideUid
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 AccountingOverrideUid = "YOUR_accountingOverrideUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/brutto-accountings/override/" + AccountingOverrideUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanyBruttoAccounting_UpdateBruttoAccountingOverrideAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
accountingOverrideUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
required
object (Zalary.Models.CompanyBruttoAccounting.BruttoAccountingType)
description
string [ 0 .. 500 ] characters
wageCode
string
debitAccountNumber
string
creditAccountNumber
string

Responses

Request samples

Content type
{
}

CompanyBruttoAccounting_DeleteCompanyBruttoAccountingPostingOverrideAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyAccountingUid
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 CompanyAccountingUid = "YOUR_companyAccountingUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/brutto-accountings/override-posting/" + CompanyAccountingUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanyBruttoAccounting_UpdateCompanyBruttoAccountingPostingOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyAccountingUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
description
string
wageCode
string [ 0 .. 20 ] characters
debitAccountNumber
string
creditAccountNumber
string
isPostingDebitEnabled
boolean
isPostingCreditEnabled
boolean

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}