Questionnaires

Upload Questionnaire

Submits a new questionnaire file to SafeBase

The following params must be sent as form data key pair values:

  • qnr

  • accountId

  • productId (optional for single-product orgs, required for multi-product orgs)

The following form data fields are optional:

  • dueDate

Supported file formats: xlsx, .pdf, .docx, .csv, .json and plain text (not exhaustive, please check latest support docs)

post/questionnaires/

Request

Request body multipart/form-data

qnrstring binary required

The questionnaire file to upload. Supported format include .xlsx, .pdf, .docx, .csv, .json and plain text.

accountIdstring uuid required

The accountId to associate the questionnaire file with.

productIdstring

The productId to associate the QNR file with. Product ID is strictly required for multi product organizations.

dueDatestring date-time

ISO 8601 datetime string, e.g., '2024-12-31T23:59:59Z'.

Response

Successful operation

okboolean

Example response

{
  "ok": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.