{"_id":"5b7db3d90c260100037536fb","project":"54ee19c23749bf0d00c76515","version":{"_id":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":2,"createdAt":"2018-01-18T19:32:29.915Z","releaseDate":"2018-01-18T19:32:29.915Z","categories":["5a60f64d792a330012d72141","5a60f64d792a330012d72142","5a60f64d792a330012d72143","5a60f64d792a330012d72144","5a60f64d792a330012d72145","5a60f64d792a330012d72146","5a60f64d792a330012d72147","5a660cc7dc0f1c001c2b5568"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3"},"category":{"_id":"5a60f64d792a330012d72146","version":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-02-25T20:55:14.360Z","from_sync":false,"order":6,"slug":"candidate-endpoints","title":"Candidate Endpoints"},"user":"575f003663430e0e008a8704","__v":3,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-08-22T19:04:57.824Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"PUT /public/api/v3/company/000000000000/position/000000000000/candidate/000000000000/work-history HTTP/1.1\nHost: breezy.hr\nAuthorization: 00000000-0000-0000-0000-000000000000\nContent-Type: application/json\n\n{\n\t\"company_name\": \"Widget Corp\",\n\t\"title\": \"Widget Maker\",\n\t\"summary\": \"I made all the widgets\",\n\t\"start_month\": 1,\n\t\"start_year\": 2015,\n\t\"end_month\": 10,\n\t\"end_year\": 2017\n}","name":"","gist":"d8b94c22c836cf372959","language":"http"},{"code":"curl -H \"Content-Type: application/json\" -H \"Authorization: 00000000-0000-0000-0000-000000000000\" -X PUT -d '{\"company_name\": \"Widget Corp\",\"title\": \"Widget Maker\",\"summary\": \"I made all the widgets\",\"start_month\": 1,\"start_year\": 2015,\"end_month\": 10,\"end_year\": 2017 }' https://breezy.hr/public/api/v3/company/000000000000/position/000000000000/candidate/000000000000/work-history\n\n","language":"curl"}]},"method":"put","results":{"codes":[{"code":"{\n   Candidate Object\n}","language":"json","status":200,"name":""},{"name":"Missing Access Token","code":"{\n    \"error\": {\n        \"type\": \"missingAccessToken\",\n        \"message\": \"access token is null or empty\"\n    }\n}","language":"json","status":400},{"status":401,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"invalidAccessToken\",\n        \"message\": \"access token is invalid\"\n    }\n}"},{"status":500,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"updateCandidateError\",\n        \"message\": \"there was an unknown error updating candidate.\"\n    }\n}"}]},"settings":"","auth":"required","params":[{"_id":"57a8b2f81ec0f519003e6130","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"company_id"},{"_id":"57a8b2f81ec0f519003e612f","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"position_id"},{"_id":"5b7db1d323ad950003c4ae30","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"candidate_id"},{"_id":"5b7db49184507d000381558e","ref":"","in":"body","required":true,"desc":"","default":"","type":"string","name":"company_name"},{"_id":"5b7db49184507d000381558d","ref":"","in":"body","required":false,"desc":"","default":"","type":"string","name":"title"},{"_id":"5b7db49184507d000381558c","ref":"","in":"body","required":false,"desc":"","default":"","type":"string","name":"summary"},{"_id":"5b7db49184507d000381558b","ref":"","in":"body","required":false,"desc":"","default":"","type":"int","name":"start_month"},{"_id":"5b7db49184507d000381558a","ref":"","in":"body","required":false,"desc":"","default":"","type":"int","name":"start_year"},{"_id":"5b7db49184507d0003815589","ref":"","in":"body","required":false,"desc":"","default":"","type":"int","name":"end_month"},{"_id":"5b7db49184507d0003815588","ref":"","in":"body","required":false,"desc":"","default":"","type":"int","name":"end_year"}],"url":"/v:version/company/:company_id/position/:position_id/candidate/:candidate_id/work-history"},"isReference":true,"order":18,"body":"","excerpt":"Adds a work history entry to a candidate","slug":"company-position-candidate-update-work-history","type":"endpoint","title":"./candidate/:id/work-history"}

put./candidate/:id/work-history

Adds a work history entry to a candidate

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

company_id:
required
string
position_id:
required
string
candidate_id:
required
string

Body Params

company_name:
required
string
title:
string
summary:
string
start_month:
integer
start_year:
integer
end_month:
integer
end_year:
integer

Examples


Result Format


User Information

Try It Out

put
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}