New server Endpoint (note this is different to get params_id):
Code Block |
---|
https://public-survey-data-api.rose.conceptsauce.io/api |
Request body:
Code Block | ||
---|---|---|
| ||
{ "event_type": "survey_data_request", "action": "get_shop_shelf_detail_items_looked_at", "data": { "target": { "survey_id": "SURV01FPWYJF00B84Q5AXVHF25QQ8ZSURVL01GW7A4Y5DR61ENNN3E0B60YK9", "respondent_encoded": "encc7b362de53d062695b94ecc6c028bdff6bb6596a", "block_id": "shelf" } } } |
Response:
Code Block | ||
---|---|---|
| ||
{ "code": 200, "preview", "block_id": "con|version_1_task_2" } } } |
...
"data": {
"data_complete": true,
"survey_id": "SURVL01GW7A4Y5DR61ENNN3E0B60YK9",
"block_id": "shelf",
"respondent_id": "null",
"respondent_encoded": "encc7b362de53d062695b94ecc6c028bdff6bb6596a",
"run_id": null,
"items_looked_at": [
{
"sku": "a5053827111157",
"views_looked_at": [
{
"view_id": "front",
"duration_of_view": "1164.0",
"time_of_view": "26067.0"
},
{
"view_id": "front",
"duration_of_view": "810.0",
"time_of_view": "27231.0"
},
{
"view_id": "back",
"duration_of_view": "719.0",
"time_of_view": "28041.0"
},
{
"view_id": "front",
"duration_of_view": "889.0",
"time_of_view": "29626.0"
},
{
"view_id": "back",
"duration_of_view": "616.0",
"time_of_view": "30515.0"
},
{
"view_id": "front",
"duration_of_view": "851.0",
"time_of_view": "31131.0"
},
{
"view_id": "back",
"duration_of_view": "543.0",
"time_of_view": "31982.0"
}
]
}
]
},
"event_type": "survey_data_request",
"action": "get_shop_shelf_detail_items_looked_at",
"client_msg_id": "",
"platform_status": {
"status": "running",
"shut_down_timestamp": 0
} |
respondent_encoded
is the one passed in the respondent App url as respondent_id
and is retrieved using the Get Respondent Encoded ID step.
block_id
is the same as present in Admin App
Note |
---|
Inside the target , each parameter must be set manually. The provided by |
...