cURL
curl --request POST \ --url https://api.series.hr/applications/submit \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "UserId": "<string>", "CentreId": "<string>", "answers": {} } '
Submit an application with answers
curl -X POST https://api.series.hr/applications/submit \ -H "apikey: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "UserId": "714760171", "CentreId": "centre_123", "answers": { "question_1": "Answer to first question", "question_2": "Answer to second question" } }'
{ "success": true, "data": { "applicationId": "app_xyz789", "UserId": "714760171", "CentreId": "centre_123", "status": "submitted", "submittedAt": "2024-01-15T10:30:00Z" } }
Application submitted