Versions Compared

Key

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

This API call will return a detailed basket results, both as an aggregate and detailed data. Meaning you check and verify the choices a respondent has given.

Excerpt
hiddentrue

This API call will return a detailed basket results, both as an aggregate and detailed data. Meaning you check and verify the choices a respondent has given.

Request body:

Code Block
languagejson
{
	"event_type": "survey_data_request",
	"action": "get_shop_shelf_detail_purchases",
	"data": {
		"target": {
			"survey_id": "SURV01FYE81P9SN5N66XG9YFCEVSQ9",
			"block_id": "shelf",
			"respondent_id": "preview"
		}
	}
}

...

block_id is the same as present in Admin App

relative_time as currently "duration between block start to time of purchase" 

Note

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

...