[Company] Employees under a company

[ { "id": 3, "code": "AAAC", "employment_type_name": "Employee", "supervisor_name": "-", "company_name": "Bizinterprise Co.,Ltd.", "home_bu_name": "บริหาร", "email": "", "phone": "", "address": "", "mobile": "", "name": "Pongsakorn Chantaraj", "citizen_id": "234567654345676543", "employment_type": 0, "hire_date": "2017-11-09", "department": "", "position": "", "emergency_name": "", "emergency_phone": "", "education_background": "", "work_experience": "", "company": 1, "home_bu": 2, "supervisor": null }, { "id": 2, "code": "AAAB", "employment_type_name": "Employee", "supervisor_name": "-", "company_name": "Bizinterprise Co.,Ltd.", "home_bu_name": "บริหาร", "email": "", "phone": "", "address": "", "mobile": "", "name": "Sirinthra Chantaraj", "citizen_id": "0987654567892", "employment_type": 0, "hire_date": "2017-11-09", "department": "", "position": "", "emergency_name": "", "emergency_phone": "", "education_background": "", "work_experience": "", "company": 1, "home_bu": 2, "supervisor": null }, ]
The Sample API Response
Module name: Employees under a company
Sample view: Response

** Request **
URL: "/api/company/<id>/employees/" where <id> is the ID of company
Request Method: GET

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.