Versions Compared

Key

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

...

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"
		}
	}
}

Response:

Code Block
languagejson
{
	"code": 200,
	"data": {
		"survey_id": "SURV01FPWYJF00B84Q5AXVHF25QQ8Z",
		"block_id": "con|version_1_task_2",
		"respondent_id": "preview",
		"items_looked_at": []
	},
	"event_type": "survey_data_request",
	"action": "get_shop_shelf_detail_items_looked_at",
	"client_msg_id": ""
}

respondent_id is the one passed in the respondent App url

...