post https://app.rohealth.ng/api/external/plans/switch-health-plan
This page will help you get started with Switch Plan.
API url
Staging: https://app.staging.rohealth.ng/api/external/plans/switch-health-plan
Production: https://app.rohealth.ng/api/external/plans/switch-health-plan
POST request
Here is the body payload
{
"user_id": "{{uuid}}",
"plan_id": 0,
"hospital_ids": [0, 0]
}
Below is a sample body payload
{
"user_id": "9e20c3ce-b7aa-4793-a9b9-03a73599850a",
"plan_id": 6,
"hospital_ids": [50292, 1]
}
below is a sample response
{
"status": {
"code": 100,
"desc": "Success"
},
"entity": {
"first_name": null,
"last_name": null,
"dob": null,
"gender": null,
"marital_status": null,
"mobile": null,
"email": null,
"address": null,
"state": null,
"city": null,
"activated": null,
"hmo_package": null,
"policy_no": null,
"uuid": null,
"budget_amount": null,
"plan_status": null,
"hospitals": null,
"plan_effective_date": null,
"plan_expiry_date": null,
"photo": null,
"active_hospitals": [
{
"state": null,
"hospital_name": null,
"mobile": null,
"_id": null
}
],
"effective_start_date": "",
"_id": null
},
"meta": null
}