Creating an exclusion group
Â
Surveys 300, 301, 302, and 303 are related, and a respondent who participated in one survey cannot participate in any of the other survey.
Request
POSTÂ $apihost/$basepath/surveygroups
($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header)Â
Body:Â
{
"buyer_surveygroup_ref": "cosmetics_project_1189",
"name": "Cosmetics Project",
"surveys_in_group": [300,301,302,303],
"exclusion_period": 90
}
NOTE: The value you assign to "buyer_surveygroup_ref"
must be globally unique within our system. Consider adding "-[YOUR COMPANY NAME]"
to the end of your desired value to ensure this.
Response
Response Code
201