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.
...
Code Block |
---|
POST /buyers/v1/attributes/ { "Buyer_Attribute_ID" : "ABC123", "Desc" : "Pet Food Preferences", "Category" : "Pets", "Type":1, "localizations":[ { "localization" : "en_us", "Q_text": "Do you purchase dry or wet Dog Food?" "answers":[ { "Buyerbuyer_Answer_ID" : "DEF456", "Answer_Text" : "Dry Food" }, { "Buyerbuyer_Answer_ID" : "DEF457", "Answer_Text" : "WetFood" }.... ] } } |
Example 2 : The attribute API Response
Code Block |
---|
GET /buyers/v1/attributes/ { "Q_ID" : 1110 "Buyer_Attribute_ID" : "ABC123", "Desc" : "Pet Food Preferences", "Category" : "Pets", "Type":1, "localizations":[ { "localization" : "en_us", "Q_text": "Do you purchase dry or wet Dog Food?" "answers":[ { " buyer_Answer_ID" : "DEF456", "PS_C_ID" : 111 }, { " buyer_Answer_ID" : "DEF456", " PS_C_ID" : 111 } ] } ] } |
...