Questionnaire

Create a questionnaire

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 body

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

Response

Default Response

Changes

Changed in 2 of the 49 revisions of this API.12113

  • 97e51f27dc7712112See the full diff
    • ▲

      request property / was restricted to a list of enum values

      request-property-became-enum

    • ▲

      the / request property type changed from null to string

      request-property-type-changed

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ●

      changed the pattern of the request property from ^(?:(?:\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))$ to ^(?:(?:\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))$

      request-property-pattern-changed

    • ○

      the request property / became nullable

      request-property-became-nullable

    • ○

      added the new undefined enum value to the request property /

      request-property-enum-value-added

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

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

      response-property-list-of-types-narrowed

    • ○

      endpoint added

      endpoint-added

Of the 49 revisions, 1 has no diff computed.