Get Surveys - GET /attributes - http://api.spectrumsurveys.com/suppliers/v2/attributes/:qualification_code?localization=:localization
...
Call this API to view the respondent's question text, condition codes, and condition code texts for unfamiliar qualification codes/condition codes. Survey_localization is a required Query String parameter.
...
- Qualifications are shared across surveyLocalizations on PureSpectrum. For example, we use the same code for b2b employment in the US/English, that we use in Japanese Japan.
- Condition codes when appropriate are also shared across localizations
- Even though the codes may be the same, we represent these questions/answers using the appropriate language/localization
- We only currently support 3 question types in this api call: Singlepunch, Singlepunch-alt, & Multipunch
- singlepunch is presented as a dropdown. Singlepunch-alt and Multipunch are shown in push-button form
HEADER Parameters
Parameter | Type | Required | Description |
---|---|---|---|
access-token | string | Yes | Token used to identify the authenticity of the user. |
...
Code Block |
---|
GET /suppliers/v2/attributes/1031?survey_localization=en_US { "text":"Which of the following pets do you own?", "cat":"Pets", "desc":"Pet Ownership", "type":3, "class":2, "condition_codesscodes":[ {"id":"111","text":"Dog"}, {"id":"112","text":"Cat"}, {"id":"113","text":"Rabbit"}, {"id":"114","text":"Snake/Lizard"}, {"id":"115","text":"Fish"}, {"id":"116","text":"Small Birds"}, {"id":"117","text":"Large Birds"}, {"id":"118","text":"Horse/Equine"}, {"id":"119","text":"Ferrets"}, {"id":"120","text":"Hamster or other Rodent"}, {"id":"121","text":"Turtle"}, {"id":"122","text":"Exotic Pets"}, {"id":"999","text":"None of the Above"} ], "crtd_on": 1487871678958, "mod_on": 1487871678958 } |
...