curl --request PUT \
--url https://api.hirehive.com/v1.0/{company_id}/feedback/{feedback_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"feedback_id": "<string>",
"application_id": "<string>",
"form_id": "<string>",
"answers": [
{
"question_id": "<string>",
"text": "<string>",
"ratings": [
{
"option_id": "<string>",
"rating": 123
}
],
"selected_options": [
"<string>"
],
"selected_option": "<string>"
}
]
}
'{
"data": {
"questions": [
{
"options": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>"
}
],
"id": "<string>",
"type": "textbox",
"question": "<string>",
"description": "<string>",
"required": true,
"restricted": true,
"display_order": 123,
"answer": {
"question_id": "<string>",
"text": "<string>",
"ratings": [
{
"option_id": "<string>",
"rating": 123
}
],
"selected_options": [
"<string>"
],
"selected_option": "<string>"
}
}
],
"id": "<string>",
"application_id": "<string>",
"form_id": "<string>",
"candidate": {
"id": "<string>",
"name": "<string>"
},
"name": "<string>",
"creator": {
"id": "<string>",
"name": "<string>"
},
"reviewer": {
"id": "<string>",
"name": "<string>"
},
"status": "pending",
"date_created": "2023-11-07T05:31:56Z",
"date_complete": "2023-11-07T05:31:56Z"
}
}Update an existing feedback form
curl --request PUT \
--url https://api.hirehive.com/v1.0/{company_id}/feedback/{feedback_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"feedback_id": "<string>",
"application_id": "<string>",
"form_id": "<string>",
"answers": [
{
"question_id": "<string>",
"text": "<string>",
"ratings": [
{
"option_id": "<string>",
"rating": 123
}
],
"selected_options": [
"<string>"
],
"selected_option": "<string>"
}
]
}
'{
"data": {
"questions": [
{
"options": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>"
}
],
"id": "<string>",
"type": "textbox",
"question": "<string>",
"description": "<string>",
"required": true,
"restricted": true,
"display_order": 123,
"answer": {
"question_id": "<string>",
"text": "<string>",
"ratings": [
{
"option_id": "<string>",
"rating": 123
}
],
"selected_options": [
"<string>"
],
"selected_option": "<string>"
}
}
],
"id": "<string>",
"application_id": "<string>",
"form_id": "<string>",
"candidate": {
"id": "<string>",
"name": "<string>"
},
"name": "<string>",
"creator": {
"id": "<string>",
"name": "<string>"
},
"reviewer": {
"id": "<string>",
"name": "<string>"
},
"status": "pending",
"date_created": "2023-11-07T05:31:56Z",
"date_complete": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
The id of the question. Format qustn_1a2b3c
The text answer given. Only applicable for textbox and text_area type questions
The answers given for a scorecard. Only applicable for scorecard type questions
Show child attributes
One or more answers given for a multiple choice question. Only applicable for checkbox type questions
The single selected answer for a radio/dropdown question. Only applicable for radio and dropdown type questions
Show child attributes
Show child attributes
The id of the question. Format qustn_1a2b3c
The type of field of the question.
textbox, text_area, radio, checkbox, dropdown, upload, header, scorecard The text of the question.
The description of the question if the type is header
A bool to indicate if this question is required.
A bool to indicate if the answers to this question require the restricted permission to view.
Show child attributes
The id of the question. Format qustn_1a2b3c
The text answer given. Only applicable for textbox and text_area type questions
The answers given for a scorecard. Only applicable for scorecard type questions
Show child attributes
The id of the option. Format opt_1a2b3c
The answers given for a scorecard option. Options: -2 (Very poor), -1 (Poor), 0 (Neutral), 1 (Good), 2 (Very good) Only applicable for scorecard type questions
One or more answers given for a multiple choice question. Only applicable for checkbox type questions
The single selected answer for a radio/dropdown question. Only applicable for radio and dropdown type questions
The id of the feedback. Format fdbk_1a2b3c
The application id this feedback form is for. Format app_1a2b3c
The id of the form that the feedback is connected to. Format form_1a2b3c
The name of the form.
The current status of the feedback indicating if it has been completed or not.
pending, complete The date that the feedback was submitted or requested.
The date that the feedback was sumitted
Was this page helpful?