/
Get survey ID from Param ID

Get survey ID from Param ID

Before we begin, we need to get the Survey id from the Param id, alternatively you can skip this call if you are going to use the survey_fixed_url method.

First we send this object to the server end points:

https://better-params-api.rose.conceptsauce.io/api

We place the param_id in this object, we get the param_id from the published URL:

{ "event_type": "params_crud", "action": "get_params", "data": { "params_id": "PRMS01G027YJBWQ4RE9RMBNJJ73YJ1" } }

The response will give you the survey_id, this is then used in the API calls:

{ "code": 200, "data": { "params": { "survey_id": "SURVT01G027YJ46E7575APG7X1J8XPV", "state": "test", "survey_type": "test", "respondent_token": "RESP01G027YJA08A0X7QRAN4B8NXCW" } }, "event_type": "params_crud", "action": "get_params", "client_msg_id": "" }

 

Related content

Decipher API Integration guide
Decipher API Integration guide
More like this
get_shop_shelf_summary_purchases
get_shop_shelf_summary_purchases
Read with this
First - Get survey ID from Param ID
First - Get survey ID from Param ID
More like this
get_shop_shelf_details_purchases
get_shop_shelf_details_purchases
Read with this
Virtual Shelf
Virtual Shelf
More like this
API testing with Insomnia
API testing with Insomnia
Read with this

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