Skip to main content
POST
/
myDealsCount
Get my deals count by status (returns counts for all statuses)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/myDealsCount \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "athlete_id": 123,
  "filterByKeyword": "test",
  "job_id": "1",
  "serviceId": 1,
  "status": "All Deals",
  "type": "All"
}
'

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
athlete_id
integer | null

Athlete ID (for agent/partner context)

Example:

123

filterByKeyword
string | null

Keyword search

Example:

"test"

job_id
string | null

Filter to a single job

Example:

"1"

serviceId
integer | null

Filter to a fan service request

Example:

1

status
string | null

Deal status filter

Example:

"All Deals"

type
string | null

Filter type

Example:

"All"

Response

200

Deal counts by status