Skip to main content
POST
/
partner
/
bulk-hiring
Bulk hire athletes for a job
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/partner/bulk-hiring \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "job_id": 100,
  "partner_job_applied_mapping_ids": [],
  "excluded_partner_job_applied_mapping_ids": []
}
'

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

Job ID to bulk hire for (required without partner_job_applied_mapping_ids)

Example:

100

partner_job_applied_mapping_ids
integer[]

Array of application mapping IDs to hire (required without job_id)

Example:
[]
excluded_partner_job_applied_mapping_ids
integer[]

Array of application IDs to exclude from bulk hiring

Example:
[]

Response

Bulk hiring process started