Skip to main content
POST
/
getAthleteListByName
Search athletes by name
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/getAthleteListByName \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filterByName": "John",
  "with_service": "Y",
  "university_id": 1
}
'

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

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
filterByName
string

Athlete name to search

Example:

"John"

with_service
string

Include service data (optional)

Example:

"Y"

university_id
integer

Filter by university (optional)

Example:

1

Response

200

Athlete list matching name