v1

latestOpenAPI 3.0.02026-08-063939255.2 KB
Candidate

Create a candidate

curl request example curl --location --request POST 'https://hurma.work/api/v1/candidate'
--header 'token: 886308a96833251c04ee18fff519a7aa15073256d6a5460587bd892e40e58c53d0dcab74cdde736'
--form 'name='Stepan Andriyovych''
--form 'phone='phone''
--form 'email='email@email.com''
--form 'description='Additiona info''
--form 'hurma_vacancy_id='1''
--form 'cv=@'/home/user/downloads/StepanAndriyovych-cv.pdf''

post/candidate

Headers

tokenstring required

Api token

Request body

namestring required

Full name

phonestring nullable

Phone number

emailstring nullable

Email

descriptionstring nullable

Description

hurma_vacancy_idinteger nullable

Vacancy id

cvstring binary nullable

File

positionstring nullable

Position

birth_datestring nullable

Format Y-m-d

sexstring nullable

0 - no selected, 1 - men, 2 - women

skypestring nullable

Skype

linked_instring nullable

Link to profile

telegramstring nullable

Telegram nick

current_jobstring nullable

Current job

job_commentstring nullable

Job comment

educationstring nullable

Education

residencestring nullable

Residence

relocatestring nullable

0 - false, 1 - true

dutiesstring nullable

Duties

additional_infostring nullable

Additional info

Example request

{
  "name": "John Smith",
  "hurma_vacancy_id": 1,
  "custom_properties": [
    {
      "id": 1
    }
  ]
}

Response

ОК

resultstring
errorboolean
codeinteger
messagesstring[]

Example response

{
  "result": "Success",
  "code": 200
}