Skip to main content

CertificationTask

Properties​

NameTypeDescriptionNotes
IdStringThe ID of the task[required]
TargetIdStringID of the item for which the task is targeting[optional]
TypeEnum [ "CREATE_CAMPAIGN", "SEARCH_CAMPAIGN", "GENERATE_CAMPAIGN", "ACTIVATE_CAMPAIGN", "COMPLETE_CAMPAIGN", "COMPLETE_CERTIFICATION", "REASSIGN_SUBJECTS_AND_ITEMS", "REASSIGN_CERTIFICATIONS", "FINISH_CAMPAIGN", "FINALIZE_ACTIVATE_CAMPAIGN", "DELETE_CAMPAIGN", "DELETE_CAMPAIGN_DATA", "FINISH_CERTIFICATION" ]Type of the task[optional]
TargetTypeEnum [ "CERTIFICATION", "CAMPAIGN" ]Type of the item being targeted by the task[optional]
StatusEnum [ "QUEUED", "IN_PROGRESS", "SUCCESS", "ERROR" ]Status of the task[optional]
Errors[]ErrorMessageDtoGeneric localized reason for error[optional]
ReassignmentTrails[]ReassignmentTrailReassignment trails that lead to self certification during the reassignment[optional]
CreatedSystem.DateTimeCreated time of the task[optional] [readonly]

Examples​

  • Prepare the resource
$CertificationTask = Initialize-CertificationTask -Id ef38f94347e94562b5bb8424a56397d8 `
-TargetId e2e48c27-721c-4eb8-8622-2d7b46d8a6e7 `
-Type REASSIGN_CERTIFICATIONS `
-TargetType CERTIFICATION `
-Status SUCCESS `
-Errors null `
-ReassignmentTrails null `
-Created 2020-03-03T22:15:13.611Z
  • Convert the resource to JSON
$CertificationTask | ConvertTo-JSON

[Back to top]