get_all_run_ids

The get Run IDs call will allow you to chose what data set from the same respondent you would like to retrieve.

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:

{ "reason": null, "code": 200, "data": { "survey_id": "SURVT01HDR447ZZSYCF70PJDK9RA4XA", "respondent_encoded": "encfeafe1ee6c2bbae0c34af39c88e9eec09bf25e1e", "all_run_ids": [ "run441e393357fe8624f01676c3fcf24e78b76c06c9", "runc2d336e1f6e4845406931f9d6fbdff452f4a394a" ] }, "event_type": "respondent_info", "action": "get_all_run_ids", "client_msg_id": "", "platform_status": { "status": "running", "shut_down_timestamp": 0 } }

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

simply copy the run_id and use this in the other API requests.

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…

©2020 ConceptSauce ltd / For further help please contact us directly on Team@conceptsauce.io