Versions Compared

Key

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

Get Surveys - POST /attributes - http://api.spectrumsurveys.com/buyers/v1/attributes

...

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.

...

Parameter

Type

Description

Nullable

text

string

The text of the question asked to the respondent


descstringA description of the question that is asked of the respondent
catstringCategory name of the question that is asked of the respondent

type

integer

1=singlepunch (only one selection is allowed, presented in dropdown form)

2=singlepunch-alt (only one selection is allowed - presented in push button form)

3=multipunch (multiple selections are allowed, presented in push button form)

4=range (not currently supported)


localizationsenum

Contains the question text and their respective answer text and ID's


localizationstringLists what the type of language code the answer needs to be in...
respIDstringThis needs to be included in the text and acts as a container for answers block
answersarrayIts acts a container for range of "buyer_answer_id's" and corresponding "answer_text's"
buyer_answer_idstringIt is the "answer_id" to the question raised by buyer
answer_teststringIt is the "answer_text" to the question raised by buyer
condition_codesarray

Contains the condition codes and condition code texts


...