Add dependents

This page will help you get started with Add dependant.

API url
Staging: https://app.staging.rohealth.ng/api/external/add-beneficiary/{id}
Production: https://app.rohealth.ng/api/external/add-beneficiary/{id}

POST request
Add Authorisation and API keys to headers

Below is the body payload

{
    "type": "Spouse",
    "first_name": "Desmon0d-test-082",
    "last_name": "Des0mond-test-012",
    "address": "25 Kola Avenue Surulere",
    "mobile": "2342000045675",
    "email": "[email protected]",
    "staff_id": 1466
}

Below is a sample body payload

{
    "type": "Spouse",
    "first_name": "Desmon0d-test-082",
    "last_name": "Des0mond-test-012",
    "address": "25 Kola Avenue Surulere",
    "mobile": "2342000045675",
    "email": "[email protected]",
    "staff_id": 1466
}

Below is the response body

{
    "status": {
        "code": 100,
        "desc": "Dependant Successful Added"
    },
    "entity": {
        "type": "Spouse",
        "first_name": "Desmon0d-test-082",
        "last_name": "Des0mond-test-012",
        "address": "25 Kola Avenue Surulere",
        "mobile": "2342000045675",
        "email": "[email protected]",
        "staff_id": 1466,
        "id": null
    },
    "meta": null
}