Job Structure
Base URL: http://192.168.100.250/
Endpoints
Section titled “Endpoints”| Method | Endpoint | Description |
|---|---|---|
| GET | /job-structure |
List all positions, job types, job categories |
| POST | /job-structure/positions |
Create position |
| PUT | /job-structure/positions/{id} |
Update position |
| DELETE | /job-structure/positions/{id} |
Delete position |
| POST | /job-structure/job-types |
Create job type |
| PUT | /job-structure/job-types/{id} |
Update job type |
| DELETE | /job-structure/job-types/{id} |
Delete job type |
| POST | /job-structure/job-categories |
Create job category |
| PUT | /job-structure/job-categories/{id} |
Update job category |
| DELETE | /job-structure/job-categories/{id} |
Delete job category |
List All
Section titled “List All”GET /job-structureAccept: application/jsonPositions
Section titled “Positions”Create
Section titled “Create”POST /job-structure/positionsContent-Type: application/jsonRequest Body:
{ "name": "Professor", "code": "PROF", "description": "Senior faculty", "rank": 1, "is_active": true}Update
Section titled “Update”PUT /job-structure/positions/{id}Content-Type: application/jsonRequest Body: Same as Create.
Delete
Section titled “Delete”DELETE /job-structure/positions/{id}Job Types
Section titled “Job Types”Create
Section titled “Create”POST /job-structure/job-typesContent-Type: application/jsonRequest Body:
{ "name": "Full-Time", "code": "FT", "description": "Permanent staff", "is_active": true}Update
Section titled “Update”PUT /job-structure/job-types/{id}Request Body: Same as Create.
Delete
Section titled “Delete”DELETE /job-structure/job-types/{id}Job Categories
Section titled “Job Categories”Create
Section titled “Create”POST /job-structure/job-categoriesContent-Type: application/jsonRequest Body:
{ "name": "Teaching", "code": "TCH", "description": "Academic staff", "is_active": true}Update
Section titled “Update”PUT /job-structure/job-categories/{id}Request Body: Same as Create.
Delete
Section titled “Delete”DELETE /job-structure/job-categories/{id}