Create/Update An Enrollee
POST/v1/enrollees
Create or Update A Single Enrollee. Note: This feature is only available to HMOs/Insurers.
Request
Query Parameters
If true, update an existing enrollee with the same insurance number. If false, return a duplicate validation message.
- application/json
Body
required
The insurance number of the enrollee. This must be a unique value.
An alternate insurance number for the enrollee.
The first name of the enrollee.
The last name of the enrollee.
The phone number of the enrollee.
The email address of the enrollee.
The gender of the enrollee.
The address of the enrollee.
The birthdate of the enrollee.
Possible values: [AA
, IA
, SX
, XX
, PP
, WP
]
The status of the enrollee. The code is what is expected. Possible values are: AA (ACTIVE), IA (IN-ACTIVE), SX (SUSPENDED), XX (TERMINATED), PP (PENDED), WP (WAITING PERIOD).
The insurance number of the principal enrollee if the enrollee is a dependant.
The relationship between the enrollee and the principal enrollee.
A base64 encoded image string.
plan object
The Insurance plan for the enrollee.
The Id as exists on curacel, ignore if you don't have it.
The unique identifier of this plan on your Insurer ERP. Required if 'name' is absent.
Name of the plan. Required if 'code' is absent.
Create the plan record if it doesn't exist. Code and name must be supplied if true.
The id of the HMO client.
The id of the primary provider.
The code of the primary provider.
The middle name of the enrollee.
The staff number of the enrollee.
parent object
The principal enrollee to which a dependant is attached.
The id of the principal enrollee. Either this id or principal's insurance no is required to create a dependant enrollee.
The insurance number of the principal enrollee. This must be a unique value. Either this or principal ID is required to create a dependant enrollee.
Responses
- 201
- 400
- 401
- 403
- 422
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
{
"enrollee_id": 0
}
Bad Request
Unauthenticated
Forbidden
Unprocessable Entity
Server Error