CompanyDepartmentOverride

CompanyDepartmentOverride_InsertCompanyDepartmentOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
type
required
string
description
required
string [ 0 .. 75 ] characters
accountNumber
required
string

Responses

Request samples

Content type
{
}

CompanyDepartmentOverride_DeleteCompanyDepartmentOverridesAsync

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

Responses

Request samples

Content type
{
}

CompanyDepartmentOverride_GetCompanyDepartmentOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanyDepartmentOverride_InsertCompanyDepartmentBruttoOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
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
{
}

CompanyDepartmentOverride_DeleteCompanyDepartmentBruttoOverridesAsync

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

Responses

Request samples

Content type
{
}

CompanyDepartmentOverride_GetCompanyDepartmentBruttoOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanyDepartmentOverride_DeleteCompanyDepartmentOverrideAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
companyDepartmentOverrideUid
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 CompanyDepartmentUid = "YOUR_companyDepartmentUid_PARAMETER";
      var CompanyDepartmentOverrideUid = "YOUR_companyDepartmentOverrideUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/departments/" + CompanyDepartmentUid + "/overrides/" + CompanyDepartmentOverrideUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanyDepartmentOverride_UpdateCompanyDepartmentOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
companyDepartmentOverrideUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
type
required
string
description
required
string [ 0 .. 75 ] characters
accountNumber
required
string

Responses

Request samples

Content type
{
}

CompanyDepartmentOverride_DeleteCompanyDepartmentBruttoOverrideAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
companyDepartmentOverrideUid
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 CompanyDepartmentUid = "YOUR_companyDepartmentUid_PARAMETER";
      var CompanyDepartmentOverrideUid = "YOUR_companyDepartmentOverrideUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/departments/" + CompanyDepartmentUid + "/brutto-overrides/" + CompanyDepartmentOverrideUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanyDepartmentOverride_UpdateCompanyDepartmentBruttoOverridesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
companyDepartmentUid
required
string <uuid>
companyDepartmentOverrideUid
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
{
}