Survey with no qualifications or quotas
This survey does not have any quota or qualifications.Â
(testcase id: bapit-1)
Request
POST $apihost/$basepath/surveys
($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)Â
Parameters:Â
Body:Â
{ "survey_title": "Automobile Preferences bapit-1", "survey_category_code": 231, "survey_localization": "en_US", "completes_required": 300, "offer_price": 3.25, "expected_ir": 60, "expected_loi": 10, "live_url": "https://my.survey.com?survey_id=1234", "test_url": "https://my.survey.com?survey_id=1234&test=1", "field_time": 10 }
ResultÂ
Response Code
201
Response Body
{ "survey_title": "Automobile Preferences bapit-1", "survey_category_code": 231, "completes_required": 300, "live_url": "https://my.survey.com?survey_id=1234", "test_url": "https://my.survey.com?survey_id=1234&test=1", "field_time": 10, "offer_price": 3.25, "ps_survey_status": 11, "expected_loi": 10, "expected_ir": 60, "ps_survey_id": 3366, "mod_on": 1489971961029, "crtd_on": 1489932661603, "test_ps_survey_entry_link": "http://dev.spectrumsurveys.com:3500/startsurvey?survey_id=3366&ps_redirect_test=1&bsec=a70mx8&supplier_id=23", "survey_localization": "en_US", "qualifications": [], "quotas": [] }