...
Before we begin, we need to get the Survey id from the Param id. Or one can replace survey_id
with survey_fixed_url
. i.e.
Code Block |
---|
"survey_fixed_url": "https://live-survey-fixedurl.rose.conceptsauce.io/BITL01JK7TV1KYRH5MACMSXHR1JXQ3", |
Thus you can skip this step if using the survey_fixed_url
method.
First we send this object to the server end point:
Code Block |
---|
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:
Code Block |
---|
{
"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 Block |
---|
{
"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": ""
} |
In the response above, we copy the survey_id
and then use this in all the requests for all the other API calls below.
Child pages (Children Display) | ||
---|---|---|
|