GET Codebooks/Question/{QuestionKey}?tree={tree}
Get the Codebook for a Question
Each Question has exactly one Codebook, which may be shared across multiple Questions.
A Codebook is tree-structured, where the leaf nodes are Codes and non-leaf nodes are Nets. Only Codes may be used to code a Response.
This resource can return the Codes in the Codebook as a flattened list containing only the Codes, or as a tree with the full structure of the Codebook.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
QuestionKey |
The Question key, which must be an integer value. |
integer |
Required |
tree |
Optional query parameter. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Get the Codebook for a Question
Each Question has exactly one Codebook, which may be shared across multiple Questions.
A Codebook is tree-structured, where the leaf nodes are Codes and non-leaf nodes are Nets. Only Codes may be used to code a Response.
This resource can return the Codes in the Codebook as a flattened list containing only the Codes, or as a tree with the full structure of the Codebook.
Name | Description | Type | Additional information |
---|---|---|---|
codebookKey |
The key of the Codebook. |
integer |
Required |
codebook |
The Codes in the Codebook, in the order they appear in the Codebook. |
Collection of CodeOrNet |
Required |
errors |
If null the request was processed without error. If not null errors occurred while processing the request. The array contains the error messages. |
Collection of string |
None. |