CompanySupplementsAndDeductionsRegistrations

CompanySupplementsAndDeductionsRegistrations_GetRegistrationBaseDtoQuery

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRegistrations_DeleteRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

CompanySupplementsAndDeductionsRegistrations_GetCompanyRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRegistrations_GetCompanyRegistrationAttachmentLocationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
registrationUid
required
string <uuid>
attachmentUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var AttachmentUid = "YOUR_attachmentUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "/attachments/" + AttachmentUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
"string"

CompanySupplementsAndDeductionsRegistrations_BulkInsertRegistrationsAsync

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

Responses

Request samples

Content type
[
]

Response samples

Content type
[
]

CompanySupplementsAndDeductionsRegistrations_PostCompanyRegistrationAttachmentsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

CompanySupplementsAndDeductionsRegistrations_RejectRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

CompanySupplementsAndDeductionsRegistrations_ApproveRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupplementsAndDeductionsRegistrations_PendingRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

CompanySupplementsAndDeductionsRegistrations_ManuallyArchiveRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}