EmployeeCourse

EmployeeCourse_GetEmployeeCoursesWithAccessAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetEmployeeMyCoursesAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetEmployeeCourseRequestsWithAccessAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetEmployeeAvailableCoursesAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetEmployeeCourseDetails

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetEmployeeWithAccessCourseDetailsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_UpdateCourseAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
name
required
string
type
integer <int32>
Enum: 1 2 3 4 5 6 7
locationLatitude
number <double>
locationLongitude
number <double>
address
string [ 0 .. 120 ] characters
teacher
string
targetGroup
string
contactPerson
required
string [ 0 .. 120 ] characters
contactMail
required
string [ 0 .. 120 ] characters
contactPhone
string [ 0 .. 50 ] characters
attachmentUids
Array of strings <uuid>
isNumberOfParticipantsUnlimited
boolean
maximumNumberOfParticipants
integer <int32>
description
string
isSingleCourse
boolean
required
Array of objects (Zalary.Courses.Contracts.EmployeeInCourse.Models.EmployeeInCourseRequest)
required
Array of objects (Zalary.Courses.Contracts.EmployeeInCourse.Models.EmployeeInCourseRequest)
autoApproveRequests
boolean
participationOnlyByInvitation
boolean
activateInviteLink
boolean
invitationLink
string [ 0 .. 2000 ] characters
required
Array of objects (Zalary.Courses.Contracts.CourseDate.Models.CourseDateRequest)

Responses

Request samples

Content type
{
}

EmployeeCourse_GetEmployeeGroupsPerCompany

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetCourseRequestsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetCourseInvitationsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetCourseParticipantsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_GetCourseAttachmentAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
"string"

EmployeeCourse_GetEmployeeWithAccessCourseAttachmentAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
"string"

EmployeeCourse_PostCourseAttachmentAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeeCourse_InviteEmployeesInCourseAsync

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

Responses

Request samples

Content type
[
]

EmployeeCourse_SendMessageToAllParticipants

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
subject
string
message
string

Responses

Request samples

Content type
{
}

EmployeeCourse_SignUpParticipantInCourse

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var request = await client.PostAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/participants/signup?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_RejectRequestsAsync

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

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_ApproveRequestsAsync

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

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_RejectCourseRequestsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/access/requests/reject?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_ApproveCourseRequestsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/access/requests/approve?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_PendingCourseRequestsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/access/requests/pending?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_CancelCourseInvitationsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/access/invitations/cancel?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_RemoveCourseParticipantsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
courseUid
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/access/participants/remove?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeCourse_CancelParticipantRequestInCourse

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
participantUid
required
string <uuid>
employeeUid
required
string
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var ParticipantUid = "YOUR_participantUid_PARAMETER";
      var EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/participants/" + ParticipantUid + "/cancel-request?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_AcceptParticipantInvitationInCourse

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
participantUid
required
string <uuid>
employeeUid
required
string
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var ParticipantUid = "YOUR_participantUid_PARAMETER";
      var EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/participants/" + ParticipantUid + "/accept-invitation?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeCourse_DeclineParticipantInvitationInCourse

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
participantUid
required
string <uuid>
employeeUid
required
string
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 CourseUid = "YOUR_courseUid_PARAMETER";
      var ParticipantUid = "YOUR_participantUid_PARAMETER";
      var EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/courses/" + CourseUid + "/participants/" + ParticipantUid + "/decline-invitation?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}