curl --request POST \
--url http://localhost/mogl/mogl-backend/api/add-job \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"isEdit": 0,
"id": 1,
"jobType": "short-term",
"jobFor": "All",
"name": "Test skl",
"fbp": "fb.1.1771826224285.758247182288672553",
"require_proof_of_work": true,
"dueDateUpdateOnly": "No",
"addTitleAndDescription": {
"jobName": "Test job dev 002",
"jobDescription": "<p>Test job description</p>",
"levelOfExperience": "",
"skillsAndExpertise": [],
"additionalSkills": [],
"is_exclusive": "N",
"specifics_exclusive_deal": "",
"totalCompensation": "10.00",
"numberOfPeopleNeedForJob": "More",
"jobCategoryName": [
false,
true,
true,
true,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false
],
"jobCategoryNames": [],
"jobCategoriesSelected": [
14,
15,
35,
17,
37
],
"deliverableList": [],
"additionalAttachment": [],
"removedImg": []
},
"addDetails": {
"projectType": "1",
"screeningQuestions": [],
"questionsAsked": [],
"additionalAttachment": [],
"require_proof_of_work": true
},
"addExpertise": {
"skillsAndExpertise": [],
"additionalSkills": [],
"jobCategoriesSelected": [
14,
15
]
},
"addLocation": {
"talentLeague": null,
"talentState": "Los Angeles, CA, USA",
"poc_name": "Test user",
"poc_email": "testpartner@gmail.com",
"location_utc_offset": "{}",
"university": [
1,
222
],
"universityName": "Example University",
"division": [
123
],
"conference": [
123
],
"sports": [
24,
18,
10,
30
],
"skills": [
123
],
"gender": [
"Male",
"Female"
],
"instagram_min": 123,
"instagram_max": 123,
"tiktok_min": 123,
"tiktok_max": 123,
"x_min": 123,
"x_max": 123
},
"addBudgetaddTitle": {
"paymentTypePreference": "Fixed",
"estimateBudget": "notDef",
"hourlyRateFrom": "10.00",
"hourlyRateTo": 0,
"monthlyPaymentPreference": "lessThan1"
},
"addVisiblity": {
"jobViewPreference": "All MOGL Athletes",
"numberOfPeopleNeedForJob": "More",
"preferPersonOrteam": [],
"preferTalent": "",
"talentPreference": []
},
"remainimage": []
}
'