Fetch Enrollee Benefits
GET/v1/enrollees/single-enrollee/benefits
Fetch the plan benefits of a single enrollee
Request
Query Parameters
The ID of the enrollee. It is required if the insurance_no is not supplied
The insurance number of the enrollee. It is required if the id is not supplied
The presence of this param would return results in paginated format Better used together with the 'per_page' param
This is used to indicate the offset from which results are fetched in paginated format.
Better used together with the 'page' param
This is used to indicate the how many results are to be in an offset for pagination.
This is used to search for benefits attached to enrollee's plan by the key word supplied to it.
The search is applied to the benefit's name.
Responses
- 200
- 400
- 401
- 403
- 422
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
A paginated array of benefits attached to the enrollee's plan.
{
"data": [
{
"id": 0,
"type": "string",
"name": "string",
"limit_type": "string",
"limit_value": 0
}
]
}
Bad Request
Unauthenticated
Forbidden
Unprocessable Entity
Server Error