/datasets/{datasetId}/concepts (DEPRECATED)
Get a collection of
concepts
for a dataset. Use the concepts endpoint to get
information such as the order of questions and answers, question and answer
text, and the structure of complex questions such as grids.
- Batch Data Extract endpoints return a complete export of activity and profile variable data.
- Datasets V2 endpoints allows you to select specific activities or profile variables.
Resource URL
/v1/applications/{communityApiKeyName}/datasets/{datasetId}/concepts
Use the appropriate regional endpoint to ensure that you comply with your organization's privacy policy, and applicable laws and regulations. For details about the available regional endpoints, and how to identify your organization's region, see API Access.
Available methods
Method | Description |
---|---|
GET | Returns a collection of concepts. |
Parameters
Parameters can be appended to the request to further refine the results returned.
Operation | Description | Example |
---|---|---|
Refine the response by field |
To reduce the number of fields returned, specify the fields in a comma separated list. | /datasets/{datasetId}/concepts?fields=name
|
Filtering by value | By default, all the items are returned
unless you specify your criteria using the variable name and value.
You can filter the results on the values in all of the
available fields (including an array) except for:
|
/datasets/{datasetId}/concepts?q=tags.contains
("singlechoice")
|
Paging | The default is 20 items are returned at a time and the maximum is 1000. | Use the
limit and
offset query string parameters to effectively
page through the results.
|
Sorting | You can sort the results on the available
fields except for:
|
/datasets/{datasetId}/concepts?sort=orderInParent:d
|
For more information, see Content control.
Available fields
Field | Description |
---|---|
column
|
Describes the relationship for the data in
the column.
|
datasetId
|
The GUID for the dataset the concept is associated with. |
extraData
|
The string name or GUID for any value that
cannot be mapped to a column or concept.
The values in this field will depend on the concept. For a complete list of possible values see, Extra data. |
id
|
The GUID for the given activity or concept. |
links
|
Links to child concepts.
|
name
|
The string name for the given:
|
orderInParent
|
The number value for the question's position in the survey. |
parentId
|
The GUID of the activity or the question
the concept is associated to.
Note: The
parentId value for the activity is typically
null .
|
tags
|
The string name for the concept source and
its value.
|
GET response structure |
---|
The following is an example of a typical GET response structure without filtering.
|