Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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: 

Code Block
languagejs
{
  "buyer_surveygroup_ref": "cosmetics_project_1189",
  "name": "Cosmetics Project",
  "surveys_in_group": [300,301,302,303],
  "exclusion_period": 90
}
Note

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

Response Body