{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v:version/company/:company_id/position/:position_id/candidate/:candidate_id/stream","auth":"required","examples":{"codes":[{"language":"html","code":"POST /v3/company/000000000000/position/000000000000/candidate/000000000000/stream HTTP/1.1\nHost: api.breezy.hr\nAuthorization: 00000000-0000-0000-0000-000000000000\nContent-Type: application/json\n\n{\n  \"body\": \"Hi there! This is a test message!\"\n}"},{"language":"curl","code":"curl -H \"Content-Type: application/json\" -H \"Authorization: 00000000-0000-0000-0000-000000000000\" -X POST -d '{ \"body\": \"Hi there! This is a test message!\" }' https://api.breezy.hr/v3/company/000000000000/position/000000000000/candidate/000000000000/stream\n\n"}]},"method":"post","results":{"codes":[{"status":200,"language":"json","code":"{\n  \"_id\": String,\n  \"type\": \"companyNotePosted\",\n  \"stream_id\": String,\n  \"object\": {}, //stream object specific to type\n  \"timestamp\": Date\n}","name":""},{"status":400,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"missingAccessToken\",\n        \"message\": \"access token is null or empty\"\n    }\n}","name":"Missing Access Token"},{"code":"{\n    \"error\": {\n        \"type\": \"postNoteMissingBody\",\n        \"message\": \"body is null or empty\"\n    }\n}","language":"json","status":400},{"code":"{\n    \"error\": {\n        \"type\": \"invalidAccessToken\",\n        \"message\": \"access token is invalid\"\n    }\n}","language":"json","status":401},{"code":"{\n    \"error\": {\n        \"type\": \"postNoteError\",\n        \"message\": \"there was an unknown error posting message.\"\n    }\n}","language":"json","status":500}]},"settings":"","params":[{"name":"body","type":"string","default":"","desc":"the content of the note to add","required":false,"in":"body","ref":"","_id":"57602da9c811102000cef2f1"},{"name":"company_id","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"57a8b2a7b1641a1700ede47e"},{"name":"position_id","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"57a8b2a7b1641a1700ede47d"},{"name":"candidate_id","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"57a8b2a7b1641a1700ede47c"}],"apiSetting":"5d1f4985a718ba002bfa4a50"},"next":{"description":"","pages":[]},"title":"./candidate/:id/stream","type":"endpoint","slug":"company-position-candidate-stream-add","excerpt":"Adds a note to a candidate's discussion stream","body":"","updates":[],"order":19,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a60f64e792a330012d7215b","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Candidate Endpoints","slug":"candidate-endpoints","order":6,"from_sync":false,"reference":true,"_id":"5a60f64d792a330012d72146","version":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","createdAt":"2015-02-25T20:55:14.360Z","__v":0},"project":"54ee19c23749bf0d00c76515","parentDoc":null,"user":"575f003663430e0e008a8704","version":{"version":"3","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a60f64d792a330012d72141","5a60f64d792a330012d72142","5a60f64d792a330012d72143","5a60f64d792a330012d72144","5a60f64d792a330012d72145","5a60f64d792a330012d72146","5a60f64d792a330012d72147","5a660cc7dc0f1c001c2b5568","5d1f4985a718ba002bfa4a52","5d1f53e3d10632001825a1f3"],"_id":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","createdAt":"2018-01-18T19:32:29.915Z","releaseDate":"2018-01-18T19:32:29.915Z","__v":4},"createdAt":"2016-06-14T16:15:37.793Z","githubsync":"","__v":9,"updatedAt":"2019-07-05T13:07:23.437Z"}

post./candidate/:id/stream

Adds a note to a candidate's discussion stream

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

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

Body Params

body:
string
the content of the note to add

Examples


Result Format


User Information

Try It Out

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