Administration/Questionnaire Templates

Create a questionnaire template as the Retraced admin

Changed on

Creates an empty draft template. The admin twin of POST /api/questionnaires/templates — same write, same service, but gated on admin:questionnaire:create, which only RETRACED_ADMIN holds. Every template created here is therefore Retraced-owned and starts inactive, so it stays out of the shared pool until it is switched on. Nothing is cloned and the name is not checked for uniqueness: one company may hold several templates under one name.

post/api/admin/questionnaires/templates/

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/questionnaires/templates/
  • Auth
    none declared

Request body

namestring required
descriptionstring

Response

Default Response

Changes

    • info

      the request property's maxLength was increased from 500 to 1024

    • 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/companyId list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/description list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/isActive list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/isArchived list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/isRetraced list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/isTemplate list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/name list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/statistics list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/status list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property data/templateId list-of-types was narrowed by removing types null from media type application/json of response 201