Candidate Update
This API is to update candidate using id. This is an authendicated API so we need to pass bearer token in request header to access the data.
Headers
-
application/json
-
application/json
Body
-
first_name string
-
last_name string
-
email string
-
has_contact_profile_view boolean
Default value is
true
. -
address_line1 string
-
place string
-
post_code string
-
mobile_prefix string
-
mobile_number string
-
preferred_name string
-
employment_types_id integer
-
employment_type_company_id integer
-
dbs_pvg_no string
-
dbs_issue_date string(date)
-
dbs_exp_date string(date)
-
next_check_date string(date)
-
nmc_pin_number string
-
nationality string
-
dob string(date)
-
place_of_birth string
-
gender string
Values are
male
,female
, orother
. -
is_driver boolean
Default value is
false
. -
nappi_trained boolean
Default value is
false
. -
medication_trained boolean
-
weekly_hours string
-
selected_profile_job array[integer]
-
jobs array[integer]
-
regions array[integer]
-
ni_number string
-
tax_code string
-
payroll_id string
-
payroll_job_status string
Values are
nil
,First Job 6th April
,I have another job
,Student Loan
, orThis is my only job
. -
payroll_frequency string
Values are
Weekly
,Monthly
, or4 Weekly
. -
payment_reference string
PATCH
/candidate/{id}
curl \
-X PATCH https://api-console.logezy.co/v1/candidate/{id} \
-H "Content-Type: string" \
-H "Accept: string" \
-d '{"dob":"2019-08-24","jobs":[0],"email":"string","place":"string","gender":"male","regions":[0],"tax_code":"string","is_driver":false,"last_name":"string","ni_number":"string","post_code":"string","dbs_pvg_no":"string","first_name":"string","payroll_id":"string","nationality":"string","dbs_exp_date":"2019-08-24","weekly_hours":"string","address_line1":"string","mobile_number":"string","mobile_prefix":"string","nappi_trained":false,"dbs_issue_date":"2019-08-24","nmc_pin_number":"string","place_of_birth":"string","preferred_name":"string","next_check_date":"2019-08-24","payment_reference":"string","payroll_frequency":"Weekly","medication_trained":true,"payroll_job_status":"nil","employment_types_id":0,"selected_profile_job":[0],"has_contact_profile_view":true,"employment_type_company_id":0}'
Request example
{
"dob": "2019-08-24",
"jobs": [
0
],
"email": "string",
"place": "string",
"gender": "male",
"regions": [
0
],
"tax_code": "string",
"is_driver": false,
"last_name": "string",
"ni_number": "string",
"post_code": "string",
"dbs_pvg_no": "string",
"first_name": "string",
"payroll_id": "string",
"nationality": "string",
"dbs_exp_date": "2019-08-24",
"weekly_hours": "string",
"address_line1": "string",
"mobile_number": "string",
"mobile_prefix": "string",
"nappi_trained": false,
"dbs_issue_date": "2019-08-24",
"nmc_pin_number": "string",
"place_of_birth": "string",
"preferred_name": "string",
"next_check_date": "2019-08-24",
"payment_reference": "string",
"payroll_frequency": "Weekly",
"medication_trained": true,
"payroll_job_status": "nil",
"employment_types_id": 0,
"selected_profile_job": [
0
],
"has_contact_profile_view": true,
"employment_type_company_id": 0
}