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 Schedules (POST)
Add or modify course offering schedules to the course offering. This resource is used
to modify the schedules of an existing course offering by adding new schedules or updating the
existing schedules.
- Resource
-
1/connect/education/academic-operations/course-offering/${courseOfferingId}/course-schedule- Resource example
-
1https://yourInstance.salesforce.com/services/data/v68.0/connect/education/academic-operations/course-offering/${courseOfferingId}/course-schedule
- Available version
- 64.0
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "courseOfferingSchedule": [ 3 { 4 "courseOfferingScheduleExternalId": { 5 "fieldName": "customField__c", 6 "fieldValue": "custom field value CRW616" 7 }, 8 "courseOfferingScheduleCustomAttribute": [ 9 { 10 "fieldName": "customField1__c", 11 "fieldValue": "custom field value CRW616" 12 } 13 ], 14 "recurrencePattern": "RRULE:FREQ=DAILY;INTERVAL=2;UNTIL=20251130T000000Z;", 15 "startTime": "19:00:00.000Z", 16 "endTime": "20:30:00.000Z", 17 "location": "131xx0000004FpxAAE", 18 "courseOfferingScheduleTemplate": "0wZxx0000000001EAA", 19 "startDate": "2024-12-09T20:00:00.000Z", 20 "type": "Lab", 21 "description": "Class session A updated 01" 22 }, 23 { 24 "courseOfferingScheduleExternalId": { 25 "fieldName": "customField__c", 26 "fieldValue": "custom field value CRW614" 27 }, 28 "courseOfferingScheduleCustomAttribute": [ 29 { 30 "fieldName": "customField1__c", 31 "fieldValue": "custom field value CRW614" 32 } 33 ], 34 "recurrencePattern": "RRULE:FREQ=DAILY;INTERVAL=2;UNTIL=20251130T000000Z;", 35 "startTime": "21:00:00.000Z", 36 "endTime": "20:30:00.000Z", 37 "location": "111xx0000004FpxAAE", 38 "courseOfferingScheduleTemplate": "0wZxx0000000001EAA", 39 "startDate": "2024-12-09T20:00:00.000Z", 40 "type": "Lab", 41 "description": "Class session A updated 01" 42 }, 43 { 44 "courseOfferingScheduleExternalId": { 45 "fieldName": "customField__c", 46 "fieldValue": "custom field value CRW615" 47 }, 48 "courseOfferingScheduleCustomAttribute": [ 49 { 50 "fieldName": "customField1__c", 51 "fieldValue": "custom field value CRW615" 52 } 53 ], 54 "recurrencePattern": "RRULE:FREQ=DAILY;INTERVAL=2;UNTIL=20251130T000000Z;", 55 "startTime": "22:00:00.000Z", 56 "endTime": "20:30:00.000Z", 57 "location": "131xx0000004FpxAAE", 58 "courseOfferingScheduleTemplate": "0qZxx0000000001EAA", 59 "startDate": "2024-12-09T20:00:00.000Z", 60 "type": "Lab", 61 "description": "Class session A updated 01" 62 } 63 ] 64} - Properties
-
Name Type Description Required or Optional Available Version courseOffering Schedule Course Offering Schedule Details Input[] List of course offering schedules to be added or modified to the course offering. Required 64.0
- Response body for POST
- Course Offering Schedule