Create a campaign
POST/recertification/campaigns
Creates a new recertification campaign.
Roles: CAMPAIGN_ADMIN/CAMPAIGN_MANAGER or CAMPAIGN_CREATE.
Scope: cidaas:campaign_write.
Business rules:
id,status,completedBy,createdTime, andupdatedTimeare server-controlled; any values supplied by the client are silently ignored.- Server always assigns a UUID
idand forcesstatus=PLANNED. strategymust bePARALLEL_ONEorPARALLEL_ALL.- At least one
groupsentry; every entry must have a non-emptygroupIdandreviewers. - Each reviewer sub must exist and be active. No role or group membership required.
timeFrame.frommust be ≥ server's current time;tomust be afterfrom.- Server sets
createdBy.subfrom token andlocalefrom request headers. - Schedules start task (fires
IN_PROGRESSatfrom) and end task (firesCOMPLETEDatto).
Emits fact event RECERTIFICATION_CAMPAIGN_CREATED.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
Campaign created
Invalid payload, validation failure, or business rule violation
Missing/invalid token or insufficient reviewer role
Token valid but role/scope insufficient
Referenced group not found
Campaign with this ID already exists