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.

Group Achievement Mapping Input

Input representation of a mapping to a given achievement that contains the shared attributes across the mapping types.
JSON example
1{
2  "createRecords": [
3    {
4      "type": "Single Achievement",
5      "minimumGrade": 2.5,
6      "duration": 4,
7      "durationUnit": "Credit Hours",
8      "learningId": "0tyxx00000003xyAAA"
9    },
10    {
11      "type": "Single Achievement",
12      "minimumGrade": 3,
13      "duration": 5,
14      "durationUnit": "Credit Hours",
15      "learningId": "0tyxx00000003mqCAB"
16    },
17    {
18      "type": "Group Achievement",
19      "achievementContributors": [
20        {
21          "id": "0tyxx00000002mbAAA",
22          "minimumGrade": 6,
23          "type": "Learning"
24        },
25        {
26          "id": "0tyxx00000002ppAAA",
27          "minimumGrade": 5,
28          "type": "Learning"
29        }
30      ]
31    }
32  ]
33}
Properties
Name Type Description Required or Optional Available Version
type String The type of achievement mapping.

Valid values are:

  • Single Achievement
  • Group Achievement
  • Skill Achievement
Required 62.0
achievementContributors Achievement Contributor Input Contributor to an achievement within a learning object. Optional 62.0