Learnings Graph (POST, PATCH)
Create a learning graph to include
details of learnings, achievements, and their associations. Additionally, update the fields in
the learning graph.
- Resource
-
1/connect/education/academic-operations/learnings - Resource Example
-
1https://yourInstance.salesforce.com/services/data/v67.0/connect/education/academic-operations/learnings - Available version
- 62.0
- HTTP methods
- PATCH, POST
- Request body for PATCH
-
- JSON example
-
1{ 2 "learnings": [ 3 { 4 "learning": { 5 "learningId": "0tyLT0000000AQnYAM", 6 "learningCourseId": "0vYLT0000000AH72AM", 7 "type": "Learning Course", 8 "name": "Advanced Data Structures and Algorithms", 9 "provider": "001LT000009puL0YAI", 10 "description": "This course covers advanced concepts in data structures and algorithms, with a focus on efficient problem-solving and coding techniques.", 11 "courseLevelDescription": "Graduate-level course focusing on advanced data structures and algorithms.", 12 "subjectAbbreviation": "CS", 13 "fieldOfStudy": "Computer Science", 14 "courseNumber": 6011, 15 "active": true, 16 "activeFromDate": "2024-09-01T00:00:00.00Z", 17 "activeToDate": "2025-12-31T23:59:59.00Z", 18 "duration": 4, 19 "durationUnit": "Credit Hours", 20 "cipCode": "11.0101", 21 "academicLevel": "Graduate" 22 }, 23 "prerequisites": { 24 "createRecords": [ 25 { 26 "type": "Single Achievement", 27 "minimumGrade": 7, 28 "duration": 1, 29 "durationUnit": "Credit Hours", 30 "learningAchievementId": "0u9LT00000004pBYAQ" 31 }, 32 { 33 "type": "Group Achievement", 34 "achievementContributors": [ 35 { 36 "id": "0tyLT00000009LcYAI", 37 "minimumGrade": 6, 38 "type": "Learning" 39 }, 40 { 41 "id": "0tyLT00000009LdYAI", 42 "minimumGrade": 7, 43 "type": "Learning" 44 } 45 ] 46 } 47 ], 48 "deleteRecords": [ 49 { 50 "foundationItemId": "0wwLT00000004gLYAQ" 51 }, 52 { 53 "foundationItemId": "0wwLT00000004elYAA" 54 } 55 ] 56 }, 57 "corequisites": {}, 58 "recommended": {}, 59 "outcomes": [] 60 } 61 ] 62} - Properties
-
Name Type Description Required or Optional Available Version learnings Update Learning Input[] List of learning requests to be updated. Required 62.0
- Response body for PATCH
- Manage Learnings
- Request body for POST
-
- JSON example
-
1{ 2 "learnings": [ 3 { 4 "learning": { 5 "type": "Learning Course", 6 "name": "Advanced Data Structures and Algorithms", 7 "provider": "001LT000009puL0YAI", 8 "description": "This course covers advanced concepts in data structures and algorithms, with a focus on efficient problem-solving and coding techniques.", 9 "courseLevelDescription": "Graduate-level course focusing on advanced data structures and algorithms.", 10 "subjectAbbreviation": "CS", 11 "fieldOfStudy": "Computer Science", 12 "courseNumber": 601, 13 "active": true, 14 "activeFromDate": "2024-09-01T00:00:00.00Z", 15 "activeToDate": "2025-12-31T23:59:59.00Z", 16 "duration": 4, 17 "durationUnit": "Credit Hours", 18 "cipCode": "11.0101", 19 "academicLevel": "Graduate" 20 }, 21 "prerequisites": [ 22 { 23 "type": "Group Achievement", 24 "achievementContributors": [ 25 { 26 "id": "0tyLT00000009LOYAY", 27 "minimumGrade": 7, 28 "type": "Learning" 29 }, 30 { 31 "id": "0tyLT00000009LPYAY", 32 "minimumGrade": 6.5, 33 "type": "Learning" 34 } 35 ] 36 } 37 ], 38 "corequisites": [ 39 { 40 "type": "Single Achievement", 41 "minimumGrade": 3, 42 "duration": 3, 43 "durationUnit": "Credit Hours", 44 "learningId": "0tyLT00000009LQYAY" 45 } 46 ], 47 "recommended": [ 48 { 49 "type": "Single Achievement", 50 "minimumGrade": 3, 51 "duration": 3, 52 "durationUnit": "Credit Hours", 53 "learningId": "0tyLT00000009LRYAY" 54 } 55 ], 56 "outcomes": [ 57 { 58 "type": "Single Achievement", 59 "minimumGrade": 3, 60 "duration": 4, 61 "durationUnit": "Credit Hours", 62 "learningAchievementId": "0u9LT00000004oWYAQ" 63 } 64 ] 65 } 66 ] 67} - Properties
-
Name Type Description Required or Optional Available Version learnings Create Learning Input[] List of learning requests to be created. Required 62.0
- Response body for POST
- Manage Learnings