Skip to content

Job Structure

Base URL: http://192.168.100.250/


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

GET /job-structure
Accept: application/json

POST /job-structure/positions
Content-Type: application/json

Request Body:

{
"name": "Professor",
"code": "PROF",
"description": "Senior faculty",
"rank": 1,
"is_active": true
}
PUT /job-structure/positions/{id}
Content-Type: application/json

Request Body: Same as Create.

DELETE /job-structure/positions/{id}

POST /job-structure/job-types
Content-Type: application/json

Request Body:

{
"name": "Full-Time",
"code": "FT",
"description": "Permanent staff",
"is_active": true
}
PUT /job-structure/job-types/{id}

Request Body: Same as Create.

DELETE /job-structure/job-types/{id}

POST /job-structure/job-categories
Content-Type: application/json

Request Body:

{
"name": "Teaching",
"code": "TCH",
"description": "Academic staff",
"is_active": true
}
PUT /job-structure/job-categories/{id}

Request Body: Same as Create.

DELETE /job-structure/job-categories/{id}