This API call will return a detailed results of the findability shelf exercise, both as an aggregate and detailed data. Meaning you check and verify the choices a respondent has given.
New server Endpoint (note this is different to get params_id):
https://public-survey-data-api.rose.conceptsauce.io/api
Request body:
{ "event_type": "survey_data_request", "action": "get_findability_details", "data": { "target": { "survey_id": "SURVT01FZD9WM6E2VXDEM8RAKZ3N1HF", "block_id": "findability", "respondent_id": "preview" } } }
Response:
{ "reason": null, "code": 200, "data": { "survey_id": "SURVT01FZD9WM6E2VXDEM8RAKZ3N1HF", "block_id": "findability", "respondent_id": "preview", "findability_details": { "correct_product_found": true, "correct_product_found_at_attempt": 2, "exercise_duration": 8589.0, "max_attempts": 3, "target_sku": [ "a9300605002593" ], "selected_products": [ { "sku": "a9300633353315", "default_side": "front", "measure": "560g", "name": "Woolworths Select Max Charge", "price_per": "", "price": "4", "size": [ 0.232, 0.315, 0.077 ], "bay_id": "1", "zone": "Default_zone", "time": 0.0 }, { "sku": "a9300605002593", "default_side": "front", "measure": "350g", "name": "Nestle Milo", "price_per": "", "price": "4.99", "size": [ 0.188, 0.282, 0.056 ], "bay_id": "1", "zone": "Default_zone", "time": 0.0 } ] } }, "event_type": "survey_data_request", "action": "get_findability_details", "client_msg_id": "" }
respondent_id
is the one passed in the respondent App url
block_id
is the same as present in Admin App
relative_time
as currently "duration between block start to time of purchase"
Inside the target , each parameter must be set manually. The provided by survey_id
, respondent_id
and block_id
ARE ONLY EXAMPLES.
If the specified value is invalid, response for such a request will be with code: 802 (which means: No data available for specified target)
The response with 802 code may also mean: The target is alright, but no respondent bought anything yet.