CreateInPersonEvent
Creates an in-person event with the data provided. The results of this mutation can be affected by providing an authToken header to set a user for the operation.
CreateInPersonEvent(
title: String!
language: String
startDate: Date!
endDate: Date!
contentType: String
meetings: [MeetingFields!]!
): Course!
Directives
authAccess
This requires the current user to be in
MANAGER
role.
Arguments
CreateInPersonEvent.title
● String!
non-null scalar
CreateInPersonEvent.language
● String
scalar
CreateInPersonEvent.startDate
● Date!
non-null scalar
CreateInPersonEvent.endDate
● Date!
non-null scalar
CreateInPersonEvent.contentType
● String
scalar
CreateInPersonEvent.meetings
● [MeetingFields!]!
non-null input
Type
Course
object
Examples
Query:
CreateInPersonEvent(
$title: String!,
$language: String,
$startDate: Date!,
$endDate: Date!,
$contentType: String,
$meetings: [MeetingFields!]!
) {
CreateInPersonEvent(
title: $title,
language: $language,
startDate: $startDate,
endDate: $endDate,
contentType: $contentType,
meetings: $meetings
) {
id
createdAt
updatedAt
slug
status
title
sessionIsTitled
sampleLesson {
...LessonFragment
}
sampleLessonId
sections {
...SectionFragment
}
appearanceBlock
appearanceHash
paywallsBlock
termsBlock
confirmationBlock
courseStartDate
courseEndDate
enrollmentStartDate
enrollmentEndDate
gracePeriodEndDate
seatsLimit
waitlistCount
seatsLimitMet
waitlistingEnabled
waitlistingTriggered
taxable
purchasable
taxCategory
fulfillmentCenter
courseGroup {
...CourseGroupFragment
}
syllabusTitlesEnabled
galleryEnabled
workbookEnabled
linkedWorkbookEnabled
linkedWorkbookSkipEnabled
superquizEnabled
discussionsEnabled
resourcesEnabled
meetingsOverviewEnabled
instructorAccessEnabled
instructorEmails
freeWithRegistration
priceInCents
instructorAccessPriceInCents
suggestedRetailPriceInCents
alternativePricingType
alternativePricingRef
accessDays
showProgress
forceLinearProgress
completionTimePerPage
askLearnerPassword
roster
topicGroupId
sku
prerequisiteCourses {
...CourseFragment
}
prerequisiteLearningPaths {
...LearningPathFragment
}
parentCourseId
isChild
hasMultipleCurrencies
prices {
...ItemPriceFragment
}
enrollmentActive
waitlistActive
webinarDates {
...DateRangeFragment
}
webinarTimeZone
meetings {
...MeetingFragment
}
inPersonEventInfo {
...InPersonEventInfoFragment
}
currentUserHasAccess
location {
...LocationFragment
}
displayMap
publishDate
isActive
futurePublishDate
balanceRequirement
awardClaimingOptions {
...CourseAwardClaimingOptionFragment
}
availabilityStatus
embeddedEnabled
displayResults
bulkPurchasingEnabled
seatTiers {
...SeatTierFragment
}
seatPackages {
...SeatPackageFragment
}
lastTierPriceInCents
webinarId
hasChildren
customFields
kind
rosterSubmittedDate
finalAssessment
scormCollectUserDetails
seatsUsedCount
seatsAllocatedCount
webinarDetails {
...WebinarBlockFragment
}
showSyllabusWhileUnenrolled
topicGroup {
...TopicGroupFragment
}
courseGroupTitle
}
}
Variables:
{
"title": "abc123",
"language": "xyz789",
"startDate": "2023-12-20T16:58:58.782Z",
"endDate": "2023-12-20T16:58:58.782Z",
"contentType": "xyz789",
"meetings": [
"MeetingFields"
]
}
Response:
{
"data": {
"CreateInPersonEvent": {
"id": "58ccb96c-8e90-4464-86e0-f284442981df",
"createdAt": "2023-12-20T16:58:58.782Z",
"updatedAt": "2023-12-20T16:58:58.782Z",
"slug": "Slug",
"status": "draft",
"title": "xyz789",
"sessionIsTitled": false,
"sampleLesson": "Lesson",
"sampleLessonId": "58ccb96c-8e90-4464-86e0-f284442981df",
"sections": [
"Section"
],
"appearanceBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"appearanceHash": "xyz789",
"paywallsBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"termsBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"confirmationBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"courseStartDate": "2023-12-20T16:58:58.782Z",
"courseEndDate": "2024-06-20T16:58:58.782Z",
"enrollmentStartDate": "2024-06-20T16:58:58.782Z",
"enrollmentEndDate": "2023-12-20T16:58:58.782Z",
"gracePeriodEndDate": "2023-12-20T16:58:58.782Z",
"seatsLimit": 678,
"waitlistCount": 678,
"seatsLimitMet": false,
"waitlistingEnabled": true,
"waitlistingTriggered": false,
"taxable": false,
"purchasable": true,
"taxCategory": "58ccb96c-8e90-4464-86e0-f284442981df",
"fulfillmentCenter": "58ccb96c-8e90-4464-86e0-f284442981df",
"courseGroup": "courseGroup-1",
"syllabusTitlesEnabled": false,
"galleryEnabled": false,
"workbookEnabled": true,
"linkedWorkbookEnabled": true,
"linkedWorkbookSkipEnabled": false,
"superquizEnabled": true,
"discussionsEnabled": true,
"resourcesEnabled": true,
"meetingsOverviewEnabled": false,
"instructorAccessEnabled": false,
"instructorEmails": [
"xyz789"
],
"freeWithRegistration": true,
"priceInCents": 678,
"instructorAccessPriceInCents": 678,
"suggestedRetailPriceInCents": 678,
"alternativePricingType": "membership",
"alternativePricingRef": 678,
"accessDays": 678,
"showProgress": true,
"forceLinearProgress": false,
"completionTimePerPage": 678,
"askLearnerPassword": true,
"roster": true,
"topicGroupId": "58ccb96c-8e90-4464-86e0-f284442981df",
"sku": "xyz789",
"prerequisiteCourses": [
"Course"
],
"prerequisiteLearningPaths": [
"LearningPath"
],
"parentCourseId": "58ccb96c-8e90-4464-86e0-f284442981df",
"isChild": false,
"hasMultipleCurrencies": false,
"prices": [
"ItemPrice"
],
"enrollmentActive": true,
"waitlistActive": true,
"webinarDates": [
"DateRange"
],
"webinarTimeZone": "abc123",
"meetings": [
"Meeting"
],
"inPersonEventInfo": "InPersonEventInfo",
"currentUserHasAccess": false,
"location": "Location",
"displayMap": false,
"publishDate": "2024-06-20T16:58:58.782Z",
"isActive": true,
"futurePublishDate": "2024-06-20T16:58:58.782Z",
"balanceRequirement": 236.56,
"awardClaimingOptions": [
"CourseAwardClaimingOption"
],
"availabilityStatus": "abc123",
"embeddedEnabled": true,
"displayResults": true,
"bulkPurchasingEnabled": false,
"seatTiers": [
"SeatTier"
],
"seatPackages": [
"SeatPackage"
],
"lastTierPriceInCents": 678,
"webinarId": "xyz789",
"hasChildren": true,
"customFields": "{}",
"kind": "microCourse",
"rosterSubmittedDate": "2024-06-20T16:58:58.782Z",
"finalAssessment": "xyz789",
"scormCollectUserDetails": true,
"seatsUsedCount": 678,
"seatsAllocatedCount": 678,
"webinarDetails": "WebinarBlock",
"showSyllabusWhileUnenrolled": false,
"topicGroup": "TopicGroup",
"courseGroupTitle": "abc123"
}
}
}