Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Resource:  /surveys


POST  Creates a new survey on the PureSpectrum platform

Request object:

ParameterData TypeRequiredHas ChildrenDescriptionExample
survey_titlestringX
The name of the survey."survey_title": "Test survey name - US",
survey_category_codeintegerX
The PureSpectrum category the survey belongs to.   More information about survey category codes can be found here:  Survey Category Codes"survey_category_code": 231,
survey_localizationstringX
The country and language in which the survey is to be fielded.  Must be a valid PureSpectrum localization code."survey_localization": "en_US",
completes_requiredintegerX
The number of completes the survey needs to record via the PureSpectrum platform."completes_required": 300,
incl_exclinteger

Sets whether or not the survey includes a PSID reference list.  0 - false, 1 - true.  Default value: 0."incl_excl":0,
click_balancinginteger

Sets whether or not the survey be tracked by clicks or completes.  Clicks are calculated as completes/incidence rate."click_balancing": 0,
expected_irintegerX
Sets the expected Incidence Rate in percentages."expected_ir": 10,
expected_loiintegerX
Sets the expected Length of Interview in minutes."expected_loi": 10,
live_urlstringX
Live survey entry URL."live_url": "http://b_emulator.purespectrum.net:3000/emulated_surveys",
test_urlstring

Test survey entry URL."test_url": "http://b_emulator.purespectrum.net:3000/emulated_surveys",
field_timeintegerX
Number of days the survey is be in filed."field_time": 10,
buyer_messagestring

Additional instructions for Suppliers.  "buyer_message":"lorem ipsum",
qualificationsarray

Array of qualifications and condition codes for the survey.See below
quotasarray



Example of Survey without qualifications or quotas

Request object, quotas and qualifications:

ParameterData TypeRequiredParentHas childrenDescription
qualification_codeintegerXqualifications
The PureSpectrum code for the required qualifications.  PureSpectrum Qualification Codes can be found here:  Qualification & Condition Codes"qualification_code": 211,
condition_codesarray
qualifications
Array of Conditions codes required for a Qualification.  More information:  Qualification & Condition Codes"condition_codes": [ "111", "112" ]
range_setsarray
qualificationsYDefines the criteria by which range qualifications are defined.  See example for child options."range_sets": [{ "from": 18,"to": 99,"units": 311}]
buyer_quota_idstringXquotas
Buyer's unique ID for the respective qualification quota. "buyer_quota_id": "m18-24",
required_countintegerXquotas
The number of completes required for respective quota."required_count": 100,
criteriaarray
quotasYThe criteria to be met for the associated quota_id

"criteria": [{

  "qualification_code": 211,

  "condition_codes": ["112"]

}]

Example of Survey with Age, Income, Gender Qualifications and Quotas
 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.