Newer Version Available
Program Enrollments (POST)
- Resource
-
1/connect/program-mgmt/programs/${programId}/enrollments - Example URI for POST
-
1https://yourInstance.salesforce.com/services/data/v62.0/connect/program-mgmt/programs/11Wxx0000004F3kEAE/enrollments - Available version
- 57.0
- HTTP methods
- POST
- Request body for POST
-
- Root XML tag
- <ProgramEnrollmentsInputRepresentation>
- Properties
-
Name Type Description Required or Optional Available Version enrollees Program Enrollment Input[] The list of program enrollments that need to be added or updated.
For POST, the enrollments you want to add can either be a contact or an account.
For PUT, specify the program enrollments that need to be updated.
Required 57.0
-
- JSON example
-
1{ 2 "enrollees": { 3 "enrolleeList": [ 4 { 5 "id": "003xx000004WhxNAAS" 6 } 7 ] 8 } 9}
- Response body for POST
- Program Enrollments Output