Skip to content
Get started

Record qualifying life event

members.qualifying_life_events.record(member_id, **kwargs) -> QualifyingLifeEvent { id, created_at, employee_id, 10 more }
post/v1/members/{member_id}/qualifying-life-events

Records a qualifying life event occurrence for a member. Opens a special enrollment period allowing benefit changes outside open enrollment. Employees typically have 30-60 days from the event date to complete enrollment changes.

ParametersExpand Collapse
member_id: String
event_date: Date

Date when the event occurred

formatdate
event_type: EventType
  • Marriage - Marriage
  • Birth - Birth
  • Adoption - Adoption
  • Divorce - Divorce
  • Death - Death
  • Job Loss - Job Loss
  • Reduction In Hours - Reduction In Hours
  • Employer Bankruptcy - Employer Bankruptcy
  • Medicare Entitlement - Medicare Entitlement
  • Termination - Termination
  • Other - Other
Accepts one of the following:
:Marriage
:Birth
:Adoption
:Divorce
:Death
:"Job Loss"
:"Reduction In Hours"
:"Employer Bankruptcy"
:"Medicare Entitlement"
:Termination
:Other
notes: String

Optional notes about the event

maxLength1000
ReturnsExpand Collapse
class QualifyingLifeEvent { id, created_at, employee_id, 10 more }

Serializer for Qualifying Life Event entity in public API responses.

QLEs are significant life changes (marriage, birth, adoption, loss of coverage) that allow employees to modify benefit elections outside of open enrollment.

id: String

Unique QLE identifier with 'qle_' prefix

created_at: Time

Timestamp when the QLE was created

formatdate-time
employee_id: String

ID of the employee (empl_*)

enrollment_window_end: Date

End of the special enrollment period (typically 30-60 days from event)

formatdate
enrollment_window_start: Date

Start of the special enrollment period

formatdate
event_date: Date

Date when the qualifying life event occurred

formatdate
event_type: String

Type of qualifying life event (e.g., 'marriage', 'birth', 'adoption', 'loss_of_coverage', 'divorce')

member_id: String

ID of the member experiencing the life event (mbr_*)

  • pending - Pending
  • approved - Approved
  • denied - Denied
Accepts one of the following:
:pending
:approved
:denied
updated_at: Time

Timestamp when the QLE was last updated

formatdate-time
notes: String

Additional notes or comments about the QLE

reviewed_at: Time

Timestamp when the QLE was reviewed, if reviewed

formatdate-time
reviewed_by: String

ID of the user who reviewed the QLE, if reviewed

Record qualifying life event
require "vitable_connect_api"

vitable_connect_api = VitableConnectAPI::Client.new(
  api_key: "My API Key",
  environment: "environment_1" # defaults to "production"
)

qualifying_life_event = vitable_connect_api.members.qualifying_life_events.record(
  "mbr_abc123def456",
  event_date: "2019-12-27",
  event_type: :Marriage
)

puts(qualifying_life_event)
{
  "id": "id",
  "created_at": "2019-12-27T18:11:19.117Z",
  "employee_id": "employee_id",
  "enrollment_window_end": "2019-12-27",
  "enrollment_window_start": "2019-12-27",
  "event_date": "2019-12-27",
  "event_type": "event_type",
  "member_id": "member_id",
  "status": "pending",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "notes": "notes",
  "reviewed_at": "2019-12-27T18:11:19.117Z",
  "reviewed_by": "reviewed_by"
}
Returns Examples
{
  "id": "id",
  "created_at": "2019-12-27T18:11:19.117Z",
  "employee_id": "employee_id",
  "enrollment_window_end": "2019-12-27",
  "enrollment_window_start": "2019-12-27",
  "event_date": "2019-12-27",
  "event_type": "event_type",
  "member_id": "member_id",
  "status": "pending",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "notes": "notes",
  "reviewed_at": "2019-12-27T18:11:19.117Z",
  "reviewed_by": "reviewed_by"
}