Templates

Templates_GetTemplateBasesAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

Templates_PostTemplateAsync

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

Responses

Request samples

Content type
{
}

Response samples

Content type
"00000000-0000-0000-0000-000000000000"

Templates_GetTemplateAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Templates_EditTemplateAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
templateUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
object (Zalary.Models.Employee.EmployeeBase)
id
integer <int32>
uid
string <uuid>

Responses

Request samples

Content type
{
}