Create an answer
This endpoint allows you to add an answer to an existing response. Attempting to create an answer of a question that already exists for the response will result in 409 Conflict
error.
Request
POST https://api.nicereply.com/answers
Request body
Field Name | Data Type | Is Nullable | Description |
---|---|---|---|
response_id | Response ID | No | |
question_id | Question ID | No | |
scale | Scale Object | No | |
open_ended | Open Ended Object | No |
Scale object
Field Name | Data Type | Is Nullable | Description |
---|---|---|---|
value | Integer | No | Score |
Open ended object
Field Name | Data Type | Is Nullable |
---|---|---|
value | String | No |
Example body
{
"response_id": "018a88f2-c3bf-777b-ac48-f53263563fe0",
"question_id": "7a9ecf44-dfe1-4f7f-8f99-c612cd815033",
"scale": {
"value": 1
},
"open_ended": null
}
Example response
204 No Content