Payment

Payment_GetPayrollsForCompany

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Payment_GetGroupedPaymentsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
filter.onlyFuture
boolean
filter.types
Array of integers <int32>
Items Enum: 0 1 2 4 8 12 16 32 64 96 128 256 512 1024 2048 4096 4160 8192 16384 16400 32768 65536 131072 206604 208654
filter.status
Array of integers <int32>
Items Enum: 0 1 2 3 4 5 6 7
filter.transferMode
Array of integers <int32>
Items Enum: 1 2
filter.startDate
string <date-time>
filter.endDate
string <date-time>
filter.payrollUids
Array of strings <uuid>
filter.take
integer <int32>
filter.skip
integer <int32>

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 + "/payments/grouped?api-version=string&filter.onlyFuture=true&filter.types=0&filter.status=0&filter.transferMode=1&filter.startDate=2019-08-24T14%3A15%3A22Z&filter.endDate=2019-08-24T14%3A15%3A22Z&filter.payrollUids=497f6eca-6276-4993-bfeb-53cbbbba6f08&filter.take=0&filter.skip=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Payment_GetPaymentsForPayroll

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Payment_UpdatePaymentSegmentsStatusToManuallyPaidAsync

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

Responses

Request samples

Content type
[
]

Payment_GetCompanyGroupedPaymentsByDepartmentDetailsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
filter.onlyFuture
boolean
filter.types
Array of integers <int32>
Items Enum: 0 1 2 4 8 12 16 32 64 96 128 256 512 1024 2048 4096 4160 8192 16384 16400 32768 65536 131072 206604 208654
filter.status
Array of integers <int32>
Items Enum: 0 1 2 3 4 5 6 7
filter.transferMode
Array of integers <int32>
Items Enum: 1 2
filter.startDate
string <date-time>
filter.endDate
string <date-time>
filter.payrollUids
Array of strings <uuid>
filter.take
integer <int32>
filter.skip
integer <int32>

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 + "/payments/grouped/department/details?api-version=string&filter.onlyFuture=true&filter.types=0&filter.status=0&filter.transferMode=1&filter.startDate=2019-08-24T14%3A15%3A22Z&filter.endDate=2019-08-24T14%3A15%3A22Z&filter.payrollUids=497f6eca-6276-4993-bfeb-53cbbbba6f08&filter.take=0&filter.skip=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Payment_GetPaymentsForPayrollExportCsv

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
bankExportType
required
integer <int32>
Enum: 1 2 3 4
transactionCost
required
integer <int32>
Enum: 1 2 3
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 PayrollUid = "YOUR_payrollUid_PARAMETER";
      var BankExportType = "YOUR_bankExportType_PARAMETER";
      var TransactionCost = "YOUR_transactionCost_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/payments/" + PayrollUid + "/export/" + BankExportType + "/" + TransactionCost + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Payment_GetGroupedPaymentDetailsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
filter.onlyFuture
boolean
filter.type
integer <int32>
Enum: 0 1 2 4 8 12 16 32 64 96 128 256 512 1024 2048 4096 4160 8192 16384 16400 32768 65536 131072 206604 208654
filter.status
integer <int32>
Enum: 0 1 2 3 4 5 6 7
filter.transferMode
integer <int32>
Enum: 1 2
filter.dispositionDate
string <date-time>
filter.take
integer <int32>
filter.skip
integer <int32>

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 + "/payments/grouped/details?api-version=string&filter.onlyFuture=true&filter.type=0&filter.status=0&filter.transferMode=1&filter.dispositionDate=2019-08-24T14%3A15%3A22Z&filter.take=0&filter.skip=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Payment_GetCompanyGroupedPaymentsByDepartmentAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
filter.onlyFuture
boolean
filter.type
integer <int32>
Enum: 0 1 2 4 8 12 16 32 64 96 128 256 512 1024 2048 4096 4160 8192 16384 16400 32768 65536 131072 206604 208654
filter.status
integer <int32>
Enum: 0 1 2 3 4 5 6 7
filter.transferMode
integer <int32>
Enum: 1 2
filter.dispositionDate
string <date-time>
filter.take
integer <int32>
filter.skip
integer <int32>

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 + "/payments/grouped/department?api-version=string&filter.onlyFuture=true&filter.type=0&filter.status=0&filter.transferMode=1&filter.dispositionDate=2019-08-24T14%3A15%3A22Z&filter.take=0&filter.skip=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Payment_CreateCompanyBankAccount Deprecated

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
kontoNumber
required
string [ 0 .. 10 ] characters
regNumber
required
string [ 0 .. 4 ] characters
enableNetsPayment
boolean

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

Payment_GetGroupedPaymentsExportAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
Array ()
onlyFuture
boolean
type
integer <int32>
Enum: 0 1 2 4 8 12 16 32 64 96 128 256 512 1024 2048 4096 4160 8192 16384 16400 32768 65536 131072 206604 208654
status
integer <int32>
Enum: 0 1 2 3 4 5 6 7
transferMode
integer <int32>
Enum: 1 2
dispositionDate
string <date-time>
take
integer <int32>
skip
integer <int32>

Responses

Request samples

Content type
[
]

Response samples

Content type
{ }

Payment_UpdatePaymentSegmentsStatusToManuallyPaidAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
Array ()
onlyFuture
boolean
type
integer <int32>
Enum: 0 1 2 4 8 12 16 32 64 96 128 256 512 1024 2048 4096 4160 8192 16384 16400 32768 65536 131072 206604 208654
status
integer <int32>
Enum: 0 1 2 3 4 5 6 7
transferMode
integer <int32>
Enum: 1 2
dispositionDate
string <date-time>
take
integer <int32>
skip
integer <int32>

Responses

Request samples

Content type
[
]

Payment_DeleteCompanyBankAccount Deprecated

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

      Console.WriteLine(response);
    }
  }
}