Get one of an employer's benefit plan years
employers.retrieve_benefit_plan_year(benefit_plan_year_id, **kwargs) -> EmployerRetrieveBenefitPlanYearResponse { data }
GET/v1/employers/{employer_id}/benefit-plan-years/{benefit_plan_year_id}
Returns one benefit plan year in full — its benefit details plus the per-benefit enrollment rate and SPD link — addressed by its benefit_plan_year_id. The caller must be authorized for the employer; an unknown or unauthorized plan year returns 404.
Get one of an employer's benefit plan years
require "vitable_connect"
vitable_connect = VitableConnect::Client.new(
api_key: "My API Key",
environment: "environment_1" # defaults to "production"
)
response = vitable_connect.employers.retrieve_benefit_plan_year(
"plyr_abc123def456",
employer_id: "empr_abc123def456"
)
puts(response){
"data": {
"benefit_id": "benefit_id",
"benefit_plan_year_id": "benefit_plan_year_id",
"carrier": "carrier",
"contribution_strategy": {
"contribution_tiers": [
{
"benefit_plan_id": "benefit_plan_id",
"benefit_plan_name": "benefit_plan_name",
"benefit_plan_tier_name": "benefit_plan_tier_name",
"cost": 0,
"cost_per_dependent": 0,
"coverage_tier": "Unspecified",
"dependents_required_in": true,
"spouse_required_in": true
}
],
"ichra_contribution_classes": [
{
"amount_in_cents": 0,
"compensation": "Unspecified",
"contribution_class_id": "contribution_class_id",
"employment": "Unspecified",
"family_status": "Unspecified",
"location": "Unspecified",
"location_value": "location_value",
"max_age": 0,
"min_age": 0
}
]
},
"coverage_end": "2019-12-27",
"coverage_start": "2019-12-27",
"eligibility_policy": {
"rules": [
{
"compensation_type": "Salary",
"eligible_geographical_location": {
"state_codes": [
"string"
],
"type": "All"
},
"employee_class": "Full Time"
}
],
"termination_n_months": 0,
"termination_rule": "END_OF_N_MONTHS",
"waiting_period": "FIRST_OF_FOLLOWING_MONTH"
},
"employee_contribution": {
"max_cents": 0,
"min_cents": 0
},
"employer_contribution": {
"max_cents": 0,
"min_cents": 0
},
"enrollment_rate": {
"eligible": 0,
"enrolled": 0,
"percentage": 0
},
"family": "mec",
"network_names": [
"string"
],
"offered_states": [
"string"
],
"open_enrollment_end": "2019-12-27",
"open_enrollment_start": "2019-12-27",
"premium_in_cents": 0,
"product_name": "product_name",
"spd_file_url": "spd_file_url",
"status": "active",
"year": 0
}
}Returns Examples
{
"data": {
"benefit_id": "benefit_id",
"benefit_plan_year_id": "benefit_plan_year_id",
"carrier": "carrier",
"contribution_strategy": {
"contribution_tiers": [
{
"benefit_plan_id": "benefit_plan_id",
"benefit_plan_name": "benefit_plan_name",
"benefit_plan_tier_name": "benefit_plan_tier_name",
"cost": 0,
"cost_per_dependent": 0,
"coverage_tier": "Unspecified",
"dependents_required_in": true,
"spouse_required_in": true
}
],
"ichra_contribution_classes": [
{
"amount_in_cents": 0,
"compensation": "Unspecified",
"contribution_class_id": "contribution_class_id",
"employment": "Unspecified",
"family_status": "Unspecified",
"location": "Unspecified",
"location_value": "location_value",
"max_age": 0,
"min_age": 0
}
]
},
"coverage_end": "2019-12-27",
"coverage_start": "2019-12-27",
"eligibility_policy": {
"rules": [
{
"compensation_type": "Salary",
"eligible_geographical_location": {
"state_codes": [
"string"
],
"type": "All"
},
"employee_class": "Full Time"
}
],
"termination_n_months": 0,
"termination_rule": "END_OF_N_MONTHS",
"waiting_period": "FIRST_OF_FOLLOWING_MONTH"
},
"employee_contribution": {
"max_cents": 0,
"min_cents": 0
},
"employer_contribution": {
"max_cents": 0,
"min_cents": 0
},
"enrollment_rate": {
"eligible": 0,
"enrolled": 0,
"percentage": 0
},
"family": "mec",
"network_names": [
"string"
],
"offered_states": [
"string"
],
"open_enrollment_end": "2019-12-27",
"open_enrollment_start": "2019-12-27",
"premium_in_cents": 0,
"product_name": "product_name",
"spd_file_url": "spd_file_url",
"status": "active",
"year": 0
}
}