Skip to content

getAssessmentForms ​

Retrieves a list of all assessment forms supported by the system.

INFO

With no parameters, this endpoint returns all assessments (and their fields). When assessmentUuid is supplied, it returns a single assessment in the array.

Request ​

http
GET /rest/refdata/assessment-forms

Query Parameters ​

ParameterTypeRequiredDescription
assessmentUuidstringNoUUID of a specific self-assessment form. If omitted, returns all assessments.

Examples ​

http
GET /rest/refdata/assessment-forms
GET /rest/refdata/assessment-forms?assessmentUuid=79da1cd0-4ace-4ec8-b88d-de5acdc0f92a

Response ​

200 OK ​

json
[
  {
    "assessmentId": 1,
    "assessmentUuid": "79da1cd0-4ace-4ec8-b88d-de5acdc0f92a",
    "assessmentName": "Patient Health Questionnaire",
    "fields": []
  }
]
FieldTypeDescription
assessmentIdintegerPrimary key of the assessment
assessmentUuidstringUUID identifier
assessmentNamestringName of the assessment form
fieldsarrayList of fields/questions in this assessment

Errors ​

ExceptionCause
WSRefDataServiceExceptionService error while fetching assessment forms