Job Type preferences
This end point allows access to list of available job types for a job seeker and update the preferences.
Get Available jobs types
GET
https://www.ondemandstaffing.app/api/v1/shifts/jobseeker_jobtype_preferences/
Get all available Job types for the current job seeker
Query Parameters
tenant
string
The tenant key requesting the access.
Headers
Authentication
string
Authentication token to track down who is requesting the job types.
[
{
"id": 3,
"price": "25.0",
"country_id": 6,
"skill_id": 3,
"created_at": "2018-02-15T18:35:24.267Z",
"updated_at": "2020-06-02T01:33:39.080Z",
"name": "Server",
"description": "Server",
"status": true,
"image": "",
"interested": true,
"payout_price": "15.0",
"synonyms": [
""
],
"custom_req": [
"105"
],
"free_custom_req": "",
"symbo": null,
"cur_multiple": null,
"company_custom_req": "",
"shift_rate": "0.0",
"upper_limit": null,
"lower_limit": null,
"job_description": "",
"sub_taxonomies": "",
"abilities": null,
"custom_preferences": null,
"group_tags": [
"",
""
],
"color": "#000000",
"interested": false
},
{
"id": 28,
"price": "20.0",
"country_id": 6,
"skill_id": 28,
"created_at": "2018-11-22T19:26:53.023Z",
"updated_at": "2020-06-02T01:37:18.349Z",
"name": "Construction Worker",
"description": "Working as a construction worker",
"status": true,
"image": "",
"payout_price": "15.99",
"synonyms": [
""
],
"custom_req": [
"64",
"105",
"114"
],
"free_custom_req": "",
"symbo": null,
"cur_multiple": null,
"company_custom_req": [
"114"
],
"shift_rate": "0.0",
"upper_limit": null,
"lower_limit": null,
"job_description": "",
"sub_taxonomies": "",
"abilities": null,
"custom_preferences": null,
"group_tags": [
""
],
"color": "#000000",
"interested": false
},
{
"id": 27,
"price": "30.0",
"country_id": 6,
"skill_id": 27,
"created_at": "2018-11-22T19:19:58.463Z",
"updated_at": "2020-06-02T01:36:45.542Z",
"name": "Electrician",
"description": "Working as an electrician",
"status": true,
"image": "",
"payout_price": "17.0",
"synonyms": [
"Electric Worker"
],
"custom_req": [
"105",
"114"
],
"free_custom_req": "",
"symbo": null,
"cur_multiple": null,
"company_custom_req": [
"105",
"114"
],
"shift_rate": "0.0",
"upper_limit": null,
"lower_limit": null,
"job_description": "",
"sub_taxonomies": [
"lbnK1MIZ5U0WAVv73jqDhHoTwFpcy64eLXEmGiYNrfs9CO2PtxQkgzSduaRB8J_x_Electrical, Light Technical/Trades/Skilled Labor",
"2KVErFSBuaA1yis0Zzx9fDcJRPt7mGl3wg8IhNXqpkTY46HOLjdveoCMWnQU5b_x_Carpentry and Painting, Light Technical/Trades/Skilled Labor"
],
"abilities": [
"bR54lL8TpJiDn7Ec0YzZSdxgG1vfQsuw9XHkqUFNAe6PoKOhmBIj3yWrCMtVa2_x_LIGHTING, Light Technical/Trades/Skilled Labor",
"P7spfUveNctI5w6ZVxgYy4i83GQSMkK1OTzrCEXJDRlo09qb2hdHnmBALWaujF_x_BOOTH, Light Technical/Trades/Skilled Labor",
"OGnXbohKdt6PAJ8CevINfzL10jx9m5VQHDi4qwYZ7Epu3kSByUF2aTsWrlcMgR_x_PAINTING, Light Technical/Trades/Skilled Labor"
],
"custom_preferences": null,
"group_tags": [
""
],
"color": "#ad3e00",
"interested": false
},
{
"id": 123,
"price": "15.99",
"country_id": 6,
"skill_id": 90,
"created_at": "2020-06-02T01:18:19.596Z",
"updated_at": "2020-06-02T01:36:23.559Z",
"name": "Housekeeper",
"description": "Working as a housekeeper",
"status": true,
"image": "",
"payout_price": "10.0",
"synonyms": [
""
],
"custom_req": [
"105"
],
"free_custom_req": "",
"symbo": "$",
"cur_multiple": 100,
"company_custom_req": [
"105"
],
"shift_rate": "0.0",
"upper_limit": null,
"lower_limit": null,
"job_description": "",
"sub_taxonomies": "",
"abilities": null,
"custom_preferences": null,
"group_tags": [
""
],
"color": "#000000",
"interested": false
}
]
Update prefrences for the user
POST
https://www.ondemandstaffing.app/api/v1/shifts/jobseeker_jobtype_preferences/
Update the preferences for job seeker.
Query Parameters
jobtypes
array
Must be an array of IDs of Job types. IDs could be retrived by making a get request at the same end point.
tenant
string
The tenant key requesting access.
Headers
Authentication
string
Authentication token to track down the user who is updating the preferences.
{ status: 200 , data: { opertaion_status: 'Success'}, message: "Preferences Updated."}
Last updated
Was this helpful?