Create a REST API POST request that uses the assignEnablementPrograms invocable action for assigning Enablement programs
| User Permissions Needed | |
|---|---|
| To assign or unassign programs: | Design and Deliver Enablement Programs OR Design and Deliver Enablement Lite Programs |
- In a REST API POST request, use the assignEnablementProgram invocable action.
/services/data/v58.0/actions/standard/assignEnablementProgram
- In the request, include the
assigneeId,programId,notificationUserId, andstartDateparameters.
{
"inputs": [
{
"assigneeId": "005xx12345",
"programId": "0Qoxx123456",
"notificationUserId": "005xx67890",
"startDate": "2023-03-24"
},
{
"assigneeId": "005xx12346",
"programId": "0Qoxx123456",
"notificationUserId": "005xx67890",
"startDate": "2023-03-24"
},
{
"assigneeId": "005xx12347",
"programId": "0Qoxx123456",
"notificationUserId": "005xx67890",
"startDate": "2023-03-24"
}
]
}
The assignEnablementProgram invocable action counts against your org’s Bulk API 2.0 limits. To help accommodate these limits, this example shows a bulkified request.
See Also