Skip to main content
POST
/
partner
/
deliverableReportExport
Export deliverable report to CSV
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/partner/deliverableReportExport \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "date_filter_range": "last_month",
  "job_id": 100,
  "athlete_id": 200,
  "deliverable_id": 300,
  "selected_id_arr": [],
  "timezone_diff": -5,
  "filter": [],
  "columnSelected": []
}
'
{
  "status": "success",
  "message": "Your report export has started. We'll email you the link once it's ready"
}

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
date_filter_range
enum<string>

Date range filter

Available options:
last_month,
last_week,
this_week,
All
Example:

"last_month"

job_id
integer

Filter by job ID

Example:

100

athlete_id
integer

Filter by athlete ID

Example:

200

deliverable_id
integer

Filter by deliverable ID

Example:

300

selected_id_arr
integer[]

Selected deliverable IDs to export

Example:
[]
timezone_diff
number<float>

Timezone offset

Example:

-5

filter
object

Same filter structure as deliverableReport

Example:
[]
columnSelected
object

Object of column keys with Y/N to include in export

Example:
[]

Response

200 - application/json

Export queued

status
string
Example:

"success"

message
string
Example:

"Your report export has started. We'll email you the link once it's ready"