EMS-UGC API Docs
Examinations

Exam Centre

Exam Centre Management APIs

Base URL: http://192.168.100.250/

Model has only 2 fields: name (string) and address (string). Uses soft deletes.


Endpoints

MethodEndpointDescription
GET/exam_centresList all exam centres (paginated)
GET/exam_centres/{id}Get single exam centre
POST/exam_centresCreate exam centre
PUT/exam_centres/{id}Update exam centre
DELETE/exam_centres/{id}Delete exam centre

List

GET /exam_centres?page=1
Accept: application/json

Response is paginated with current_page, per_page, last_page, and total.


View Single

GET /exam_centres/{id}
Accept: application/json

Create

POST /exam_centres
Content-Type: application/json

Request Body:

{
  "name": "Bharatpur Exam Centre",
  "address": "Bharatpur-10, Chitwan"
}

Update

PUT /exam_centres/{id}
Content-Type: application/json

Request Body:

{
  "name": "Bharatpur Exam Centre",
  "address": "Bharatpur-10, Chitwan"
}

Delete

DELETE /exam_centres/{id}

On this page