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_idencoded": "previewencc7b362de53d062695b94ecc6c028bdff6bb6596a", "block_id": "con|version_1_task_2shelf" } } } |
Response:
Code Block | ||
---|---|---|
| ||
{ "code": 200, "data": { "data_complete": true, "survey_id": "SURV01FPWYJF00B84Q5AXVHF25QQ8ZSURVL01GW7A4Y5DR61ENNN3E0B60YK9", "block_id": "shelf", "con|version_1_task_2"respondent_id": "null", "respondent_encoded": "encc7b362de53d062695b94ecc6c028bdff6bb6596a", "run_id": null, "respondent_iditems_looked_at": [ { "sku": "previewa5053827111157", "itemsviews_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_idencoded
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 |
...