You can’t use the searchCampaignInfo
object if you select the MANAGER
campaign type. You will get a 400 Bad Request
. I think the easiest way to generate a manager certification with specific identities is to use the searchCampaignInfo
object and make the reviewerId
your manager and the identityIds
array the list of specific reports for the manager. For example:
{
"name": "Manager Campaign",
"description": "Campaign for manager with a subset of identities",
"type": "SEARCH",
"searchCampaignInfo": {
"type": "IDENTITY",
"reviewerId": "2c9180867624cbd7017642d8c8c81f67", // The manager
"identityIds": ["2c918085771b670d01771c567e650913"] // One or more specific identities that report to the manager
}
}