Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Course Offering (POST)
Create course offerings and their associated course offering schedules in bulk. Use
this API to create course schedules that specify when courses are offered, helping students plan
their registrations without conflicts.
- Resource
-
1/connect/education/academic-operations/course-offering - Resource example
-
1https://yourInstance.salesforce.com/services/data/v68.0/connect/education/academic-operations/course-offering?overwrite=false - Available version
- 64.0
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1[ 2 { 3 "courseOffering": { 4 "courseOfferingExternalId": { 5 "fieldName": "externalField__c", 6 "fieldValue": "custom field value" 7 }, 8 "courseOfferingCustomAttribute": [ 9 { 10 "fieldName": "customField__c", 11 "fieldValue": "custom field value" 12 } 13 ], 14 "courseOfferingId": "", 15 "courseOfferingName": "Operating System", 16 "academicSessionId": "0vcxx00000000ODAAY", 17 "learningCourseId": "0vYxx00000000ODEAY", 18 "primaryFacultyId": "003xx000004Wj36AAC", 19 "startDate": "2024-12-09T20:00:00.000Z", 20 "endDate": "2025-12-15T20:00:00.000Z", 21 "isActive": "true", 22 "enrollmentCapacity": 12, 23 "waitlistedCapacity": 2, 24 "description": "Course Offering Summer 2025 Operating System", 25 "sectionNumber": 1, 26 "courseOfferingSchedule": [ 27 { 28 "courseOfferingScheduleExternalId": { 29 "fieldName": "customField__c", 30 "fieldValue": "custom field value" 31 }, 32 "courseOfferingScheduleCustomAttribute": [ 33 { 34 "fieldName": "customField1__c", 35 "fieldValue": "custom field value" 36 } 37 ], 38 "recurrencePattern": "RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20251130T000000Z;", 39 "startTime": "00:15:00.000", 40 "endTime": "01:15:00.000", 41 "location": "131xx0000004FoLAAU", 42 "courseOfferingScheduleTemplate": null, 43 "startDate": "2024-12-01", 44 "type": "Class", 45 "description": "LT for OS class", 46 "courseOfferingScheduleId": "" 47 }, 48 { 49 "courseOfferingScheduleExternalId": { 50 "fieldName": "customField__c", 51 "fieldValue": "custom field value" 52 }, 53 "courseOfferingScheduleCustomAttribute": [ 54 { 55 "fieldName": "customField1__c", 56 "fieldValue": "custom field value" 57 } 58 ], 59 "recurrencePattern": "RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20251130T000000Z;", 60 "startTime": "00:15:00.000", 61 "endTime": "01:15:00.000", 62 "location": "131xx0000004FoLAAU", 63 "courseOfferingScheduleTemplate": null, 64 "startDate": "2024-12-01", 65 "type": "Class", 66 "description": " class", 67 "courseOfferingScheduleId": "" 68 } 69 ] 70 } 71 } 72] - Properties
-
Name Type Description Required or Optional Available Version courseOfferingInput Course Offering Input[] List of course offering input to be processed. Required 64.0
- Request parameters for POST
-
Parameter Name Type Description Required or Optional Available Version courseOfferingInputRepresentation Object Create course offerings in bulk fashion. Required 64.0 overwrite Boolean Indicates whether the external ID in the request already exists (true) or not (false). Optional 64.0 - Response body for POST
- Course Offering