Profile Roles
A role links a candidate profile to a specific class and tracks their current lifecycle state — the stage they occupy in the student journey, from prospect::cold through applicant::submitted to student::enrolled. Every state transition is recorded and timestamped.
Roles are the primary object for pipeline management. They support ownership assignment (the responsible staff member), withdrawal, and reinstatement. The conversion endpoint returns funnel analytics across any two lifecycle states.
Profile Roles Operations
- get/apis/data/profiles/roles/conversion
- post/apis/profiles/profiles/{profile_id}/roles
- patch/apis/profiles/profiles/{profile_id}/roles/{role_id}
- delete/apis/profiles/profiles/{profile_id}/roles/{role_id}/owner
- patch/apis/profiles/profiles/{profile_id}/roles/{role_id}/owner
- put/apis/profiles/profiles/{profile_id}/roles/{role_id}/unwithdraw
- delete/apis/profiles/profiles/{profile_id}/roles/{role_id}/withdraw