BookingGroups

BookingGroups_GetCompanyBookingGroupsAsync

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/booking-groups?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

BookingGroups_CreateBookingGroupAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
number
required
string
name
required
string

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_GetBookingGroupBaseDtoAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

BookingGroups_DeleteBookingGroupAsync

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

      Console.WriteLine(response);
    }
  }
}

BookingGroups_UpdateBookingGroupAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
bookingGroupUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
number
required
string
name
required
string

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_GetBookingGroupsUnassignedEmployeesAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

BookingGroups_GetBookingGroupCompanyBruttoAccounting

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
bookingGroupUid
required
string <uuid>
companyBruttoAccountingUid
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 BookingGroupUid = "YOUR_bookingGroupUid_PARAMETER";
      var CompanyBruttoAccountingUid = "YOUR_companyBruttoAccountingUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/brutto-accountings/booking-groups/" + BookingGroupUid + "/accountings/" + CompanyBruttoAccountingUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

BookingGroups_CreateBookingGroupCompanyBruttoAccountingOverride

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

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_UpdateBookingGroupCompanyBruttoAccountingOverride

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

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_GetBookingGroupsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
sortBy
integer <int32>
Enum: 0 1 2
search
string
employees
Array of strings <uuid>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_AssignEmployeesToBookingGroupsAsync

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

Responses

Request samples

Content type
{
}

BookingGroups_GetAssignedEmployeesToBookingGroupsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
bookingGroupUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
search
string
departmentUids
Array of strings
salaryTypes
Array of integers <int32>
Items Enum: 0 1 2 3 4 5
companyCostCenter
Array of strings <uuid>
companyProfitCenter
Array of strings <uuid>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_RemoveEmployeesFromBookingGroupsAsync

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

Responses

Request samples

Content type
[
]

BookingGroups_GetBookingGroupCompanyBruttoAccountings

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

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

BookingGroups_BulkDeleteBookingGroupCompanyBruttoAccountingOverride

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

Responses

Request samples

Content type
[
]

BookingGroups_BulkDeleteBookingGroupCompanyBruttoAccountingOverride

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/booking-groups/override-posting/" + AccountingOverrideUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

BookingGroups_BulkDeleteBookingGroupCompanyBruttoAccountingOverride

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

Responses

Request samples

Content type
[
]