CASE FrameworkCASE Framework

Get latest survey by key

GET
/v1/studies/{studyKey}/surveys/{surveyKey}

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

studyKey*string
surveyKey*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/studies/string/surveys/string"
{
  "survey": {
    "id": "string",
    "surveyKey": "string",
    "props": {},
    "prefillRules": [
      {}
    ],
    "contextRules": {},
    "maxItemsPerPage": {},
    "availableFor": "string",
    "requireLoginBeforeSubmission": true,
    "published": 0,
    "unpublished": 0,
    "surveyDefinition": {},
    "versionId": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    }
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}