View the string value for an answer ID
Use the
/records
endpoint to get an answer ID. To see the value,
cross reference the answer ID with the
extraData
field in the question concept.
Response values appear as answer IDs in a record.
- The values are GUIDs for Community surveys.
- The values are integers for Community power surveys.
To vew the answer values:
1. Get the records in the dataset
URL structure |
---|
https://api.{region}.alida.com/v1/applications/{communityApiKeyName}/datasets/{datasetId}/records |
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.
2. Select an answer value in the response
Copy the answer ID in the
value
field for the given column (question).
Response structure |
---|
|
3. Get the concepts in the dataset
URL structure |
---|
https://api.{region}.alida.com/v1/applications/{communityApiKeyName}/datasets/{datasetId}/concepts |
4. Search for the answer ID in the concepts response
The answer value is contained in the
text
field.
Response structure |
---|
|