Theme switcher

List Plan Years

Header Parameters

Authorizationstring

Query Parameters

consumer_idstring

Filter by consumer ID. Required if employer_id is not provided.

employer_idstring

Filter by employer ID. Required if consumer_id is not provided.

yearinteger

Filter by plan year (e.g., 2024)

statusarray

Filter by plan year status

relevancestring

Filter by relevance (ACTIONABLE returns upcoming, active, or with unexpired runout)

inactive_plan_year_limitinteger

Limit in years to retrieve plan years by consumer (between 0 and 5).

Maximum
5
sort_byarray

The sorting criteria

pageinteger

Page number starting with 0

Default value
0
page_sizeinteger

Maximum number of items to return (default 20, max 100)

Minimum
1
Maximum
100
Default value
20

Response

200
Object
Plan years retrieved successfully

Response Attributes

itemsarray Required

Show child attributes

paginationobject Required

Show child attributes

400
Object
Bad Request

Response Attributes

typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
401
Object
Unauthorized

Response Attributes

typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
403
Object
Forbidden

Response Attributes

typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
429
Object
Too many requests - rate limit exceeded

Response Attributes

typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
500
Object
Internal Server Error

Response Attributes

typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
default
Object
Unexpected error

Response Attributes

typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot