API ReferenceRecruitment
Update Applicant Labels
PUT
Replaces the whole set of applicant labels: an empty list clears them. Label ids that do not belong to the organization are ignored. Requires permissions recruiting_module=edit and manage_candidates=edit.
HttpBearerAuthheader
AuthorizationBearer <JWT>applicant_id*Applicant Idapplication/json- body
Полная замена набора тегов апликанта: пустой список очищает теги.
label_ids*array<integer>Successful Response
application/json- response
id*Idfirst_name*string|nulllast_name*string|nullmiddle_name*string|nullcontacts*additional_contacts*array<>current_position*salary*string|nullbirth_date*source*photo_url*string|nullcvs*array<>datetime_created_at*Datetime Created Atlocation?string|nullresume*string|nulllabels*array<>author*|nullis_archived*Is Archivedemployee_id?integer|nullcustom_fields*array<>curl -X PUT 'https://api.skailer.com/api/v1/applicants/0/labels' \ -H 'Content-Type: application/json' \ -d '{ "label_ids": [ 0 ]}'Example Response
{ "id": 0, "first_name": "string", "last_name": "string", "middle_name": "string", "contacts": { "phone": "string", "email": "string", "skype_username": "string", "telegram_username": "string" }, "additional_contacts": [ { "value": "string", "type": "email", "label": "string" } ], "current_position": { "position": "string", "company": "string" }, "salary": "string", "birth_date": { "day": 0, "month": 0, "year": 0 }, "source": { "id": 0, "title": "string", "source_type": "manual", "is_active": true }, "photo_url": "string", "cvs": [ { "id": 0, "source": { "id": 0, "title": "string", "source_type": "manual", "is_active": true }, "source_file": { "name": "string", "file_type": "string", "size": 0, "mime_type": "string", "uuid": "string", "url": "string" }, "source_url": "string", "cv_text": "string", "personal_info": { "photo_url": "string", "first_name": "string", "last_name": "string", "middle_name": "string", "birth_date": { "day": 0, "month": 0, "year": 0 } }, "contacts": [ { "type": "email", "value": "string" } ], "experience": [ { "position": "string", "position_date_from": { "day": 0, "month": 0, "year": 0 }, "position_date_to": { "day": 0, "month": 0, "year": 0 }, "company": "string", "location": { "address": "string", "city": "string", "country": "string" }, "industries": [ { "title": "string" } ], "description": "string" } ], "education": [ { "level": "string", "title": "string", "education_date_from": { "day": 0, "month": 0, "year": 0 }, "education_date_to": { "day": 0, "month": 0, "year": 0 }, "location": { "address": "string", "city": "string", "country": "string" }, "field_of_study": "string" } ], "additional_education": [ { "level": "string", "title": "string", "education_date_from": { "day": 0, "month": 0, "year": 0 }, "education_date_to": { "day": 0, "month": 0, "year": 0 }, "location": { "address": "string", "city": "string", "country": "string" }, "field_of_study": "string" } ], "certificates": [ { "level": "string", "title": "string", "education_date_from": { "day": 0, "month": 0, "year": 0 }, "education_date_to": { "day": 0, "month": 0, "year": 0 }, "location": { "address": "string", "city": "string", "country": "string" }, "field_of_study": "string" } ], "languages": [ { "title": "string", "level": "string" } ], "skills": [ { "title": "string" } ], "recommendations": [ { "author": "string", "text": "string" } ], "location": { "address": "string", "city": "string", "country": "string" }, "datetime_created_at": "string", "datetime_updated_at": "string" } ], "datetime_created_at": "string", "location": "string", "resume": "string", "labels": [ { "id": 0, "title": "string", "color": "string" } ], "author": { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": true }, "is_archived": true, "employee_id": 0, "custom_fields": [ { "field": { "id": 0, "section_id": 0, "entity_type": "employee", "type": "employee_position_reporting_to", "field_type": "text", "title": "string", "description": "string", "slug": "string", "hint": "string", "is_mandatory": true, "config": { "is_multiple_values": true, "formula": "string", "is_visible_to_candidate": true }, "reference_entity": "legal_entity", "is_archived": true, "options": [ { "id": 0, "title": "string", "description": "string", "is_archived": true } ] }, "value": { "value_text": "string", "value_float": 0, "value_int": 0, "value_bool": true, "datetime_value": "string", "date_value": "string", "value_int_array": [ 0 ], "value_text_array": [ "string" ], "value_label": "string", "value_file": { "name": "string", "size": 0, "mime_type": "string", "url": "string" }, "value_employees": [ { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false } ], "value_references": [ { "id": 0, "title": "string", "is_archived": true } ] }, "permission_value": "none" } ]}