Skip to main content
POST
/
jobs-category
/
save
Create or update job category
curl --request POST \
  --url http://localhost/mogl/mogl-admin-dashboard/jobs-category/save \
  --header 'Content-Type: application/json' \
  --cookie mogl_session= \
  --data '
{
  "name": "Software Development",
  "status": "A",
  "id": 8
}
'
{
  "message": "Data inserted successfully",
  "status": "success",
  "errors": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

mogl_session
string
cookie
required

Session-based authentication via cookies + CSRF token

Body

application/json
name
string
required

Job category name (must be unique)

Example:

"Software Development"

status
enum<string>
required

A=Active, I=Inactive

Available options:
A,
I
Example:

"A"

id
integer

Pass ID to update existing, omit for new

Example:

8

Response

Job category saved

message
string
Example:

"Data inserted successfully"

status
string
Example:

"success"

errors
string[]