CompanySupplementsAndDeductionsRates

CompanySupplementsAndDeductionsRates_GetSupplementRatesListDtoAsync

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://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/list?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRates_GetSupplementRatesExtendedDtoAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
searchPhrase
string
object (Zalary.SupplementsAndDeductions.Models.RateSortOptions)
override
Array of booleans
prorated
Array of booleans

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRates_GetSupplementRatesForFilterDtoAsync

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://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/filter?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

CompanySupplementsAndDeductionsRates_GetSettingsForSupplementRateTypesAsync

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://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/settings?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRates_GetSupplementRateDtoAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supplementRateUid
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 SupplementRateUid = "YOUR_supplementRateUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/" + SupplementRateUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRates_DeleteSupplementRatesDtoQuery

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supplementRateUid
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 SupplementRateUid = "YOUR_supplementRateUid_PARAMETER";
      var request = await client.DeleteAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/" + SupplementRateUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanySupplementsAndDeductionsRates_UpdateSupplementRatesDtoQuery

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supplementRateUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
name
required
string [ 0 .. 100 ] characters
number
required
string
kontoNumber
string
regNumber
string
type
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
rate
number <double>
sharedToAll
boolean
hours
number <double>
limitedToEmployee
boolean
isBenefitPackageTwoEnabled
boolean
overrideRate
boolean
employees
required
Array of strings <uuid>
departments
required
Array of strings <uuid>
isProratedRate
boolean

Responses

Request samples

Content type
{
}

CompanySupplementsAndDeductionsRates_GetSupplementRatesDtoAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
currentRateUid
string <uuid>
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://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates?currentRateUid=497f6eca-6276-4993-bfeb-53cbbbba6f08&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

CompanySupplementsAndDeductionsRates_InsertSupplementRatesDtoAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
name
required
string [ 0 .. 100 ] characters
number
required
string
kontoNumber
string
regNumber
string
type
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
rate
number <double>
sharedToAll
boolean
hours
number <double>
limitedToEmployee
boolean
isBenefitPackageTwoEnabled
boolean
overrideRate
boolean
employees
required
Array of strings <uuid>
departments
required
Array of strings <uuid>
isProratedRate
boolean

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRates_DeleteSupplementOverridesAsync

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

Responses

Request samples

Content type
{
}