Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Request body:

Code Block
languagejson
{
	"event_type": "survey_data_request",
	"action": "get_shop_shelf_detail_items_looked_at",
	"data": {
		"target": {
			"survey_id": "SURV01FPWYJF00B84Q5AXVHF25QQ8Z",
			"respondent_id": "preview",
			"block_id": "con|version_1_task_2"
		}
	}
}

respondent_id is the one passed in the respondent App url

block_id is the same as present in Admin App

Note

Inside the target , each parameter must be set manually. The provided by survey_id, respondent_id and block_id ARE ONLY EXAMPLES.

Info

If the specified value is invalid, response for such a request will be with code: 802 (which means: No data available for specified target)

Info

The response with 802 code may also mean: The target is alright, but no respondent bought anything yet.