highbond_questionnaire (Data Source)

Example Usage

data "highbond_questionnaire" "main" {
  collection_id = 87984
  name          = "Questionnaire Name"
}

data "highbond_collection" "main" {
  name = "collection_name"
}

data "highbond_questionnaire" "main" {
  collection_id = data.highbond_collection.main.collections[0].id
  name          = "Questionnaire Name"
}

// We can access this datasource value as below: data.highbond_questionnaire.main.questionnaires[0].id

Schema

Required

  • collection_id (Number) The ID of the Collection.
  • name (String) The name of the questionnaire.

Read-Only

  • id (String) The ID of this resource.
  • is_available (Boolean) This flag can be used to check if data source is available or not
  • questionnaires (List of Object) List of questionnaires (see below for nested schema)

Nested Schema for questionnaires

Read-Only:

  • collection_id (String)
  • created_at (String)
  • email_message (String)
  • email_subject (String)
  • id (String)
  • instruction (String)
  • linked_tables_ids (List of Number)
  • linked_tables_only (Boolean)
  • locale (String)
  • name (String)
  • position (Number)
  • reference_id (String)
  • respondent_view (String)
  • resubmittable (Boolean)
  • surveys_ids (List of Number)
  • updated_at (String)
  • weighting (Boolean)