Add Staff Doc

This page will help you get started with Add Staff.

API url
Staging: https://app.staging.rohealth.ng/api/external/staff/add
Production: https://app.rohealth.ng/api/external/staff/add

POST request

Below is the body payload

{
    "mobile": "string(required)",
    "budget": 0,
    "email": "String(required)",
    "first_name": "String(required)",
    "last_name": "String(required)",
    "dob": "dd-mm-yy(required)",
    "gender": "Male",
    "address": "String(required)",
    "city": "String(required)",
    "pre_condition": false,
    "country": "String(required)",
    "marital_status": "String(required)",
    "state": "String(required)"
}

Below is a sample body payload

{
    "mobile": "2348119204142",
    "budget": 4000,
    "email": "[email protected]",
    "first_name": "Fourth Partner",
    "last_name": "prod vick",
    "dob": "17-06-1999",
    "gender": "Female",
    "address": "Lekki Phase 1",
    "city": "Lagos",
    "pre_condition": false,
    "country": "Nigeria",
    "marital_status": "Single",
    "state": "Lagos"
}

Below is a sample response

{
    "status": {
        "code": 100,
        "desc": "Success"
    },
    "entity": {
        "mobile": "2348119204111",
        "email": "[email protected]",
        "id": "6f7b3e9b-c9d5-44a9-ab73-350d6cebe3d8",
        "first_name": "Second Partner",
        "last_name": "prod vick",
        "budget": "5000"
    },
    "meta": null
}
Language
Authorization
Query
Click Try It! to start a request and see the response here!