curl --request POST \
--url http://localhost/mogl/mogl-backend/api/findDeals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sort_order": "invited",
"invited_only": "No",
"school_specific": "No",
"filterByMinPrice": 100,
"filterByMaxPrice": 10000,
"filterCategory": [],
"filterByLocation": null,
"filterByPaymentMode": null,
"filterByJobTitle": [],
"filterByLatLong": [],
"filterByDistanceInMiles": 25,
"allow_private": "Y",
"job_id": 1,
"serviceId": 1,
"type": "All",
"athlt_university_id": 1
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/findDeals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sort_order": "invited",
"invited_only": "No",
"school_specific": "No",
"filterByMinPrice": 100,
"filterByMaxPrice": 10000,
"filterCategory": [],
"filterByLocation": null,
"filterByPaymentMode": null,
"filterByJobTitle": [],
"filterByLatLong": [],
"filterByDistanceInMiles": 25,
"allow_private": "Y",
"job_id": 1,
"serviceId": 1,
"type": "All",
"athlt_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.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Page number
1
Items per page
10
Alias for limit
10
name_asc, name_desc, pay_high, pay_low, invited, recommended, location_nearest "invited"
Yes, No "No"
Yes, No "No"
100
10000
Category IDs
[]null
Cash, Product null
Exact job title match
[][longitude, latitude]
[]25
"Y"
Filter to a single job
1
Filter to a fan service request
1
Filter type
"All"
Athlete university ID
1
Available deals