CompanyCourse

GetEmployeeGroupsPerCompany

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/groups
Request samples
Response samples
{
}

InsertEmployeeGroup

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
name
required
string [ 0 .. 120 ] characters
employees
required
Array of strings <uuid>
Responses
204

No Content

post/api/companies/{companyUid}/courses/groups
Request samples
{
}

GetCoursesAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/overview
Request samples
Response samples
{
}

GetCoursesRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/requests
Request samples
Response samples
{
}

GetCourseDetailsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/{courseUid}
Request samples
Response samples
{
}

UpdateCourseAsync

Securityoauth2
Request
path Parameters
companyUid
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
204

No Content

put/api/companies/{companyUid}/courses/{courseUid}
Request samples
{
}

GetCourseRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/{courseUid}/requests
Request samples
Response samples
{
}

GetCourseInvitationsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/{courseUid}/invitations
Request samples
Response samples
{
}

GetCourseParticipantsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/{courseUid}/participants
Request samples
Response samples
{
}

GetEmployeesGroup

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
employeeGroupUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/groups/{employeeGroupUid}
Request samples
Response samples
{
}

DeleteEmployeeGroup

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
employeeGroupUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

delete/api/companies/{companyUid}/courses/groups/{employeeGroupUid}
Request samples

UpdateEmployeeGroup

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
employeeGroupUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
name
required
string [ 0 .. 120 ] characters
employees
required
Array of strings <uuid>
Responses
204

No Content

patch/api/companies/{companyUid}/courses/groups/{employeeGroupUid}
Request samples
{
}

GetCourseAttachmentAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
attachmentUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/courses/{courseUid}/attachments/{attachmentUid}
Request samples
Response samples
"string"

CreateCourseAsync

Securityoauth2
Request
path Parameters
companyUid
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
200

OK

post/api/companies/{companyUid}/courses
Request samples
{
}
Response samples
[
]

PostCourseAttachmentAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

post/api/companies/{companyUid}/courses/attachments
Request samples
Response samples
[
]

InviteEmployeesInCourseAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
Array
string <uuid>
Responses
204

No Content

post/api/companies/{companyUid}/courses/{courseUid}/invite
Request samples
[
]

SendMessageToAllParticipants

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
subject
string
message
string
Responses
204

No Content

post/api/companies/{companyUid}/courses/{courseUid}/send-message
Request samples
{
}

CancelCourseAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/cancel
Request samples

ArchiveCourseAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/archive
Request samples

RejectRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/requests/reject
Request samples

ApproveRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/requests/approve
Request samples

CopyCourseAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

patch/api/companies/{companyUid}/courses/{courseUid}/copy
Request samples
Response samples
"00000000-0000-0000-0000-000000000000"

RejectCourseRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/{courseUid}/requests/reject
Request samples

ApproveCourseRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/{courseUid}/requests/approve
Request samples

PendingCourseRequestsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/{courseUid}/requests/pending
Request samples

CancelCourseInvitationsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/{courseUid}/invitations/cancel
Request samples

RemoveCourseParticipantsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
courseUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/courses/{courseUid}/participants/remove
Request samples