Questionnaire

Create a questionnaire

Changed on

Creates a questionnaire for the calling company. With templateId set, the source questionnaire's sections and questions are copied onto the new one; the source must be owned by the caller's company or be an active Retraced template.

post/api/questionnaires/

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/questionnaires/
  • Auth
    none declared

Request body

namestring required
status'ACTIVE' | 'COMPLETED' | 'DRAFT' required
descriptionstring
dueDatestring date-time
templateIdstring nullable

Response

Default Response

Changes

    • info

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

    • breaking

      removed subschema #1 subschema #2 from the request property anyOf list

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property type changed from no type to string

    • info

      the request property became nullable