curl --request POST \
--url https://api.example.com/api/Candidates/jobs/{jobId}/rejection-email \
--header 'Content-Type: application/json' \
--data '
{
"candidateIds": [
123
],
"templateId": 123,
"sendDelayTypeId": 123,
"rejectionMadeViaId": 0,
"subject": "<string>",
"body": "<string>",
"rejectionComments": "<string>"
}
'