Staff Report
Base URL: http://192.168.100.250/
Endpoints
Section titled “Endpoints”| Method | Endpoint | Description |
|---|---|---|
| GET | /reports/staff |
Get filter form data |
| POST | /reports/staff/generate |
Generate report |
Filter Form Data
Section titled “Filter Form Data”GET /reports/staffAccept: application/jsonGenerate Report
Section titled “Generate Report”POST /reports/staff/generateContent-Type: application/jsonRequest Body:
{ "report_type": "b", "year": "2082", "job_type_id": 1, "job_category_id": 1, "position_id": 1, "gender": "all", "ethnicity": "", "district": "", "province": "", "local_level": "", "disability_status": ""}Report Types:
| Type | Report |
|---|---|
a |
Staff Detail Report |
b |
Position × Gender |
c |
Job Type × Gender |
d |
Job Category × Gender |
e |
Position × Job Type |
f |
District × Gender |
g |
Province × Gender |
h |
Local Level × Gender |
i |
Disability Status × Gender |
j |
Education Level Report |
k |
Age Group × Gender |
l |
Service Duration Report |
m |
Ethnicity × Gender |
n |
Position × Job Type × Gender |