Save a questionnaire or template with its sections and questions
The builder's save, for a questionnaire or a template. sections and questions are the complete desired content, not a patch: rows present are created or updated, rows absent are deleted along with their answers and comments. name, description and dueDate are always written; status is not settable here and keeps its stored value. dueDate may be omitted or null — a template has no deadline of its own and always stores null, and on a questionnaire an omitted date clears it. The questionnaire must belong to the calling company — another company's is indistinguishable from a missing one and answers 404 — and a Retraced-owned questionnaire may only be saved by a Retraced admin. Once answer requests exist, an existing question's title, type, mandatory flag and options are frozen; adding a new question instead reopens every request so it can be answered. Moving the due date re-dates the still-open requests and notifies their answering companies. Answers the saved questionnaire in the same shape as the builder read.
Path parameters
Request body
Response
Default Response
Changes
Changed in 3 of the 49 revisions of this API.3854
- ▲
removed
subschema #1subschema #2from therequest propertyanyOflistrequest-property-any-of-removed
- ▲
request property
/was restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
///was restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
///was restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
///was restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
///was restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
///was restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
//list-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
the
/request property type changed fromnulltostringrequest-property-type-changed
- ▲
the
///request property type changed fromnulltostringrequest-property-type-changed
- ▲
the
///request property type changed fromnulltostringrequest-property-type-changed
- ▲
the
///request property type changed fromnulltostringrequest-property-type-changed
- ▲
the
///request property type changed fromnulltostringrequest-property-type-changed
- ▲
the
///request property type changed fromnulltostringrequest-property-type-changed
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the
/response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ○
added
subschema #1subschema #2to therequest propertyanyOflistrequest-property-any-of-added
- ○
the request property
/became nullablerequest-property-became-nullable
- ○
the request property
///became nullablerequest-property-became-nullable
- ○
the request property
///became nullablerequest-property-became-nullable
- ○
the request property
///became nullablerequest-property-became-nullable
- ○
the request property
///became nullablerequest-property-became-nullable
- ○
the request property
///became nullablerequest-property-became-nullable
- ○
added the new
undefinedenum value to the request property/request-property-enum-value-added
- ○
added the new
undefinedenum value to the request property///request-property-enum-value-added
- ○
added the new
undefinedenum value to the request property///request-property-enum-value-added
- ○
added the new
undefinedenum value to the request property///request-property-enum-value-added
- ○
added the new
undefinedenum value to the request property///request-property-enum-value-added
- ○
added the new
undefinedenum value to the request property///request-property-enum-value-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
removed
subschema #1subschema #2from the/response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
response property
data/companyIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/isActivelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/isArchivedlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/isRetracedlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/isTemplatelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/companyIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/questionTypeIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/questionnaireSectionIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/retracedDatapointIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/sectionIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/sortOrderlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/titlelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/questions/items/typelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/sections/items/descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/sections/items/isRetracedlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/sections/items/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/sections/items/sortOrderlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/statuslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
data/templateIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ▲
- ○
the request property
became optionalrequest-property-became-optional
- ○
request property
list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
removed the pattern
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$from the request propertyrequest-property-pattern-removed
- ○
- ○
endpoint added
endpoint-added
- ○
Of the 49 revisions, 1 has no diff computed.