Creates a survey field option
Changed onCreate a new survey field option.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/survey_field_options
- Authnone declared
Request body
Example request
{
"data": {
"type": "survey_field_options",
"attributes": {
"label": "Very Satisfied",
"value": "5"
},
"relationships": {
"survey_field": {
"data": {
"type": "survey_fields",
"id": "45"
}
}
}
}
}Response
Single survey field option
Example response
{
"data": {
"id": "123",
"type": "survey_field_options",
"attributes": {
"label": "Very Satisfied",
"value": "5",
"position": 1
},
"relationships": {
"survey_field": {
"data": {
"type": "survey_fields",
"id": "45"
}
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
response property
data/attributes/color_idlist-of-types was widened by adding typesnull and stringto media typeapplication/vnd.api+jsonof response201 - breaking
the
//response's property type changed fromstringto no type, and format fromdate-timeto no format for status - warning
deleted the
headerrequest parameterX-Organization-Id
This list may be incomplete.
- breaking