Get Source Information, like ID, Name, Questions and Prompts.
GET Request Explanation:
In this GET there are multiple parameters we are sending. Below is a table with the explanation for each of them:
Parameter | Description |
|---|---|
api_key | This key you can find it inside your admin FeelBack console. It's needed to get access to your account API. |
token | Please always use the same value PUP5S9L6RL5QSYZ67Q8ZJQXY5AHEXJ3V. |
type | In this API, always use CUSTOM; it means it’s a custom implementation for developers. |
source_hash | Send a unique hash for your source. It needs to be auto-generated by the developer. |
question_hash | Send the question hash ID to get the question information after created. This information can be found in the request response. |
After sending the parameters, we can find some variables and values on the request response. Below you will find the descriptions for each one:
Request Response:
After getting the response, you will receive information on the source you request. Below we will explain some of the variables and values:
Variables | Values |
|---|---|
|
|
code | The request code. Can be 200 for success or 400 any type of errors. |
data:
Will give the source information with question information if requested.
Variable | Value |
|---|---|
source_hash | ID for the source requested. |
source_name | Name for the source requested. |
last_report | Last date the source reported feels or any action. |
question_info:
Where you will find all question information with the prompts if configured.
Variable | Value |
|---|---|
hash | The hash ID for the question used to send on the feel provisioning. |
identifiers | Is the tag name given to this question. Use for filtering in reports and more. |
question_text | Is the text for the question. |
prompt | Flag to know if the question has reasons. |
status | Flag to know the status. |
prompt_detail:
Where you will find all prompts related to the question you requested.
Variable | Value |
|---|---|
hash | The hash ID for the prompt used to send on the feel provisioning. |
reason | Test related to the prompt. |
