Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This API call will give you the shopping summary for each respondent. If you look in the basket_summary you will see data relating to this respondent. sku_list is a list of all the unique SUKs in the basket.

New server Endpoint (note this is different to get params_id):

https://public-survey-data-api.rose.conceptsauce.io/api

Request body:

{
	"event_type": "respondent_info",
	"action": "get_all_run_ids",
	"data": {
		"survey_id": "SURVT01HDR447ZZSYCF70PJDK9RA4XA",
		"respondent_encoded": "encfeafe1ee6c2bbae0c34af39c88e9eec09bf25e1e"
	}
}

Response:

...

respondent_encoded is the one passed in via the respondent App url as respondent_id

block_id is the same as present in Admin App

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

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.

Other requests will be documented later…

  • No labels