get https://app.rohealth.ng/api/external/plans/6/hospitals?page=1&size=200
This page will help you get started with Get Plan hospitals.
API url
Staging: https://app.staging.rohealth.ng/api/external/plans/{{planId}}/hospitals
Production: https://app.staging.rohealth.ng/api/external/plans/{{planId}}/hospitals
Request Type: GET
/api/external/plans/{{planId}}/hospitals
Define {{planId}} in the url
Below is a sample response
{
"status": {
"code": 100,
"desc": "Success"
},
"entity": [
{
"id": "52924",
"plan_id": "1",
"state_id": "1",
"state": "Abia State",
"city": "UMUAHIA",
"hospital_name": "KONNEX OPTOMETERY CLINIC",
"address": "225 FINBAIRS ROAD UMUAHIA",
"email": "",
"mobile": null,
"benefit_type": null,
"name": "FGH Pearl Individual",
"image_url": "http://res.cloudinary.com/codedmuyie/image/upload/v1627523573/rohealth/hmos/hmo_4.jpg",
"total_count": "555"
},
{
"id": "52925",
"plan_id": "1",
"state_id": "1",
"state": "Abia State",
"city": "ABA",
"hospital_name": "EKEOMA MEMORIAL SPECIALIST HOSPITAL",
"address": "15 SCOTLAND CRESCENT",
"email": "",
"mobile": null,
"benefit_type": null,
"name": "FGH Pearl Individual",
"image_url": "http://res.cloudinary.com/codedmuyie/image/upload/v1627523573/rohealth/hmos/hmo_4.jpg",
"total_count": "555"
},
{
"id": "52926",
"plan_id": "1",
"state_id": "1",
"state": "Abia State",
"city": "ABA",
"hospital_name": "NEW ERA HOSPITAL",
"address": "213/215 AZIKIWE ROAD",
"email": "",
"mobile": null,
"benefit_type": null,
"name": "FGH Pearl Individual",
"image_url": "http://res.cloudinary.com/codedmuyie/image/upload/v1627523573/rohealth/hmos/hmo_4.jpg",
"total_count": "555"
},
{
"id": "52927",
"plan_id": "1",
"state_id": "1",
"state": "Abia State",
"city": "ABA",
"hospital_name": "SPRING CLINIC",
"address": "18 SCOTLANED CRESCENT",
"email": "",
"mobile": null,
"benefit_type": null,
"name": "FGH Pearl Individual",
"image_url": "http://res.cloudinary.com/codedmuyie/image/upload/v1627523573/rohealth/hmos/hmo_4.jpg",
"total_count": "555"
},
{
"id": "52928",
"plan_id": "1",
"state_id": "1",
"state": "Abia State",
"city": "UMUAHIA",
"hospital_name": "DARE2CARE HOSPITAL AND MATERNITY",
"address": "52 STREET BY ROAD",
"email": "",
"mobile": null,
"benefit_type": null,
"name": "FGH Pearl Individual",
"image_url": "http://res.cloudinary.com/codedmuyie/image/upload/v1627523573/rohealth/hmos/hmo_4.jpg",
"total_count": "555"
},
{
"id": "52929",
"plan_id": "1",
"state_id": "15",
"state": "FCT",
"city": "KAURA",
"hospital_name": "EXCEL SPECIALIST HOSPITAL",
"address": "154 KAURA DISTRICT BEHIND GLOWING AGES ACADEMY",
"email": "",
"mobile": null,
"benefit_type": null,
"name": "FGH Pearl Individual",
"image_url": "http://res.cloudinary.com/codedmuyie/image/upload/v1627523573/rohealth/hmos/hmo_4.jpg",
"total_count": "555"
}
],
"meta": {
"currentPage": null,
"pageSize": null,
"totalCount": "555",
"totalPages": 555
}
}
Try dragging a block from the right to see how easy it is to add more content!