EMS-UGC API Docs
Settings

Job Structure

Job Structure, Positions, Job Types, and Job Categories APIs

Base URL: http://192.168.100.250/


Endpoints

MethodEndpointDescription
GET/job-structureList all positions, job types, job categories
POST/job-structure/positionsCreate position
PUT/job-structure/positions/{id}Update position
DELETE/job-structure/positions/{id}Delete position
POST/job-structure/job-typesCreate job type
PUT/job-structure/job-types/{id}Update job type
DELETE/job-structure/job-types/{id}Delete job type
POST/job-structure/job-categoriesCreate job category
PUT/job-structure/job-categories/{id}Update job category
DELETE/job-structure/job-categories/{id}Delete job category

All three entities share: name, code (unique), description (optional), is_active (boolean). Position additionally has rank (integer).


List All

GET /job-structure
Accept: application/json

Positions

Create

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

Request Body:

{
  "name": "Professor",
  "code": "PROF",
  "description": "Senior faculty",
  "rank": 1,
  "is_active": true
}

Update

PUT /job-structure/positions/{id}
Content-Type: application/json

Request Body: Same as Create.

Delete

DELETE /job-structure/positions/{id}

Job Types

Create

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

Request Body:

{
  "name": "Full-Time",
  "code": "FT",
  "description": "Permanent staff",
  "is_active": true
}

Update

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

Request Body: Same as Create.

Delete

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

Job Categories

Create

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

Request Body:

{
  "name": "Teaching",
  "code": "TCH",
  "description": "Academic staff",
  "is_active": true
}

Update

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

Request Body: Same as Create.

Delete

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

On this page