EmployeeBenefits

EmployeeBenefits_GetEmployeeBenefitBasesAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeeBenefits_PostEmployeeBenefitAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
benefitUid
required
string <uuid>
pricePerMonth
number <double>
name
string [ 0 .. 80 ] characters
isProrated
boolean
pbsNumber
string
companyContribution
number <double>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

EmployeeBenefits_PostEmployeeBenefitBulkAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
Array ()
employeeUid
required
string <uuid>
required
object (Zalary.Models.Employee.CreateBenefitRequest)

Responses

Request samples

Content type
[
]

Response samples

Content type
[
]

EmployeeBenefits_DeleteBenefitPerEmployee

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
benefitUid
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 EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var BenefitUid = "YOUR_benefitUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/benefits/" + BenefitUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeBenefits_UpdatePricePerMouthBenefit

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
benefitUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
pricePerMonth
number <double>
name
string [ 0 .. 80 ] characters
isProrated
boolean
pbsNumber
string
companyContribution
number <double>

Responses

Request samples

Content type
{
}