Clone a questionnaire template as the Retraced admin
Changed onCopies a Retraced-owned template, its sections and its questions into a brand-new draft template named "Copy of …". The admin twin of POST /api/questionnaires/:id/save-as-template — same clone, same service — but gated on admin:questionnaire:create, which only RETRACED_ADMIN holds. The source is looked up across companies and must be Retraced-owned: a company-owned questionnaire answers 403 cannot_clone_template, an unknown id 404. The clone belongs to the source's company, carries no answer requests or responses, and starts inactive so it stays out of the shared template pool until it is switched on.
Request
- Base URLhttps://api.retraced.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.retraced.com/api/admin/questionnaires/templates/{id}/copy
- Authnone declared
Path parameters
Response
Default Response
Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
response property
data/companyIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/isActivelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/isArchivedlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/isRetracedlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/isTemplatelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/statisticslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/statuslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - info
response property
data/templateIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201
- breaking
- info
endpoint added
- info