List eligible plans
enrollments.list_plans(enrollment_id) -> EnrollmentListPlansResponse { id, costs, name, 5 more }
/v1/enrollments/{enrollment_id}/plans
Retrieves all insurance plans eligible for selection for a specific enrollment. Returns available plan options with coverage tiers, premium costs, deductibles, and carrier info. Use during enrollment process to show employees their plan choices.
Parameters
enrollment_id: String
Returns
List eligible plans
require "vitable_connect_api"
vitable_connect_api = VitableConnectAPI::Client.new(
api_key: "My API Key",
environment: "environment_1" # defaults to "production"
)
response = vitable_connect_api.enrollments.list_plans("enrl_abc123def456")
puts(response)
[
{
"id": "id",
"costs": [
{
"coverage_tier": "Unspecified",
"employee_contribution_cents": 0,
"employer_contribution_cents": 0,
"total_monthly_premium_cents": 0
}
],
"name": "name",
"carrier_name": "carrier_name",
"deductible_cents": 0,
"description": "description",
"out_of_pocket_max_cents": 0,
"tier": "Bronze"
}
]
Returns Examples
[
{
"id": "id",
"costs": [
{
"coverage_tier": "Unspecified",
"employee_contribution_cents": 0,
"employer_contribution_cents": 0,
"total_monthly_premium_cents": 0
}
],
"name": "name",
"carrier_name": "carrier_name",
"deductible_cents": 0,
"description": "description",
"out_of_pocket_max_cents": 0,
"tier": "Bronze"
}
]