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

Output representation of the course offering.
JSON example
1{
2  "successCount": 1,
3  "partialSuccessCount": 1,
4  "failureCount": 1,
5  "status": "PARTIAL_SUCCESS",
6  "details": [
7    {
8      "status": "SUCCESS",
9      "errors": [],
10      "courseOfferingId": "0xAxx0000000001EAA",
11      "courseSchedule": [
12        {
13          "success": true,
14          "courseOfferingScheduleId": "0eAxx0000000001EBB",
15          "errors": []
16        },
17        {
18          "success": true,
19          "courseOfferingScheduleId": "0eAxx0000000001ECC",
20          "errors": []
21        }
22      ]
23    },
24    {
25      "success": "PARTIAL_SUCCESS",
26      "courseOfferingId": "0xAxx0000000001EDD",
27      "errors": [],
28      "courseSchedule": [
29        {
30          "success": true,
31          "courseOfferingScheduleId": "0eAxx0000000001EEE",
32          "errors": []
33        },
34        {
35          "success": false,
36          "courseOfferingScheduleId": null,
37          "errors": [
38            {
39              "message": "End time < Start time at Course Offering Schedule",
40              "field": "courseSchedule.endTime"
41            },
42            {
43              "message": "Type is invalid",
44              "field": "courseSchedule.type"
45            }
46          ]
47        }
48      ]
49    },
50    {
51      "success": "FAILURE",
52      "courseOfferingId": null,
53      "errors": [
54        {
55          "message": "Academic Session is invalid",
56          "field": "courseOffering.academicSessionId"
57        }
58      ],
59      "courseSchedule": []
60    }
61  ]
62}
Property Name Type Description Filter Group and Version Available Version
details Course Offering[] List of details of each course offering and course offering schedule. Big, 64.0 64.0
failureCount Integer Number of course offerings that failed to be created. Big, 64.0 64.0
partialSuccess​Count Integer Number of course offerings that were partially successful. Big, 64.0 64.0
status String Status of the entire payload request. Big, 64.0 64.0
successCount Integer Number of course offerings that were successfully created. Big, 64.0 64.0