Skip to main content
POST
/
bulkApproveFromPartner
Bulk approve deals from partner side
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/bulkApproveFromPartner \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "athlete_id": [
    123
  ],
  "invoice_pay": "N",
  "is_all_selected": "false",
  "excluded_athletes": []
}
'

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
id
integer

Job ID (NOT job_id)

Example:

1

athlete_id
integer[]

Array of athlete IDs (NOT athlete_ids)

Example:
[123]
invoice_pay
enum<string>

If Y, sets bulk invoice pay

Available options:
Y,
N
Example:

"N"

is_all_selected
enum<string>

Select all applicants

Available options:
true,
false
Example:

"false"

excluded_athletes
integer[]

Athlete IDs to exclude when is_all_selected

Example:
[]

Response

200

Bulk approval submitted