Get all employee list

Call this free API to get all employee list from the database. This is a RESTful API developed in PHP. This API provides the employee list in JSON format. Check the API signature, Postman request, and sample response.

  • Method
    GET
  • Type
    Restful
  • Language
    PHP
  • Skill level
    beginner
Get all employee list
Watch the video to understand the implementation.

API Detail


API Detail
API URL:https://outsystemsdeveloperschool.com/api/get-all-employee
METHOD:GET
AUTHENTICATION:NO AUTH



Postman Implementation

Get all employee list

Sample Response

{

    "error"0,

    "data": [

        {

            "EmpID"1,

            "Name""Hemant",

            "Surname""Jadhav",

            "DOB""0000-00-00",

            "IsCurrentEmployee"1,

            "DOJ""0000-00-00",

            "DOS""0000-00-00",

            "LastDrawnSalary""6000000",

            "IsActive"1

        },

        {

            "EmpID"2,

            "Name""Rahul2",

            "Surname""Shinde",

            "DOB""1980-07-26",

            "IsCurrentEmployee"1,

            "DOJ""0000-00-00",

            "DOS""0000-00-00",

            "LastDrawnSalary""",

            "IsActive"1

        },

        {

            "EmpID"3,

            "Name""Rahul2",

            "Surname""Shinde",

            "DOB""1980-07-26",

            "IsCurrentEmployee"1,

            "DOJ""0000-00-00",

            "DOS""0000-00-00",

            "LastDrawnSalary""",

            "IsActive"1

        },

        {

            "EmpID"4,

            "Name""Rahul",

            "Surname""Shinde",

            "DOB""1980-07-26",

            "IsCurrentEmployee"1,

            "DOJ""2015-12-31",

            "DOS""2020-11-28",

            "LastDrawnSalary""50000",

            "IsActive"1

        }

    ]

}