Components APIs
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/placements/preview \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"employee_id": "string",
"employer_id": "string",
"client_id": "string",
"job_id": "string",
"custom_attributes": {}
}'
{ "id": "string", "employee_id": "string", "employer_id": "string", "client_id": "string", "job_id": "string", "custom_attributes": {}, "missing_task_count": 0, "progress": { "forms_required": 0, "forms_completed": 0 }, "form_requirements": [ { … } ], "created_at": "2019-08-24T14:15:22Z" }
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/placements/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "employee_id": "string", "employer_id": "string", "client_id": "string", "job_id": "string", "custom_attributes": {}, "missing_task_count": 0, "progress": { "forms_required": 0, "forms_completed": 0 }, "form_requirements": [ { … } ], "created_at": "2019-08-24T14:15:22Z" }
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/placements/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"custom_attributes": {}
}'
{ "id": "string", "employee_id": "string", "employer_id": "string", "client_id": "string", "job_id": "string", "custom_attributes": {}, "missing_task_count": 0, "progress": { "forms_required": 0, "forms_completed": 0 }, "suggested_tasks": [ { … } ], "form_requirements": [ { … } ], "created_at": "2019-08-24T14:15:22Z" }
curl -i -X DELETE \
'https://docs.onboarded.com/_mock/openapi/api/v1/placements/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "employee_id": "string", "employer_id": "string", "client_id": "string", "job_id": "string", "custom_attributes": {}, "missing_task_count": 0, "progress": { "forms_required": 0, "forms_completed": 0 }, "form_requirements": [ { … } ], "created_at": "2019-08-24T14:15:22Z" }
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/placements?client_id=string&employee_id=string&employer_id=string&job_id=string&page=1&per_page=20' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/placements \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"employee_id": "string",
"employer_id": "string",
"client_id": "string",
"job_id": "string",
"custom_attributes": {},
"create_tasks": true
}'
{ "id": "string", "employee_id": "string", "employer_id": "string", "client_id": "string", "job_id": "string", "custom_attributes": {}, "missing_task_count": 0, "progress": { "forms_required": 0, "forms_completed": 0 }, "form_requirements": [ { … } ], "created_at": "2019-08-24T14:15:22Z" }