Skip to main content
GET
/
sport-category
/
get
/
{id}
Get sport category by ID
curl --request GET \
  --url http://localhost/mogl/mogl-admin-dashboard/sport-category/get/{id} \
  --cookie mogl_session=
{
  "id": 1,
  "name": "Basketball",
  "status": "A",
  "is_deleted": "N",
  "created_at": "2024-01-01 00:00:00",
  "updated_at": "2024-06-01 12:00:00"
}

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

Path Parameters

id
integer
required

Sport category ID

Response

200 - application/json

Sport category data

id
integer
Example:

1

name
string
Example:

"Basketball"

status
string
Example:

"A"

is_deleted
string
Example:

"N"

created_at
string
Example:

"2024-01-01 00:00:00"

updated_at
string
Example:

"2024-06-01 12:00:00"