Consultants

Consultants_GetConsultantDetailsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Consultants_UpdateConsultantDetailsAsync

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

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

Consultants_GetConsultantProfileAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Consultants_UpdateConsultantProfileAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
mobilePhone
string [ 0 .. 50 ] characters
address
string [ 0 .. 50 ] characters
postalNumber
string [ 0 .. 20 ] characters
city
string [ 0 .. 50 ] characters
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

Consultants_InsertConsultantAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
mobilePhone
string [ 0 .. 50 ] characters
address
string [ 0 .. 50 ] characters
postalNumber
string [ 0 .. 20 ] characters
city
string [ 0 .. 50 ] characters
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

Consultants_ForceResignConsultantAsync

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

      Console.WriteLine(response);
    }
  }
}