highbond_questionnaire (Data Source)
Schema
Required
collection_id | Number | The ID of the Collection. |
name | String | The name of the questionnaire. |
Optional
id | String | The ID of this resource. |
Read-Only
is_available | Boolean | This flag can be used to check if data source is available or not | |||||||||||||||||||||||||||||||||||||||||||||||||||
questionnaires | List of Object | List of questionnaires | |||||||||||||||||||||||||||||||||||||||||||||||||||
Nested Schema for `questionnaires`Read-Only
|
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